Core Spring Data
Written by: Oliver Gierke
Featured Refcardz: Top Refcardz:
  1. Git
  2. Prep for CD
  3. DNS
  4. Data Mining
  5. Spring Data
  1. Data Mining
  2. Spring Data
  3. DNS
  4. Machine Learning
  5. MongoDB

Link Details

Link 898439 thumbnail
User 899115 avatar

By suresh44t
via codekhan.com
Submitted: Dec 30 2012 / 18:52

In my previous article we discussed how to listen for location updates of the user by using Geolocation API. This article provides a sample that demonstrates how to implement error handling mechanism in case we get an error while using Geolocation API. In this sample we use a callback function to handle errors that result from calls to the Geolocation API. This error callback function is specified using the optional second parameter to getCurrentPosition or watchPosition.
  • 1
  • 0
  • 114
  • 87

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)