Canvas 2D Web Apps/Geolocation
This section is a stub. You can help Wikibooks by expanding it. |
In HTML5, web apps are allowed to access the geolocation of a device. W3C has defined the Geolocation API Specification. In the Mozilla Developer Network, see Using geolocation. Apple provides information in the article Getting Geographic Location in the Safari Developer Library.
Unless stated otherwise, all example source code on this page is granted to the public domain.