Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload #282

Open
seritpt opened this issue Jun 23, 2022 · 1 comment
Open

Reload #282

seritpt opened this issue Jun 23, 2022 · 1 comment

Comments

@seritpt
Copy link

seritpt commented Jun 23, 2022

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
Copy link

Hello
Have some updates about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants