Adding Google Maps rectangle to WordPress posts?

  • Author
    Posts
  • #865615

    How to add a Google Maps rectangle into a WordPress post?

    Do I need to type something like:

    [googleearth=http://maps.google.com/maps?q=loznica&hl=en&ll=44.525395,19.222641&spn=0.131196,0.220757&sll=37.0625,-95.677068&sspn=37.273371,56.513672&t=h&hnear=Loznica,+Macva,+Central+Serbia,+Serbia&z=12]

    ?

    Thank you for the reply.

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

    #865921

    cyberetto
    Member

    If you put in the whole iframe (from maps.google.com), then let WordPress convert it, that works best. In other words, put this into your post, then save it:

    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=loznica&hl=en&sll=37.0625,-95.677068&sspn=37.273371,56.513672&t=h&hnear=Loznica,+Macva,+Central+Serbia,+Serbia&ie=UTF8&hq=&z=12&ll=44.525395,19.222641&output=embed"></iframe>
    <small>View Larger Map</small>

    #865922

    cyberetto
    Member

    Some of that was converted in posting! The key thing is to get the complete iframe code from Google and let WordPress figure out the formatting.

The topic ‘Adding Google Maps rectangle to WordPress posts?’ is closed to new replies.