NativeScript / NativeScript/plugins

[@nativescript/google-maps] No markers appeared on Android

オープン
#345 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
TypeScript
スター
206
フォーク
123
平均マージ
2日 1時間
マージ済み PR(30日)
1

説明

I'm trying to populate markers for every coordinates in the map. It was working on iOS but not on Android

Only one marker appears on Android

Screen Shot 2022-10-07 at 4 54 38 PM

ns info:

✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.3.3 version and is up to date.
✔ Component @nativescript/core has 8.3.5 version and is up to date.
✔ Component @nativescript/ios has 8.3.3 version and is up to date.
✔ Component @nativescript/android has 8.3.1 version and is up to date.

"@nativescript/geolocation": "^8.0.2"
"@nativescript/google-maps": "^1.4.7"

code:
loadLocations.forEach((loc) => { let marker = new Marker(); let img = new Image(); img.imageSource = ImageSource.fromFileSync('~/images/pin-atm2.png'); marker = { icon: img, position: { lat: loc.latitude, lng: loc.longitude }, visible: true, userData: loc, title: null } as Marker; this.map.addMarker(marker) });

any idea?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

提供された marker loop と画像を使用して、記載されている NativeScript、Android、geolocation、google-maps のバージョンで問題を再現します。@nativescript/google-maps の Android におけるマーカー処理を調査し、報告された動作と照らし合わせて結果を確認します。すべての座標で iOS と同様に Android 上に表示可能なマーカーが生成されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, typescript
領域
mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。