-
Notifications
You must be signed in to change notification settings - Fork 2
psayre-sc/jQuery-Geolocation-Plugin
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
jQuery Geolocation Plugin Version: 0.1.2 Created: 2011-12-12 Updated: 2011-12-14 Company: SiteCrafting Website: https://github.com/psayre-sc/jQuery-Geolocation-Plugin Authors: Paul Sayre Basic Usage: $.geo().done(function (pos) { var lat = pos.lat, lng = pos.lng; }); Advanced Usage: $.geo({ failToGoogle: false, enableHighAccuracy: true }).done(function (pos){ var lat = pos.lat lng = pos.lng, accr = pos.accr; }).fail(function () { alert('Could not determine position'); });
About
$.geo() returns a deferred object and uses Google as a fallback
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published