Can I embed OpenStreetMap into a page?

  • Author
    Posts
  • #787183

    frippgrandpa
    Member

    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 frippgrandpa.wordpress.com.

    #787285

    justjennifer
    Moderator

    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/

    #787286

    timethief
    Member

    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.

    #787302

    frippgrandpa
    Member

    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

    #787306

    justjennifer
    Moderator

    You’re welcome!

    And of course you can link the PNG to the resulting updated map on OpenStreetMap. :)

    #787309

    frippgrandpa
    Member

    I had not thought of linking the .PNG map to OSM….

    thanks again, Jim

The topic ‘Can I embed OpenStreetMap into a page?’ is closed to new replies.