ionic-team / ionic-team/ionic-native-google-maps

MarkerOptions.anchor doesn't affect on position

Offen
#353 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
215
Forks
119
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

package.json:
```
...
"@ionic-native/core": "^5.0.0",
"@ionic-native/device": "^5.21.6",
"@ionic-native/google-maps": "^5.27.0-beta-20200630",
"@ionic/angular": "^5.0.4",
"cordova-browser": "6.0.0"
...
```
using cordova browser.
```
this.map.addMarker({
position: {lat: this.lat, lng: this.lon},
icon: {
url: '../../assets/icon/eye.png',

size: {
width: 32,
height: 32
}
},
anchor: [16, 16]
})
```
the marker appears at the same place in any anchor

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the marker behavior in a Cordova browser using the package.json versions and the map.addMarker example. Trace how the anchor option is handled for the marker and verify that changing anchor changes the rendered marker position.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.