bjorn2404 / jQuery-Store-Locator-Plugin

A store locator plugin using Google Maps API version 3
MIT License
495 stars 235 forks source link

Category filtering with JSON data: markers duplicate when Reset is selected and then selected again. #293

Closed VinodSoftcripts closed 1 year ago

VinodSoftcripts commented 1 year ago

Hello,

Demo: http://54.156.167.50/demo/index.html

Steps to reproduce:

Select "Water Island" in the Islands dropdown, and you will see 5 locations on the map. Click the reset button and wait for the map to reload. Then select "Water Island" again, and you will see duplicated locations for each marker.

Any help would be appreciated.

Thanks.

bjorn2404 commented 1 year ago

Thanks, yeah I'm able to replicate this and it looks like a bug. Will be looking into it more.

bjorn2404 commented 1 year ago

@VinodSoftcripts There's a fix pushed to the development branch https://github.com/bjorn2404/jQuery-Store-Locator-Plugin/tree/development

I may add one or two additional items before the next release but the above should cover it until then.

VinodSoftcripts commented 1 year ago

@bjorn2404

Thank you for sharing the link to the fix on the development branch. I appreciate your prompt response and assistance. This fix will be really helpful for us until the next release.

bjorn2404 commented 1 year ago

Issue fixed in release 3.1.11. Thanks for reporting!