Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Get image of map on android

$
0
0

I'm using Xamarin.Forms.GoogleMaps to show a map on iOS and android. I'm trying to screenshot the map to get an image of it. On iOS this works fine, but on android, the screenshot image is a black box. I believe this is because the map on android is rendered in OpenGL. Google maps has a screenshot() method but that doesn't seem to be available in Xamarin.Forms.GoogleMaps. I've looked into Google's static map API, but that won't work for what I'm doing. How can I get an image from a map on android?


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>