At the most basic

<iframe 
src="http://maps.google.com/maps?q=http%3A%2F%2Fwww.google.com%2Flatitude%2Fapps%2Fbadge%2Fapi%3Fuser%3D<USER>%26type%3Dkml&output=embed"
width="200" height="200"></iframe>

which just displays the KML file in a Embeddable Google Map.

You can find your <USER> from
http://www.google.com/latitude/apps/badge (scroll to the bottom


Or to keep it on topic (and to be able to implement the teh
auto-refresh you mention, can have a API based map use the JSON feed
(link on the above page) and use a setInterval, to repeatly poll it.
Not sure if it supports a callback param, so might need a proxy on
your server.
(alternativly just ue the KML feed via GGeoXml)



2010/1/13 TheC++Dude <[email protected]>:
> I'd like to have an embeddable Google Map that shows my Google
> Latitude location, that big blue icon with my picture on it. Yes yes I
> know, "Public Location Badge" is cute. But - not cute enough. Viewers
> can't pan/zoom around the map.
>
> Has anyone already created something copy/paste/embed'able to this
> effect? If not, any advice about how to get started making this?
>
> Thanks
>
>
>
> P.s. It would also be cool if this 'widget' auto-refreshed itself like
> every 2 minutes or so, to update sorta 'real-time' movement of my
> Latitude location (like when I drive around)
>
> "Auto-refresh" - as in some Javascript or whatever doing it behind the
> scenes, avoiding the need to refresh the webpage.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Maps API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-maps-api?hl=en.
>
>
>
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -
-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to