Refactor overpass support using own implementation of overpass layer.

This commit is contained in:
David Molineus
2016-11-14 11:00:10 +01:00
parent 130848c1f3
commit c61e2d9cc9
7 changed files with 447 additions and 37 deletions

View File

@@ -280,7 +280,11 @@ $GLOBALS['LEAFLET_LAYERS'] = array
}
return $label;
}
},
'boundsMode' => array(
'extend' => true,
'fit' => true,
),
),
);

View File

@@ -219,13 +219,11 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
'overpassQuery',
'overpassEndpoint',
'minZoom',
'overpassCallback',
'boundsMode'
),
'+expert' => array(
'minZoomIndicatorPosition',
'debug',
'minZoomIndicatorMessage',
'minZoomIndicatorMessageNoLayer',
'onEachFeature',
'pointToLayer',
),
),
),