OpenStreetMap-logo OpenStreetMap

OSM features

Skrive av Jancis 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

Discussion

Kommentar frå dekarl, 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 frå chillly, 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 frå wieland, 21 juli 2009 kl. 20:29

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

Logg inn for å legge igjen ein kommentar