Open danleecreates opened 6 years ago
Maybe set a default location with zoom & minZoom setting?
For example:
`$('#map-container').storeLocator({ 'defaultLat' : '53.204961', 'defaultLng' : '-3.481881', 'defaultLoc' : true,
'mapSettings': { zoom: 6, mapTypeId: google.maps.MapTypeId.ROADMAP, minZoom: 3, } }); `
Noting that the map can look like this if an invalid latitude or longitude value is used. I'll be looking into validating coordinates in the plugin but it's essentially a data problem.
I noticed that fullMapStart renders at maximum zoom out on page load. Is there somthing that I need to do to remedy this or is this a bug? See code configuration below...
$(function() { $('#bh-sl-map-container').storeLocator({ 'dataLocation' : 'data/data.json', 'slideMap' : false, 'fullMapStart' : true, 'distanceAlert' : -1, 'taxonomyFilters' : { 'Targeted_Market' : 'Markets-filters-container1', 'Country' : 'country-filter', } }); });