a couple of todos
This commit is contained in:
parent
3d008eb8f5
commit
9762be03de
@ -19,6 +19,7 @@ L.Popup = L.Class.extend({
|
||||
this._initLayout();
|
||||
this._container.style.opacity = '0';
|
||||
}
|
||||
//TODO accept DOM nodes along with HTML strings
|
||||
this._contentNode.innerHTML = this._content;
|
||||
|
||||
map._panes.popupPane.appendChild(this._container);
|
||||
|
@ -1,6 +1,7 @@
|
||||
|
||||
L.Map.include({
|
||||
openPopup: function(latlng, content, offset) {
|
||||
//TODO ability to pass popup options
|
||||
if (!this._popup) {
|
||||
this._popup = new L.Popup();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user