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

Hello everybody, i have some problem with openstreetmap; first of all i don't understand how to add a map in a html code, the only thing i do is to "copy" a piece of map in my code, but if i zoom on the map the other piece of the map do not appear...

The other problem that i have is that: There is an implementation code to calculate a parcour in the openstreet map?

Sorry for the mistake, i am italian. Thank you!

asked 20 Dec '13, 22:16

Zoifil's gravatar image

Zoifil
418811
accept rate: 0%

\1. Please try to keep different questions separated (next time). 2. You can ask in Italian - but it can take longer for an answer.

(21 Dec '13, 01:04) aseerel4c26 ♦

At http://www.openstreetmap.org/ there is an icon on the right, second from the bottom, that is for sharing. If you click that a panel will open with a number of sharing options. If you click "html" you will get some code for including a scrollable map in a web page. On example of the use of this is at http://www.nordicbase.org/information

WIth respect to routing, I don't think that OpenStreetMap supports a routing engine, but there are several routing engines that use OSM data and most have a demonstration site. See http://wiki.openstreetmap.org/wiki/Routing

I happen to use http://map.project-osrm.org/ which has a method of constructing a URL that contains the destination and origin.

permanent link

answered 21 Dec '13, 00:16

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:

×535
×9

question asked: 20 Dec '13, 22:16

question was seen: 2,815 times

last updated: 21 Dec '13, 01:05

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