Google Map in my blog?

  • Author
    Posts
  • #282602

    viewer2008
    Member

    Can I integrate a google map screen of an area in a blog?

    #282702

    vivianpaige
    Member

    Are you hosted here at wordpress.COM? If so, please provide a link to your blog and consider linking it in your user name as explained in the sticky, 8 Things, at the top of the forums.

    If you are hosted here, please check the FAQ on Google Maps.

    #282934

    viewer2008
    Member

    I tried it out, like the descrition it says, all what I can see is the link “Google MAp” the html code was not transformet to the code

    #282968

    vivianpaige
    Member

    Well, you still haven’t given us a link to your blog so that’s the best we can do. We don’t even know if you are hosted here.

    #283121

    viewer2008
    Member

    Ok, I will make a test page with Map included, I wiil come back soon…

    #283122

    viewer2008
    Member
    #283123

    viewer2008
    Member

    Map of LA

    <iframe width=”300″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps?client=opera&q=Los+Angeles&ie=UTF8&oe=utf-8&g=Los+Angeles&s=AARTsJol_5LWlYjqNUN3ic3CD9JkYCUfQg&ll=34.311681,-118.108521&spn=0.680587,0.823975&z=9&iwloc=addr&output=embed”></iframe>
    <small>Größere Kartenansicht</small>

    #283127

    thealphanerd
    Member

    Ah, I think WP.com doesn’t allow frame for security reasons.

    #283128

    justjennifer
    Moderator

    Actually, yes, we can use google maps on our WordPress.COM blogs.
    https://en.forums.wordpress.com/topic/how-to-show-a-google-map-on-sidebar?replies=18#post-222615

    The instructions are here http://faq.wordpress.com/2008/07/03/using-google-maps/

    Works just fine too. :)

    #283130

    vivianpaige
    Member

    FYI viewer2008 – we can’t look at a post that has not been published. Only you can.

    #283140

    viewer2008
    Member

    @justjeniffer, thx i read the instruction before, , Number 7 doesn’t work.

    7) Click Save. You will notice that the code has changed; WordPress has converted the code from Google Maps into the required shortcode.

    #283141

    viewer2008
    Member

    @vivianpaige Ok. Now is this thread published.

    before save:

    <iframe width=”300″ height=”300″ frameborder=”0″ scrolling=”no” marginheight=”0″ marginwidth=”0″ src=”http://maps.google.com/maps?client=opera&q=google&ie=UTF8&oe=utf-8&s=AARTsJpYhTgyHgXy3eJpw_jP4f-O91os8g&ll=37.09024,-95.712891&spn=20.981197,26.367188&z=4&output=embed”></iframe>
    <small>Größere Kartenansicht</small>

    after save:

    Größere Kartenansicht

    my test:

    http://viewer2008.wordpress.com/2008/11/06/test-google-map/

    #283142

    viewer2008
    Member

    is there a special parameter in the profile to set this work?

    #283143

    justjennifer
    Moderator

    Now, that IS odd. That particular google map doesn’t convert to a shortcode. Haven’t a clue why.

    The only thing I can suggest is try recreating the map and copying the new HTML code into the Visual Editor.

    #283144

    And contrary to what the FAQ advides against, I took the above codes, converted them into the shortcode format myself, and they both work:

    [googlemaps http://maps.google.com/maps?client=opera&q=Los+Angeles&ie=UTF8&oe=utf-8&g=Los+Angeles&s=AARTsJol_5LWlYjqNUN3ic3CD9JkYCUfQg&ll=34.311681,-118.108521&spn=0.680587,0.823975&z=9&iwloc=addr&output=embed&w= 300&h= 300]
    [googlemaps http://maps.google.com/maps?client=opera&q=google&ie=UTF8&oe=utf-8&s=AARTsJpYhTgyHgXy3eJpw_jP4f-O91os8g&ll=37.09024,-95.712891&spn=20.981197,26.367188&z=4&output=embed&w= 300&h= 300]

    #283145

    Ah, the codes didn’t register correctly. It should be:
    [googlemaps ALL_THE_PART_FROM_HTTP_TO_EMBED&w=300&h=300]

    #283150

    viewer2008
    Member

    Hi @panaghiotisadam

    where I can find the synthax to translate the code into shortcode, there a special pages , which make this translation?

    #283151

    viewer2008
    Member
    #283152

    bubel
    Staff

    I’ve seen in a few instances – when the map code is not converted to a shortcode – that the language parameter in the URL of the map is not set to “en”. If you are viewing Google Maps in a different language than English, you will need to change this parameter in the URL. We’ve recently stumbled across this after a few reports.

    #283153

    @viewer2008: Seems we’ve got a misunderstanding. The model I gave above, and the code you pasted now, IS the shortcode. That’s what would come up if you pasted the full code and the wp coverter worked, that’s what you paste in your post – no more to do.

The topic ‘Google Map in my blog?’ is closed to new replies.