• Hello,

    First of all congratulations for this plugin, really well done ??

    I have just a little problem: right now the markers are displayed only when a user make a search on a specific location.

    How can I display already all the markers on the map the moment the page is loaded?

    I have only 12 stores to add so far so a search is not really needed.

    Thank you and have a great day,

    Guido

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    If you enable the ‘Load locations on page load:’ then it should show all when the page is loaded. Do make sure the value for the ‘Number of locations to show:’ field is left empty.

    You can also categorize the current locations and make them show without a search like this

    [wpsl_map category="your-category-name"]

    Thread Starter qwer08

    (@qwer08)

    Hi Tijmen,

    Thanks for you help.

    It looks like the problem is when I have auto_locate=”true”. In this case an automatic search based on user location starts and since I have very few stores, most of the times there will be no results to show.

    If I set auto_locate=”false” all the markers correctly appear but there is also the user marker appearing in a wrong location of course: https://prnt.sc/t0m60y

    Not sure if the first case is the intended behaviour of the plugin. Maybe it would be possible only not displaying the user marker?

    Thanks again and have a great day,

    Guido

    Plugin Author Tijmen Smit

    (@tijmensmit)

    If I set auto_locate=”false” all the markers correctly appear but there is also the user marker appearing in a wrong location of course: https://prnt.sc/t0m60y

    The location of the red marker matches with the value from the WPSL settings page ( start point field ) ? There is no start_location included in the shortcode?

    • This reply was modified 4 years, 9 months ago by Tijmen Smit.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying all markers’ is closed to new replies.