> tips for guessing theirlocationif they don't have Gears installed?
> (Keep in mind, I'm looking at the neighborhood/metro level).
geoip is one established way. display client location works with geoip
(with a gmap (such as classifiedsmarket.appspot.com))
<br>Country Code:
<script language="JavaScript">document.write(geoip_country_code());</
script>
<br>Country Name:
<script language="JavaScript">document.write(geoip_country_name());</
script>
<br>City:
<script language="JavaScript">document.write(geoip_city());</script>
<br>Region:
<script language="JavaScript">document.write(geoip_region());</
script>
<br>Latitude:
<script language="JavaScript">document.write(geoip_latitude());</
script>
<br>Longitude:
<script language="JavaScript">document.write(geoip_longitude());</
script>
and reverse geocodes:
var reversegeocoder = new GReverseGeocoder(map);
GEvent.addListener(reversegeocoder, "load",
function(placemark) {
document.getElementById("message").innerHTML =
placemark.address
}
);
regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---