javascript - Is there a way to remove the Marker from Routes in Leaflet-Routing-Machine? -
i using leaflet-routing-machne creating route between 2 existing markers, when 1 clicks them. problem is, adds marker star/end points.
however want adding no markers. there way that?
probably looking this:
l.routing.control({ createmarker: function() { return null; } });
reference: https://github.com/perliedman/leaflet-routing-machine/issues/104
Comments
Post a Comment