Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, I showed you the very basics for finding a device’s location and displaying a map onscreen. If you’re looking to go further into this topic, you should explore map overlays through the OverlayItem class. Overlays let you point out specific locations (addresses, businesses, or cat pictures) to your users.
As always, be very careful what kind of location services you use, especially while the user is not in your application. Nothing will drain a user’s battery faster—and make them angrier—than heavy locational lookups in the background. If you’re planning a very location-heavy application, be sure to do LOTS of battery-draw testing before you release it. Your users and your application’s ratings will be much happier for it.