Select to view content in your preferred language

Book Mark

894
1
04-29-2013 01:00 AM
cadgism
Regular Contributor
I would like to save a map view returned from an attribute query as a bookmark.
This bookmark can be retrieved later by name. How can i implement this?
0 Kudos
1 Reply
deleted-user-ATjHIWsdQYmT
Deactivated User
How about creating an XML file and storing it in on your device or and SD card?  You could store a bookmark name and the maps extent (envelope) in your XML DOM.  Then you could load all the names from the XML into a spinner and when you choose one, you can set the map extent to the selected items envelope.

http://stackoverflow.com/questions/2290945/writing-xml-on-android
http://androidideasblog.blogspot.com/2010/01/read-write-and-parse-xml-file-in.html
0 Kudos