Websites‎ > ‎Google Sites How-tos‎ > ‎

Google Sites - Google Latitude Public Location Badge

posted 18 May 2009, 15:58 by Stephen Hind   [ updated 10 Feb 2014, 06:55 by Stephen Hind ]

Google stopped the Google Latitude service so this article no longer applies.

Example of embedded Latitude
Google Latitude now offers a Public Location Badge for websites, but unfortunately the Google Latitude team have not made a gadget for Google Sites, so I have.  These instructions assume you use Google Latitude and are configured ready to go.


  1. Go to the Public Location Badge page:

    • Read carefully the Privacy Notice;
    • Set the Settings you want and Save.
  2. From the HTML code given in the Embed the Google Public Location Badge copy the number that follows the user= in the <iframe> tag and paste it somewhere to use later

    <!-- Google Public Location Badge -->
    <iframe src="" width="180" height="300" frameborder="0"></iframe>
    <!-- To disable location sharing, you *must* visit and disable the Google Public Location badge. Removing this code snippet is not enough! -->
  3. On the page in the Google Site you wish to use the badge:

    1. Use the Insert menu then More gadgets...
    2. Use the Add by URL link on the left
    3. Paste the URL to my gadget:
      and use the Add button
    4. Paste the number you copied earlier in to the User ID box and set the Map Type and Zoom level you want
    5. Use the Preview Gadget button to make sure it works and then use the OK button to add to your page.

This should add your Google Latitude Public Location Badge to your Google Site page.

RSS Feed of our Google Sites How-Tos