bjorn2404 / jQuery-Store-Locator-Plugin

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

Reload #282

Open seritpt opened 2 years ago

seritpt commented 2 years ago

How to reload with different dataLocation?

//$('#bh-sl-map-container').storeLocator('destroy'); //$('#bh-sl-map-container').storeLocator('mapReload'); //$('#bh-sl-map-container').storeLocator('reset'); $('#bh-sl-map-container').storeLocator('updateSku',{ //pagination: true, slideMap : false, altDistanceNoResult: true, autoComplete: true, bounceMarker: true, fullMapStart: true, dataType: 'json', lengthUnit: 'km', distanceAlert: 100, openNearest:true, loading: true, autoGeocode: true, mapSettings:{ zoom: 10, scrollwheel:true }, dataLocation: 'lib/contractsMap.php?services='+services }); $('#bh-sl-map-container').storeLocator('mapReload');

devrubensilva commented 1 year ago

Hello Have some updates about this?