python-visualization / python-visualization/folium
Is there a way to add colormap to LayerControl?
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 7.4k
- Forks
- 2.3k
- Ø Merge
- 17 Std. 22 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit Colormaps.ipynb sowie den im Bericht genannten Einstiegspunkten LayerControl und GeoJson. Ermittle, ob colormaps als LayerControl-Layer dargestellt werden können und ob ein GeoJson-Layer mit seiner colormap gruppiert werden kann. Als erledigt gilt, wenn das unterstützte Verhalten für zwei unabhängig umschaltbare Kartenlayer implementiert oder klar dokumentiert ist und ein Beispiel das Ergebnis zeigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100