Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Wrapping Up

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.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint