NativeScript / NativeScript/plugins
Feature Request: Do not center map on marker when marker is tapped;
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 206
- Fork
- 123
- Merge medio
- 2g 1h
- PR unite (30g)
- 1
Descrizione
I would like to have the option to not center the map on a marker that is tapped. I am using a map without scrolling/zooming function where the user can add/remove markers to the map. Each tap of a marker (to remove it) also centers the map on the tapped marker's location.
For now, I can change index.ios.js and GoogleMaps.java files to return "true" for [mapViewDidTapMarker] (iOS) and [setOnMarkerClickListener] (Android). However, any re-installation or updating of the package jeopardizes my custom logic!
Let me know if this (exists or) is possible!
Thank you.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia leggendo la gestione dei tocchi sui marker in index.ios.js e GoogleMaps.java, in particolare mapViewDidTapMarker e setOnMarkerClickListener. Determina come un’opzione potrebbe controllare se il tocco su un marker ricentra la mappa su entrambe le piattaforme. Il lavoro è completo quando il comportamento può essere configurato senza modificare i file del package e le interazioni esistenti con i marker continuano a essere supportate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, ios, java, javascript
- Ambito
- mobile
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100