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 347 forks source link

Ability to disable fade-in animation for tiles #760

Open VictorKochetkov opened 3 years ago

VictorKochetkov commented 3 years ago

SUMMARY

It is possible to implement disabling fade-in animation for tiles?

DETAILS

I'm showing downloaded tiles with TileLayer.FromSyncImage. It will be cool to disable annoying fade-in animation). It can be one more argument:

public static TileLayer FromSyncImage (
    Func<int, int, int, byte[]> tileImageSync,
    int tileSize = 256, 
    bool fadeIn = true);

See there https://developers.google.com/maps/documentation/android-sdk/tileoverlay#transparent-fadein

Thank you!