This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

how to read the documantation of openstreet maps

0

i tried to read the help parts and its somewhat confusing can someone help me please!!!! i need a map on my website which can give directions and able to add custom points

asked 16 Jan '22, 23:07

gramzrah's gravatar image

gramzrah
11447
accept rate: 0%

edited 16 Jan '22, 23:16

3

In order for people to help you, it'd be great if you could explain in a bit more detail what you're trying to do.

(16 Jan '22, 23:09) SomeoneElse ♦

i need a map on my website which can give directions and able to add custom points

(16 Jan '22, 23:15) gramzrah

One Answer:

2

You would need to use a library like Leaflet plus some extra plugins, start here for Leaflet: https://switch2osm.org/using-tiles/getting-started-with-leaflet/ which also lets you add custom points (called markers, see the documentation at https://leaflet.org ) and than e.g. here http://www.liedman.net/leaflet-routing-machine/ for a directions plugin for Leaflet.

answered 17 Jan '22, 09:20

Spiekerooger's gravatar image

Spiekerooger
3.1k22356
accept rate: 16%

okay thanks its working so how do i register for commercial use coz the routing machine is in demo server and any time they can cut the service for me

(17 Jan '22, 19:44) gramzrah

Source code available on GitHub .