jQuery-Store-Locator-Plugin icon indicating copy to clipboard operation
jQuery-Store-Locator-Plugin copied to clipboard

Zoom issue after filtering by category and with some other settings

Open bjorn2404 opened this issue 3 years ago • 3 comments
trafficstars

A change in the Google Maps Javascript API with fitBounds on 3/24/22 has created problems in the plugin with zooming with certain settings enabled such as taxonomyFilters. Currently investigating whether this is a bug with the plugin or with the API itself.

As a temporary workaround you can specify the previous version when loading the API, such as:

<script src="https://maps.google.com/maps/api/js?v=3.47"></script>

bjorn2404 avatar Mar 27 '22 03:03 bjorn2404

Using fullMapStart: true, storeLimit: -1, The map looks good on initial load then I get a zoomed out maps when I apply a filter. If Im not displaying all 700 locations it doesnt have this issue.

thinkingcap avatar Aug 11 '22 06:08 thinkingcap

When I apply the filter it looks the same as #237

thinkingcap avatar Aug 11 '22 07:08 thinkingcap

Update: This was due to invalid lat|long co-ordinates in my location data, once corrected it zoomed as expected.

thinkingcap avatar Sep 05 '22 02:09 thinkingcap