Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Is there a way to add colormap to LayerControl?

Offen
#450 16 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python

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.

Beschreibung

feature request

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.

Vorherrschende Sprache
Python
Sterne
7.4k
Forks
2.3k
Ø Merge
17 Std. 22 Min.
Gemergte PRs (30 T.)
11

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python-visualization/folium

Alle Issues in python-visualization/folium

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.