Use OptionsBuilder in all mapper classes.

This commit is contained in:
David Molineus committed 2015-01-22 09:02:14 +01:00
1 parent b96cd80669
commit 52440c35dd
15 files changed
+14 -99

No files matched your search

@@ -45,7 +45,7 @@ class MapMapper extends AbstractMapper
*/
protected function initialize()
{
$this
$this->optionsBuilder
->addOptions('center', 'zoom', 'zoomControl')
->addOptions('dragging', 'touchZoom', 'scrollWheelZoom', 'doubleClickZoom', 'boxZoom', 'tap', 'keyboard')
->addOptions('trackResize', 'closeOnClick', 'bounceAtZoomLimits')