Can I embed OpenStreetMap into a page?
-
I see a recent answer giving instructions for embedding Google maps into a page. I have completely updated the area where I live using OpenStreetMap and would like to be able to embed images from that site. Can I do so and would I use the same method as described for Google maps?
Thanks, Jim
The blog I need help with is: (visible only to logged in users)
-
We’d need a link to your WordPress.com site before we can answer or at least a confirmation that it is hosted by WordPress.com.
In general if OpenStreetMap uses an iframe to embed, then the answer is no. See here: http://en.support.wordpress.com/code/
The reason it works with Google Maps is because there is a special shortcode enabled for Google. http://en.support.wordpress.com/google-maps/
-
Will you please post an active link starting with http:// ? If you are referring to a free hosted WordPress.com blog then I’m sorry but OpenStreetMap embeds cannot be used on free hosted WordPress.com blogs at this time.
-
My link is http://frippgrandpa.wordpress.com/ so yes, it is one of the free WordPress.com blogs.
Below is an example of a link from OpenStreetMap
http://www.openstreetmap.org/?lat=32.32855&lon=-80.46851&zoom=16&layers=M.
OSM does have an “export” feature which will download a .png file of the map you are looking at…so I could download to my computer then upload to my blog. Of course, any changes made subsequently would not be seen but that would work for me
Thanks for the help, Jim
-
You’re welcome!
And of course you can link the PNG to the resulting updated map on OpenStreetMap. :)
-
- The topic ‘Can I embed OpenStreetMap into a page?’ is closed to new replies.