the Future of the Web
  • Articles
  • Contact
  • WikiMapia: Easiest Google Maps Ever

    Aug 18 2006

    If you want to put a map on your web site using Google Maps, the easiest way to do that is by going to WikiMapia, finding the place you want, then going to the menu and selected "Map on your page". You'll be presented with a box that lets you pick the size and exact starting location of your map, and you'll be given a very simple HTML snippet (an iframe) you can put anywhere.

    For example, I found my home in Berlin and was given the following snippet:

    <iframe src=http://wikimapia.org/s/#y=52506879&x=13318394&z=19&l=0&m=a width=400 height=208 frameborder=0></iframe>

    I had to change the HTML to XHTML myself by adding quotes around the attribute values and escaping the ampersands in the URL:

    <iframe src="http://wikimapia.org/s/#y=52506879&amp;x=13318394&amp;z=19&amp;l=0&amp;m=a" width="400" height="208" frameborder="0"></iframe>

    Unfortunately, iframe is deprecated in XHTML Strict, so this would make my page invalid. The way to embed a frame on a page in XHTML Strict is to use an object tag instead like so:

    <object type="text/html" data="http://wikimapia.org/s/#y=52506879&amp;x=13318394&amp;z=19&amp;l=0&amp;m=a" width="400" height="208" style="border:0"></object>

    It seems WikiMapia doesn't support the object tag when used with Internet Explorer. Well, as long as you're not using IE, you can see where I live in Berlin! The rest of you can click here instead.

    View 6 Comments | Add a comment
  • Comments

    1. zakaria at 2:23pm on January 14, 2007

    wikmapia tres belle

    2. luxman premaratna at 10:27pm on September 27, 2008

    please open google map search

    3. preevbhargava at 11:43am on September 10, 2009

    praveen bhargava
    s/o mr. u.k. bhargava
    m.p. nagar 1st
    satai road chhatarpur
    (madhya pradesh)

    4. Gawade nitin chhagan at 8:56am on June 1, 2010

    My home is shirsainagar

    5. Gawade nitin chhagan at 9:01am on June 1, 2010

    Bhigvan road shirsainagar Bharanewadi .dist-pune

    6. Bharane appaso at 3:00pm on August 10, 2010

    Biroba mandir
    Bharanewadi
    indapur
    pune

    Commenting is now closed.

  • Jesse Skinner

    Jesse Skinner
    • About Me
    • Email Me
    • RSS Feed RSS Icon
    • @JesseSkinner
  • Recent Articles

    • Coding with Jesse
    • Deciphering Usability
    • Free eBook: Unobtrusive Ajax
    • Official jQuery Templating Plugin
    • jQuery Live Events
    • buttons need type="submit" to submit in IE
    • Use Arrays in HTML Form Variables
    • 5 Reasons Freelancers Can Succeed in a Shrinking Economy
    • Keeping a Live Eye on Logs
    • Using PHP's empty() Instead of isset() and count()
    • See All...
  • Categories

    • javascript (41)
    • about (17)
    • links (17)
    • web (14)
    • html (12)
    • server (11)
    • css (9)
    • browsers (8)
    • carnival (7)
    • work (5)
    • ads (4)
    • events (4)
    • standards (4)
    • design (4)
    • seo (4)
  • Older Articles

    • December 2014
    • September 2013
    • October 2010
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • August 2006
    • July 2006
    • June 2006
    • May 2006
    • April 2006
    • March 2006
    • February 2006
    • January 2006
    • December 2005
    • November 2005
    • October 2005
    • September 2005
    • August 2005
    • April 2005
    • See All...
Copyright © 2019 The Future of the Web