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


I am new to openstreetmap. I have followed the below url to create a first sample application that displays the map.


I have few queries like

we can create openstreetmap using google api,openlayer.js and other libraries. (Please correct me if I am incorrect). So if this is correct, which is the best option to work with.

To display a map and plot data on the map based on lat long abd create shapes on it (like polygons , polylines) and other shapes how we can achieve that and whether that is possible using OpenstreetMap.

Also what is the difference between OpenStreetMaps and OpenStreetMaps API

Please help me.

asked 15 Mar '13, 03:44

sats_sandy's gravatar image

accept rate: 0%

edited 16 Mar '13, 01:21

aseerel4c26's gravatar image

aseerel4c26 ♦

A simple starting point is Leaflet (quick start guide).

If you have to do more complex things, use OpenLayers.

And there are other alternatives like KHTML.


permanent link

answered 20 Mar '13, 17:52

_al's gravatar image

accept rate: 4%

You can find more information about using OpenStreetMap at

permanent link

answered 15 Mar '13, 22:02

ChrisH's gravatar image

accept rate: 15%

OpenStreetMap is the name of the project (notice: no "s"). The OpenStreetMap API is the interface through which editor software (and, to a small degree, other programs) can directly access the OpenStreetMap database; most users of OpenStreetMap will not use the API but one of the derived products, for example display tiles from the tile server, or download data dumps to load into their own database.

OpenLayers, Leaflet, the Google API, and others are not part of the OpenStreetMap project; they are just JavaScript libraries that take a standardised set of map tiles and make them visible in a browser. (There are similar libraries for Java, Flash, and other programming languages.) Which of these you use is basically a matter of taste. All three libraries mentioned do support vector layers onto which you can draw arbitrary objects; exactly how you achieve this differs between the libraries.

permanent link

answered 15 Mar '13, 07:10

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

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: 15 Mar '13, 03:44

question was seen: 10,077 times

last updated: 20 Mar '13, 17:52

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