Make it possible for a marker to link to another marker
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, python
- Ambito
- data-visualization, frontend
Direzione di ricerca
L’issue non indica file né test; inizia esaminando la gestione dei popup dei marker in Folium e le API dei marker di Leaflet.js. Il lavoro è completato quando un link del popup disattiva il marker corrente, centra la mappa sul marker di destinazione e apre il popup di destinazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
It may be a common use case that a marker might relate to other relevant makers. It would be great if a marker's popup could contain links to other markers.
Describe the solution you'd like
Have a standard way to include in a popup links to other markers. The link, once activated, would:
- deactivate its own marker's popup,
- center the map view on the target marker,
- and activate the target marker's popup.
Describe alternatives you've considered
Just referencing the other marker by an id, with no link, but that is confusing, awkward, unwieldy, and impractical for the end user, which not only would have to keep in mind an id but also have to search for it around the map.
Additional context
That would make it possible for users to easily navigate between relevant markers.
However, activating markers by links might not be a feature that leaflet.js itself supports, I haven't checked yet.
- Lingua principale
- Python
- Stelle
- 7.4k
- Fork
- 2.3k
- Merge medio
- 17h 22m
- PR unite (30g)
- 11
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.
Altre issue di python-visualization/folium
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
python-visualization/folium#2092 · 5 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
python-visualization/folium#2278 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
python-visualization/folium#2259 ·
-
Map output from OSM returns blocked tiles, due to defective request or not following referer-policy Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
python-visualization/folium#2236 · 5 commenti · 1 reazione ·
-
Touch Screen often fails Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
python-visualization/folium#2219 · 2 commenti ·
Tutte le issue di python-visualization/folium
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/skills#1811 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
speaches-ai/speaches#678 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
datalayer/mcp-compose#42 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
UKGovernmentBEIS/inspect_evals#2523 ·