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

    (@tijmensmit)

    If you open the /js/wpsl-gmap.js file and search for ‘function addMarker’.

    Then look for this.

    if ( storeId === 0 ) {
        markerPath = wpslSettings.path + "img/markers/" + wpslSettings.startMarker;
    } else {
        markerPath = wpslSettings.path + "img/markers/" + wpslSettings.storeMarker;
    }

    And replace it with this ( untested ).

    if ( storeId === 0 ) {
        return;
    } else {
        markerPath = wpslSettings.path + "img/markers/" + wpslSettings.storeMarker;
    }

    You will be able to do this through an option on the settings page in the 2.0 version.

    Thread Starter MatthijsdeGraaf

    (@matthijsdegraaf)

    Thanks a lot! That works.

    It does give an error with the route button, however I will hide those using CSS. Looking forward to v 2.0!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide start location’ is closed to new replies.