loading...

0

No products in the cart.

February 6, 2008

A Very Cool Google Maps Hack

I ran across this site a little while ago and had to post a link. You punch in a few parameters and you get HTML code to place a Google Map on your own web site.

I punched in my work address along with a few other parameters and got the following code back:

<p align=”center”> <iframe name=”mapframe” src=”http://www.gearthhacks.com/yourmap/mapiframe.php?map=1137″ frameborder=”0″ width=”450″ scrolling=”no” height=”300″></iframe> </p> <p align=”center”> <img src=”http://www.gearthhacks.com/siteimages/logo_ge.gif” align=”absmiddle” width=”16″ height=”16″ /> <a href=”http://www.gearthhacks.com/yourmap/yourmapkml.php?map=1137″>View in Google Earth</a> — <a href=”http://www.gearthhacks.com/download-google-earth.php”>Get Google Earth</a><br /> Powered by <a href=”http://www.gearthhacks.com/yourmap/”>YourMap</a> from <a href=”http://www.gearthhacks.com/”>Google Earth Hacks</a>.</p>

Unfortunately my blog doesn’t allow me to actually create my own HTML, so I can’t actually create the map to show you. However I did take a screen shot of the map so you can see how it looks.

googlemapshack

The entire process took about one minute. Although you really can’t easily adapt the code for reuse among different applications e.g. pass it an x/y and show a map for a parcel, it’s great for any static maps you need to create e.g. a map to a user’s group meeting.

Posted in Web Site
1 Comment
  • Sounds perfect to me. I have read this post with a great pleasure. You should write much more often.

    10:58 pm April 10, 2008 Reply
Write a comment