python-visualization / python-visualization/folium
Is there a way to add colormap to LayerControl?
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 7.4k
- Fork
- 2.3k
- Merge medio
- 17h 22m
- PR unite (30g)
- 11
Descrizione
First of all incredible progress from the last time I have checked folium, my respect to the team!
I am trying to use some examples from Colormaps.ipynb and it seems like the colormap is not recognised by the LayerControl as one of the layers. My question have two parts:
- Is there a way to make LayerControl aware of the colormap?
- Most importantly is there a way to combine the layer created, say, with GeoJson and colormap, so they are switched on and off together in the LayerControl.
At the end I would like to have 2 layers on one map, but they should have different colormaps.
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 con Colormaps.ipynb e con gli entry point LayerControl e GeoJson menzionati nel report. Determina se i colormaps possono essere rappresentati come layer di LayerControl e se un layer GeoJson può essere raggruppato con il proprio colormap. Il lavoro è completo quando il comportamento supportato per due layer della mappa commutabili indipendentemente è implementato o chiaramente documentato, con un esempio che mostri il risultato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- data-visualization
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100