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

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -