Viewing 5 replies - 1 through 5 (of 5 total)
  • I am also having this problem.

    I want to List all location But not need a Start location.
    Any one know?

    Thnks

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Open the /js/wpsl-gmap.js file and search for this.

    markerPath = wpslSettings.path + "img/markers/" + wpslSettings.startMarker;

    Replace it with this

    return;

    If you have set the directions to show in the store locator itself, then that won’t work anymore since it requires the start marker. You can fix this by going to the settings page, and make the directions show on maps.google.com instead.

    Thread Starter Boris Otasevic

    (@boriso)

    Thanks Tijmen. It worked fine.

    Is this code still valid? I’ve updated this file and still have the starting marker display. Thank you!

    Nicholas

    Plugin Author Tijmen Smit

    (@tijmensmit)

    The wpsl-gmap.min.js is used now, so you will have to minify the wpsl-gmap.js code and place it in the wpsl-gmap.min.js before it works.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘How to hide start location marker?’ is closed to new replies.