Browsing index pages (4 articles)
↧
Leaflet routing control change marker icon
I am looking for a way to show different markers for the two waypoint that are initialized by leaflet.routing.control.This is what i tried:var controlWalk = L.Routing.control({ lineOptions: { styles: [...
View ArticleAnswer by The G of GIS for Leaflet routing control change marker icon
The openPopup should make it to where the popup comes up right away, and you don't have to click on the marker at all.These quotes below explain how this type of popup should function.Popups are...
View ArticleAnswer by Senshi for Leaflet routing control change marker icon
The issue is that the createMarker function is called for every waypoint, so obviously the resulting markers will look the same.To work around it, you simply use the arguments that you already have....
View ArticleAnswer by Alejandro Salamanca Mazuelo for Leaflet routing control change...
To delete all icons.createMarker: function() { return null; },From Bhavesh Chauhan at https://stackoverflow.com/a/41301216/1413235.
View Article
Browsing index pages (4 articles)