NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×710
×689
×362
×179

question asked: 30 Jun '22, 09:17

question was seen: 940 times

last updated: 02 Jul '22, 03:22

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum