OpenStreetMap-logo OpenStreetMap

OSM features

Skrevet av Jancis den 21 juli 2009 på English.

now, when OSM is updating my tracks/edits really fast and good data is collected, there`s a question:
are there map/api/features like google maps has? can i include osm map and maybe some pins "just like that" on my blog or some other place with some embed/javascript code?

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Diskusjon

Kommentar fra dekarl den 21 juli 2009 kl. 13:39

Openlayers should do that, here are some examples:
osm.wiki/index.php/OpenLayers
http://openlayers.org/dev/examples/sundials-spherical-mercator.html

Your Blog/OtherPlace might already have contributed plugins to display osm maps, too.

Kommentar fra chillly den 21 juli 2009 kl. 15:07

You can export HTML to embed in your blog or web page from the export tab on the main map. This can have markers added as you export it.

Kommentar fra wieland den 21 juli 2009 kl. 20:29

But the exported HTML can have only one marker.
Still usefull for many cases.

Logg inn for å legge inn en kommentar