Sunday, September 11, 2011

Google's Geolocation service in asp.net app

I have implemented geolocation in my project and it works like charm :)


You can test it at classifindz.com


Following is more detail about it.


The Geolocation API enables a web application to obtain a user's geographical position.



The Geolocation API enables a web application to:
  • Obtain the user's current position, using the getCurrentPosition method
  • Watch the user's position as it changes over time, using the watchPosition method
  • Quickly and cheaply obtain the user's last known position, using the lastPosition property
The Geolocation API provides the best estimate of the user's position using a number of sources (called location providers). These providers may be onboard (GPS for example) or server-based (a network location provider). The getCurrentPosition and watchPosition methods support an optional parameter of typePositionOptions which lets you specify which location providers to use.
To find out how to implement your own network location provider for use with the Geolocation API, see the description of the Geolocation API network protocol that Gears uses to communicate with network location providers.


for more reference see

:)

No comments:

Post a Comment