Chapter 6
Implementing Geolocation
Geolocation is undoubtedly one the the most relevant functions that a geo app may implement, so in this chapter I present the procedures for handling geolocation in an app. I will consider geolocation capabilities offered by HTML5 with the W3C Geolocation API. Since this is the last chapter dedicated to realizing map-based web apps, I will conclude it by gathering some of the functions I showed you in previous chapters to form a simple, yet complete, U2’s Dublin web app.
Understanding Geolocation
Using specific sensors and methods, geolocation can identify the position of a device – in our case, an iOS device – within a geographic reference system (that is using geographical coordinates, latitude and longitude). ...
Get Pro iOS Geo: Building Apps with Location Based Services now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.