[Plugin: Google maps] GMap2 initialization setUIToDefault resets settings
-
Hello,
I just started using your plugin… Thanks for your work, it really saved a lot of my time.
I’d like to point out a little bug in your code, during GMap2 object’s initialization:map_'.$count.'.enableDoubleClickZoom(); map_'.$count.'.enableContinuousZoom(); ... map_'.$count.'.setUIToDefault();
The last line resets all your map’s settings, thus invalidating the lines above it. To solve this you only need to move that line right before any configuration method (before enableDoubleClickZoom() in this example)…
Hope this helps
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Google maps] GMap2 initialization setUIToDefault resets settings’ is closed to new replies.