Multiple Start Markers
-
Hello,
I’ve noticed an issue where multiple start markers appear if a user first drags the start marker and then uses the get location button.I’ve had a look in the wpsl-gmap.js and tested out adding deleteStartMarker() to the click function at line 761 like so:
// Bind the direction button to trigger a new geolocation request. $( ".wpsl-icon-direction" ).on( "click", function() { $( this ).addClass( "wpsl-user-activated" ); deleteStartMarker(); checkGeolocation( settings.startLatLng, infoWindow ); });
I was wondering if this is a known issue or something I have created somehow? (I’ve removed all custom code and tested and seem to get the same result)
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Multiple Start Markers’ is closed to new replies.