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

Hello,

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

url: http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example

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

sats_sandy
1111
accept rate: 0%

edited 16 Mar '13, 01:21

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


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.

/al

permanent link

answered 20 Mar '13, 17:52

_al's gravatar image

_al
86021018
accept rate: 4%

You can find more information about using OpenStreetMap at switch2osm.org

permanent link

answered 15 Mar '13, 22:02

ChrisH's gravatar image

ChrisH
4.1k134262
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 ♦
82.5k927201273
accept rate: 23%

Your answer
toggle preview

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:

×362
×60
×24

question asked: 15 Mar '13, 03:44

question was seen: 9,789 times

last updated: 20 Mar '13, 17:52

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