I am new to osm. is it possible to embedd it on my web to create a routing facility that will provide directions?

asked 10 Nov '15, 09:02

triumph%20tatenda's gravatar image

triumph tatenda
11112
accept rate: 0%

edited 10 Nov '15, 19:17

aseerel4c26's gravatar image

aseerel4c26 ♦
31.9k16237548

very much related: is-there-an-osm-routing-api

(10 Nov '15, 19:19) aseerel4c26 ♦

The OSMF doesn't provide a central routing service, the services available on openstreetmap.org are accessed via some JS code to access the various routing services which tend to have their own APIs.

See

https://github.com/openstreetmap/openstreetmap-website/tree/master/app/assets/javascripts/index/directions

and

http://wiki.openstreetmap.org/wiki/List_of_OSM-based_services#Routing

permanent link

answered 10 Nov '15, 09:16

SimonPoole's gravatar image

SimonPoole ♦
37.9k13284602
accept rate: 19%

edited 10 Nov '15, 09:18

... or to give a precise hint:

try http://www.liedman.net/leaflet-routing-machine/ ... that is a plugin for the http://leafletjs.com/ javascript library.

(10 Nov '15, 17:29) stephan75
Your answer
toggle preview

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:

×246
×100

question asked: 10 Nov '15, 09:02

question was seen: 4,471 times

last updated: 10 Nov '15, 19:19

powered by OSQA