Open seritpt opened 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');
Hello Have some updates about this?
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');