Reputation: 366
I'm creating application that track user position by creating overlay on MapView (Google Maps Android API v2). is it possible to save map and its overlay as image?
Upvotes: 0
Views: 6375
Reputation: 39052
I don't believe it's possible in Google Maps Andoird API V2 yet. See the question I asked a while back: Capture screen shot of GoogleMap Android API V2
You can of course save a screenshot using DDMS, but I doubt that's what you're looking to do.
Upvotes: 1
Reputation: 3705
Use google static maps api. it returns the locations image with any overlay you (with scale,zoom,width,height,lat,long parameters)wish.And works with simple http request.
Upvotes: 3
Reputation: 12233
this guy in the android development message threads had a similar problem: https://groups.google.com/forum/?fromgroups=#!topic/android-developers/eGOyIkj4BfU
He had the same issue you are having and seemed to have resolved it.
in iOS the problem is easy to fix. you can Render from context and save it as PNG or JPG in your camera roll or User Directory ;) Good luck with droid.
Upvotes: 0