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

Store locator on bootstrap

Open mmtzyx opened this issue 8 years ago • 2 comments
trafficstars

hi bjorn,

i'm mamat from indonesia. i'm using you're storelocator but found some issue. as shown on pic below, first time loading page everything seems normal, but when I click other menu, item in loc-list duplicate, when i'm move again to other menu then back again, items is triple. my app menu is based on ajax, so when I refreshed the page, everything back to normal, but I don't want to refresh every time if I want to loading storelocator. storelocator on bootstrap

here is video version https://www.dropbox.com/s/cqqvb3e24hf38t0/storelocator%20on%20bootstrap.mp4?dl=0

here is the live version, http://daengs.com/mdbgi/admin/index.php user operator username : abc password : abc

please help did I miss something? kindly need your help.

mmtzyx avatar Jul 09 '17 13:07 mmtzyx

I'm also getting the same issue when creating the map in a Bootstrap Modal and I reopen the modal. I used the "debug" option and it seems like the visibleMarkersList object array is increasing each time. (e.g. the first time I open the map this array is 2, the second time it's 4, third time is 6, etc.)

I've noticed if I call the .storeLocator('destroy') method it resets the map correctly to the right number of items however.

Discartyptics avatar Aug 10 '17 14:08 Discartyptics

Hi, my sollution is to "refresh" the div. I have made a button an use script to trigger the refresh. Clipboard01

harrybigfoot avatar Oct 11 '20 11:10 harrybigfoot