-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
I'm migrating from the kefahB/nativescript-google-maps plugin to @nativescript/google-maps.
My app animates weather radar by composing an array of TileOverlays and then iteratively changing the TileOverlay's transparency to hide one overlay and display the next.
While transparency can be specified in the TileOverlayOptions when creating a TileOverlay, it can't be modified directly afterwards. Instead, you have to use native methods, such as on iOS:
tileOverlay.native.opacity = 1.0; // display tileOverlay
On Android, there's:
tileOverlay.native.setTransparency(0.0); // display tileOverlay
But this seems to have no effect. I can see in the debugger and via tileOverlay.native.getTransparency() that the native TileOverlay's transparency property has indeed been changed, but there is no change in the display.
Metadata
Metadata
Assignees
Labels
No labels