Store Locator
$3
$3
// set custom settings
//// some settings here are optional as there will be fallbacks if not supplied
const settings = {
venueListUrl: 'https://assets.playground.xyz/zheng/c37c88c6_dine_store_locator.json', // mandatory
container: $('#storeLocator'), // mandatory
ipDataApiKey: 'ede8bee45b3877101765285019c64dd7d3fcc23def77dbe0a0a36202', // optional
useUserLocation: true, // optional
defaultLocation: 'Sydney', // optional
annotationLogo: 'https://assets.playground.xyz/zheng/tcxqskncs1c.png', // optional & validatable, if false fallback to default
pinGlyphIcon: 'https://assets.playground.xyz/zheng/tcxqskncs1c.png', // optional & validatable, if false fallback to default
pinBackgroundColor: 'red', // optional & validatable, if false fallback to default blue
}
// initiating the map
storeMapInit(settings)
$3
{version} can be the release version on GitHub or simply use @latest to grab the latest release on GitHub
$3
storeLocator.storeMapInit(settings);