File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1529,7 +1529,6 @@ export var MapMLLayer = L.Layer.extend({
15291529 layer . _mapmlTileContainer . appendChild ( tiles ) ;
15301530 layer . _staticTileLayer = M . staticTileLayer ( {
15311531 pane : layer . _container ,
1532- _leafletLayer : layer ,
15331532 projection : layer . _properties . projection ,
15341533 className : 'mapml-static-tile-layer' ,
15351534 tileContainer : layer . _mapmlTileContainer ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export var StaticTileLayer = L.GridLayer.extend({
55 options . maxZoomBound
66 ) ;
77 L . extend ( options , this . zoomBounds ) ;
8+ L . extend ( options , { _leafletLayer : this } ) ;
89 L . setOptions ( this , options ) ;
910 this . _groups = this . _groupTiles (
1011 this . options . tileContainer . getElementsByTagName ( 'map-tile' )
You can’t perform that action at this time.
0 commit comments