capture a map of google maps and show it in android pdf [closed]

0

I have an app where I need to show the google map of a location in my pdf report.

    
asked by Manuel Ces 24.01.2017 в 20:14
source

1 answer

3

You can use the Google Static Maps API in which you call a URL and return an image with the requirements you send it.

double latitud =40.416786;
double longitud= -3.703680;
String url = "http://maps.google.com/maps/api/staticmap?center=" + latitud + "," + longitud+ "&zoom=15&size=400x400&sensor=false

The result would be this: link

If you need to place bookmarks and other customizations, you can see the documentation here

    
answered by 24.01.2017 в 21:56