Recipe Marking the Devices Current Location on a

A convenient built-in overlay is MyLocationOverlay, which automatically draws the user's current location on a map as a blue dot. It can also show accuracy and which direction the user is pointing (bearing).There are four significant methods that are often used:

■ enableCompass()—Allows the user to see the compass indicator on the map

■ enableMyLocation()—Registers the location for most accurate location fix updates and draws a blinking blue dot surrounded by an outlining blue disk to represent accuracy

■ getMyLocation()—Returns a GeoPoint with the current location data

■ getOrientation()—Returns the most recently set compass bearing

These methods provide an easy way for developers to utilize the compass in maps.

Character Building Thought Power

Character Building Thought Power

Character-Building Thought Power by Ralph Waldo Trine. Ralph draws a distinct line between bad and good habits. In this book, every effort is made by the writer to explain what comprises good habits and why every one needs it early in life. It draws the conclusion that habits nurtured in early life concretize into impulses in future for the good or bad of the subject.

Get My Free Ebook

Post a comment