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

How can I use openstreetmaps on my website showing points and poligons

0

I want to embed openstreetmamps on my websites with google earth points and poligons

asked 24 Nov '11, 12:28

Kas%C4%B1m%20K%C4%B1rlang%C4%B1%C3%A7's gravatar image

Kasım Kırlangıç
26223
accept rate: 0%


3 Answers:

4

Various options for deploying your own slippy map. OpenLayers is a popular one.

Then you want to look at how to add marker and vector overlays

...or perhaps it'll be easier for you to get a KML file (e.g from google earth) and then look at how to add that as a layer. (example)

answered 24 Nov '11, 12:42

Harry%20Wood's gravatar image

Harry Wood
9.5k2588128
accept rate: 14%

1

You might find the examples in leaflet much easier to use. Openlayers is very powerful but not always easy to understand.

answered 25 Nov '11, 15:39

ChrisH's gravatar image

ChrisH
4.1k134262
accept rate: 15%

I don't think leaflet supports KML yet, at least it's greyed out in the feature list http://leaflet.cloudmade.com/features.html

(29 Nov '11, 06:55) emj

0

You can have a look in the OSM wiki at Google_Maps_Example.

answered 24 Nov '11, 18:21

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Source code available on GitHub .