python-visualization / python-visualization/folium
Feature request: dynamic style functions
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
If you have multiple features on a geojson file, it would be handy to keep the features as 'abstract' layers to select which style to be used. By 'abstract' here I mean that they're working on the same data.
An example could be to highlight a set of polygons reflecting feature A in abstract layer 1, while it would highlight feature B in abstract layer 2.
Right now I would have to add the same polygons (geojson) with different style functions to achieve this, essentially duplicating the data. The problem grows with more features I would want to illustrate..
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
Es werden keine Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, die vorgeschlagene API für eine Abstraktionsschicht und dynamische Style-Funktionen für gemeinsam genutzte GeoJSON-Daten zu klären; nach Abschluss sollte sie mehrere Styles oder Feature-Auswahlen ermöglichen, ohne die Polygone zu duplizieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, 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
- 35/100