I have some nodes; I need to build a route using the location assigned to them, and I want to draw it on a map. How can I do that?

  • 2
    You will need to describe the problem a little more. For example, do you need the route to be on roads? In this case a straight line will not work. – Adam S Apr 23 '11 at 6:06
  • I believe this is a question for the OpenLayers community. When I talked to them in the past they were very helpful. – MikeNGarrett Apr 25 '11 at 4:52
  • Any update from the question author on this? – mtro Jan 12 '12 at 1:22

OSM Route looks like it will do exactly what you need.


What you can do easily is to add KML or Geojson layer with one predefined route. This can be requested from YOURS API. Anything more required more or less development.

Sample KML request: http://www.yournavigation.org/api/1.0/gosmore.php?format=kml&flat=52.215676&flon=5.963946&tlat=52.2573&tlon=6.1799&v=motorcar&fast=1&layer=mapnik

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.