owncloud-archive / maps

:globe_with_meridians: Maps app for ownCloud
GNU Affero General Public License v3.0
42 stars 20 forks source link

Cache last location and viewed area #7

Closed jancborchardt closed 10 years ago

jancborchardt commented 10 years ago

Currently the map always starts out in Denver. The app should just cache the last area you viewed and start you off there.

danimo commented 10 years ago

@jancborchardt if there is no last location, it should try to inquire about the current location through http://www.w3schools.com/html/html5_geolocation.asp if supported by the browser. It must tolerate an invalid result (if the user disallows the usage of that API).

jancborchardt commented 10 years ago

Yeah – it already asks for the location using the geolocation API. @brantje