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

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

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.

permanent link

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

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:

×202
×100
×5

question asked: 16 Jan '22, 23:07

question was seen: 1,795 times

last updated: 17 Jan '22, 19:44

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