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

How Can i Draw Route between Two Places or two lat-long using open layer in Openstreetmap.

asked 17 Aug '16, 08:49

Jatin%20Patel's gravatar image

Jatin Patel
11557
accept rate: 0%

Please clarify. What kind of route do you want? Do you want (a) the user to manually draw a route on the map? (b) the developer of the application/web site to draw a particular route on the map? (c) the user of the web site to determine a start and destination and then a routing engine find the roads to travel to get from A to B?

(17 Aug '16, 08:54) Frederik Ramm ♦

(c) the user of the web site to determine a start and destination and then a routing engine find the roads to travel to get from A to B

(17 Aug '16, 10:47) Jatin Patel

You can use OSRM as a back-end routing engine. If OSRM doesn't fit your needs (although seems as though it does) you can check out other routing engines on the Wiki page.

permanent link

answered 17 Aug '16, 13:00

JamesGould's gravatar image

JamesGould
19691020
accept rate: 33%

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:

×179
×1

question asked: 17 Aug '16, 08:49

question was seen: 7,997 times

last updated: 02 Dec '19, 16:23

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