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

I want to use all the directions page for routing, distance and time. Is there some API so I can make the connection with my web page?

asked 12 Sep '23, 21:19

AdrianGtz's gravatar image

AdrianGtz
11112
accept rate: 0%


OpenStreetMap itself does not have, to the best of my knowledge, a routing server. It seems to rely on other projects (OSRM, GraphHopper, etc.). Those projects may have an API and you may want to check on their websites to see what they have to offer.

If you don’t need things tightly coupled and/or using your own visual look and feel, then you can do some stuff without a API.

For example, a screen capture of your business location put into a web page with the image being a link to that view on OSM's main page. Or a link for directions that goes to a routing project's page with the to and from fields already filled out.

permanent link

answered 12 Sep '23, 23:54

n76's gravatar image

n76
10.8k1082172
accept rate: 17%

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:

×290

question asked: 12 Sep '23, 21:19

question was seen: 612 times

last updated: 12 Sep '23, 23:54

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