Store Locator Plus® for WordPress › Forums › Store Locator Plus › Center Search at Current Location on Load › Reply To: Center Search at Current Location on Load
June 9, 2016 at 6:06 AM
#41506
Francisco Carlos
Participant
Hi Cici,
Is there a way to have working at the same time “use location sensor (Pro Pack)” and “Show Locations At Startup” ?
I expected to work as follows:
- the browser asks whether I want to be located.
- If I agree:
- the map is shown centered at the current location and the zoom level is as chosen at “Zoom Level”.
- The markers inside the chosen ‘ Radii Options’ are shown.
- If I do not agree or my browser is not able to locate me:
- the map is zoom out to accommodate all the markers found following the options “Number To Show Initially” & “Radius To Search Initially”
What I get is:
If I only use “use location sensor”:
- the map is shown centered at the current location and the zoom level is as chosen at “Zoom Level”.
- my users have to press “Find locations” to see the markers.
If both, “use location sensor” and “Show Locations At Startup” , are ticked:
- the map appears centered at the current location but No Markers are shown.
- after a couple of seconds the map is ‘zoom-out’ to accommodate all the markers found following the options “Number To Show Initially” & “Radius To Search Initially”