Android Question Image Google Map

Vincenzo

Member
Licensed User
Longtime User
Hi,

you can send the picture of an area of a position of google map,
like when you send your position via WhatsApp?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
It is possible to capture the image of standard views with reflection. However this method doesn't work with GoogleMaps. If I remember correctly I think that warwound has post a different code that allows you to capture the map. I cannot find it now.

Another option is to show the map in WebView and then call WebView.CaptureBitmap.
 
Upvote 0

rbsoft

Active Member
Licensed User
Longtime User

Attachments

  • staticmap.jpg
    staticmap.jpg
    33 KB · Views: 269
Last edited:
Upvote 0

Vincenzo

Member
Licensed User
Longtime User
thanks,
I did several tests, the link martin is good only if I register and I have a key for access to google maps, but they are "limited" to 25000 requests per day, I do not know if making public an app I can overcome this limit.
While using the library Picasso I upload the image taken from the example posted by Rolf. The second case I see no access constraints.
Thank you again.
 
Upvote 0
Top