Unable to change transparency on TileOverlay on Android
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- android, typescript
- 領域
- mobile
調査の方向性
tileOverlay.native を通じて公開されている Android の TileOverlay 実装から始め、TileOverlayOptions 内の transparency と併せて setTransparency を追跡してください。Android でレーダーオーバーレイの更新を再現し、作成後に transparency を変更するとレンダリングされたオーバーレイが変化することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 206
- フォーク
- 123
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/plugins のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
NativeScript/plugins#680 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
NativeScript/plugins#671 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
NativeScript/plugins#640 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NativeScript/plugins#668 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NativeScript/plugins#665 · コメント 1 件 ·
NativeScript/plugins の issue をすべて見る
似ている issue
-
Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenNSW/nsw-srilanka#497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
digidem/comapeo-cloud-app#403 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100