Summary
In this chapter, we explored the geolocation frameworks exposed by each platform. The sample application demonstrated how to display an interactive map to the user, place markers on the map, and tie it together with the user’s location to provide a personalized experience. We also covered how to provide mock location data to the emulators in order to test out location changes. In exploring these frameworks, we also saw that even though each provides its own distinct implementations, there are many overlapping aspects among them, ranging from battery life impact to performance optimizations. Location awareness is a powerful way to create a very compelling user experience in your applications, allowing them to interact more profoundly with the world around them.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access