forked from Snck3rs/contao-leaflet-maps
Refactor overpass support using own implementation of overpass layer.
This commit is contained in:
@@ -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