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

I have show one OpenStreetMap in My Web Page and use Multiple Marker in this Map but some problem is occur one i will run this website the one error is occur the Error is You don't have permission to access /api/ on this server. so can you tell me the proper openstreetMap Api and the Code

This question is marked "community wiki".

asked 05 Sep '13, 10:18

Tanmoy%20Ghosh's gravatar image

Tanmoy Ghosh
accept rate: 0%

edited 06 Sep '13, 14:09

sleske's gravatar image


permanent link

answered 05 Sep '13, 11:12

EdLoach's gravatar image

EdLoach ♦
accept rate: 22%


Just to clarify the "API" point, unlike certain other large web-based mapping providers, there is no API that you need to call to display a map. OpenStreetMap does have an API, but that's primarily designed for mappers to put things into the database, not to display things already there. Generally speaking, if you want a simple customised OSM-based map you'd download a small data extact from OSM:

set up a tile server:

and then set up a website using those tiles:

If you want to avoid the "serving tiles" part of that for now, you can point your site at an existing tile source, but make sure that you abide by the terms of use of that tile source. In the case of OSM-hosted tiles that's: usage policy

(05 Sep '13, 12:59) SomeoneElse ♦

Please read first the API usage policy.

Then decide if your "multiple markers" have to always use the latest data from OSM or if you can use some cached data store locally on your server (can be a JSON or XML file). If you want to get the latest data in OSM, you should use one of the alternative data providers listed in the API usage policy page. But then you will depend on a third party. It's up to you.

permanent link

answered 05 Sep '13, 10:33

Pieren's gravatar image

accept rate: 15%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 05 Sep '13, 10:18

question was seen: 5,473 times

last updated: 06 Sep '13, 14:09

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