amay077 / Xamarin.Forms.GoogleMaps

Map library for Xamarin.Forms using Google maps API
https://www.nuget.org/packages/Xamarin.Forms.GoogleMaps/
MIT License
546 stars 346 forks source link

Add Transparency/Opacity to TileLayer #620

Open bryantalford opened 5 years ago

bryantalford commented 5 years ago

SUMMARY

I require the ability to blend layers containing different heat mapping data.

Can you please add a Transparency property to the TileLayer object so that the rendering adjusts the opacity of the tile natively.

DETAILS

For example:

layer = TileLayer.FromTileUri((int x, int y, int zoom) => { var url = $"https://earthengine.googleapis.com/map/{imap.mapid}/{zoom}/{x}/{y}?token={imap.token}"; return new Uri(url); });

layer.Transparency = .5f;

PLATFORMS