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

#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:

  1. the browser asks whether I want to be located.
  2. If I agree:
    1. the map is shown centered at the current location and the zoom level is as chosen at “Zoom Level”.
    2. The markers inside the chosen ‘ Radii Options’ are shown.
  3. If I do not agree or my browser is not able to locate me:
    1. 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”:

  1. the map is shown centered at the current location and the zoom level is as chosen at “Zoom Level”.
  2. my users have to press “Find locations” to see the markers.

If both, “use location sensor” and “Show Locations At Startup” , are ticked:

  1. the map appears centered at the current location but No Markers are shown.
  2. 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”