• Hey Tijmen,

    I have another feature I’ve implemented and was hoping you could include it in the next update (sorry for posting here but I’m not familiar with svn and wp plugin version control yet and currently don’t have the time to get into it).

    We had a client request that the map is zoomed in further initially so it does not display a large cluster of locations (we tried explaining this is by design to ensure locations are shown but they insisted). So I added an “After zoom level” which adds to the zoom level once all locations are visible.

    Here’s a diff report (didn’t bother including wpsl-gmap.min.js):

    https://promediaonline.com/wp-content/uploads/2017/06/WP-Store%20Locator-After-Zoom-Diff-Report.html
    https://promediaonline.com/wp-content/uploads/2017/06/WP-Store%20Locator-After-Zoom-Diff-Report.png

    Added an “After zoom level” field to the Map settings and using this value to add to the current zoom after the bounds_changed event.

    Maybe others will find this feature useful as well. I hope you can add it and please refactor as you see fit… I couldn’t come up with a good name for it :).

    Thanks,
    Brian

  • The topic ‘Additional/Override/After Zoom Level for Large Cluster of Locations’ is closed to new replies.