mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Refactor overpass support using own implementation of overpass layer.
This commit is contained in:
1 parent
130848c1f3
commit
c61e2d9cc9
7 files changed
+447
-37
No files matched your search
@@ -280,7 +280,11 @@ $GLOBALS['LEAFLET_LAYERS'] = array
|
||||
}
|
||||
|
||||
return $label;
|
||||
}
|
||||
},
|
||||
'boundsMode' => array(
|
||||
'extend' => true,
|
||||
'fit' => true,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
@@ -219,13 +219,11 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
|
||||
'overpassQuery',
|
||||
'overpassEndpoint',
|
||||
'minZoom',
|
||||
'overpassCallback',
|
||||
'boundsMode'
|
||||
),
|
||||
'+expert' => array(
|
||||
'minZoomIndicatorPosition',
|
||||
'debug',
|
||||
'minZoomIndicatorMessage',
|
||||
'minZoomIndicatorMessageNoLayer',
|
||||
'onEachFeature',
|
||||
'pointToLayer',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user