python-visualization / python-visualization/folium

Passing base layers to GroupedLayerControl plugin

Open
#1,876 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.4k
Forks
2.3k
Avg merge
17h 22m
Merged PRs (30d)
11

Description

My goal is to display in a single control layer component both base layers and grouped overlays.

As far as I understand today we can either display base layers with non grouped overlays or display grouped overlays with the GroupedLayerControl plugin but then a null is used for base layers ...

Why not allowing to also pass a base layers array to the GroupedLayerControl ? Then setting the regular control to False I should be ok.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the GroupedLayerControl plugin and the regular layer-control implementation, then inspect how each handles base layers and grouped overlays. The work is done when one control can accept both kinds of layers while the regular control can be disabled, with coverage for the combined configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.