how to create a Google map in Worpress

July 8th, 2007 § Leave a Comment

short instructions how to add a Google map to your blog

  1. install Google Map Plugin, download from Avi’s Blog and read this excellent guideline
  2. open Google Earth and create a new folder under my places
  3. search for your place of interest, add a placemark, description, icon, add HTML text etc.
  4. make sure to add your new placemark to your folder (step 2)
  5. rightclick your folder entry and save as .kml file, copy .kml file to your WordPress server
  6. in Google Earth open “file/view in Google Maps”, in Google Maps then adjust zoom settings, “map/satellite”, rightclick to “center map here” etc, finally click on “link to page”
  7. create a new post and add following HTML code replacing “center of map” and .kml information

<dl title=”googlemap;w:100%;h:600″ id=”montenegro-kml”> <dt><a href=”http://maps.google.com/maps?hl=en&t=h&ie=UTF8&ll=42.510577,18.852539&spn=1.289677,2.958069&z=9&om=1″>Center of map</a></dt> <dt><a href=”http://bernhard.hensler.net/blog/wp-content/gmaps/Montenegro.kml” title=”kml”>places in montenegro </a></dt> </dl>

Or use google maps:

1. Go to Google Maps, find the spot you want to show, select Map, Satelite or Hybrid view buttons, double-click on the most important point on the map to centralized it, and define the zoom factor you want.

2. On the left-top corner of the map, click on the “Link to this page”, and copy your browser’s location to the clipboard. You can do the same for complex maps created on the My Maps section of Google Maps website.

3. While creating the post, select the text that will be displayed on the map marker, and create a link with it.

4. Paste the map URL on the Link URL field, and on Title write “googlemap”.

5. Continue editing your post and publish.

You are done.

[singlepic=1980,320,240,,]

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading how to create a Google map in Worpress at Bernhard Hensler.

meta

Follow

Get every new post delivered to your Inbox.