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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.