How can I embed a google map to my page?

  • Author
    Posts
  • #1478561

    scog3492
    Member

    I have tried to embed the google map I want to embed to my page by copying the code google maps provides and putting it in the text part of my page.

    However, when I click update page, it completely removes the code and does not display my map.

    Your support website mentions there are many free included plugins with wordpress.com like google maps – is this the way to go? if so where can I find the plugin and how do I use it? Plugins are something completely new to me.

    thanks

    The blog I need help with is ladolcevita13.wordpress.com.

    #1478628

    timethief
    Member

    In a nutshell, the code that Google is using in the new maps engine does not yet work on WordPress.com, so you will need to use the older maps. Are you using this guide?
    http://en.support.wordpress.com/google-maps/

    #1478631

    scog3492
    Member

    Thanks for your reply.

    Yes I was generally following that guide.

    Ah come on WordPress.com! Catch up hahaha

    Well I used google maps engine to make my own map so I’m not sure how to have an older version of it…

    #1478637

    timethief
    Member

    Hi again,
    I’ll tag this thread for Staff. Please subscribe to the thread so you are notified when they respond and please be patient while waiting.

    #1478706

    rachelmcr
    Staff

    Hi there,

    We don’t yet support the new Google Maps Engine here at WordPress.com, but we are definitely keeping it in mind for future updates! If you’re interested, you can also add your support in the Ideas forum, for example on this thread:

    https://en.forums.wordpress.com/topic/allow-embedding-maps-engine-maps-on-wordpresscom?replies=8

    For now, to embed a Google Map you will need to go back to the older version of Google Maps and create your map there. Then, you can embed it using the instructions here: Google Maps

    #1478744

    historic1
    Member

    I’m having similar problems. I tried using the older version of Google maps, but still cannot embed a map into a scheduled blog post.

    Can someone please verify that the older version of google maps is still compatible?

    Thank you.

    #1478745

    rachelmcr
    Staff

    @historic1 – I just tested embedding a map with Google Maps, and it worked as described here: Google Maps

    If you’re having trouble embedding a map from Google, can you please send a link to the blog post where you had trouble with it? I’d be happy to take a closer look. (If the blog post isn’t published yet, you can give me the title of the draft/scheduled post and a link to the blog it’s on, and I can take a look there.)

    #1478747

    historic1
    Member

    @rachelmcr – I still can’t seem to embed the map. The post can be found at:

    http://albertashistoricplaces.wordpress.com/2013/10/16/summer-idyll-winter-wonderland-2/

    I was trying to embed the map using the following HTML code, to no avail:

    <iframe marginheight=”0″ marginwidth=”0″ src=”https://www.google.ca/maps/ms?msid=209093662318720081943.0004c24945bfad0c6d0a9&msa=0&ie=UTF8&t=m&source=embed&ll=53.631814,-113.626785&spn=0.158589,0.22213&output=embed” frameborder=”0″ height=”350″ scrolling=”no” width=”425″></iframe>
    <small>View Province of Alberta – Historical Markers in a larger map</small>

    Thanks for your help.

    #1478754

    rachelmcr
    Staff

    @historic1 – Thanks for providing the code for your map! The Google Map embed doesn’t always work with latitude and longitude coordinates, but there are a couple things you can try instead. One is to use a physical address instead of the coordinates — this works more consistently for all Google maps. You could also try switching the google.ca domain in your HTML code to google.com, like this:

    <iframe marginheight=”0″ marginwidth=”0″ src=”https://www.google.com/maps/ms?msid=209093662318720081943.0004c24945bfad0c6d0a9&msa=0&ie=UTF8&t=m&source=embed&ll=53.631814,-113.626785&spn=0.158589,0.22213&output=embed” frameborder=”0″ height=”350″ scrolling=”no” width=”425″></iframe>
    <small>View Province of Alberta – Historical Markers in a larger map</small>

    Please let me know how that works for you! :)

    #1478755

    historic1
    Member

    @rachelmcr — thank you so much for your advice. Using the google.com domain instead of google.ca solved the problem.

    I’ll make a note for next time.

    Thanks again.

    #1478763

    scog3492
    Member

    @historic 1

    did you get the code associated with the new or old google maps engine to work by changing the domain name?

    @rachelmcr
    do you have any suggestions on how to find/use/convert to the old google maps engine?

    #1478766

    rachelmcr
    Staff

    @scog3492 – Google has instructions for switching from Google Maps Engine to the classic Google Maps, either temporarily or permanently, on this page:

    https://support.google.com/maps/answer/3045828?hl=en

    #1478767

    historic1
    Member

    @scog3492 – yes, I just changed the domain name and the map worked.

The topic ‘How can I embed a google map to my page?’ is closed to new replies.