This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Draw route with stoppage point and Time

0

I have multiple points to draw route on map, route successfully draw on map with below code

 var polyline = L.polyline(latlngs, { color: 'red' }).addTo(lrmap);
 lrmap.fitBounds(polyline.getBounds());

after zooming map , plotted route line change there position , second i want to place marker on stoppage route with my data field (speed).if speed is 0 than plot markers on that points.

alt text

after Zooming

alt text

required result alt text

asked 30 Jun '22, 09:17

Atif_87's gravatar image

Atif_87
11224
accept rate: 0%

edited 30 Jun '22, 09:22

If you list what software or framework you are using it might make your question more visible to people who might be able to help.

(01 Jul '22, 23:53) InsertUser

Code already mentioned above, using asp.net,jquery, sql server

(02 Jul '22, 03:22) Atif_87

Source code available on GitHub .