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

MarkerOptions.anchor doesn't affect on position

Ouverte
#353 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
215
Forks
119
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.