python-visualization / python-visualization/folium

Customize Timestampedgeojson legend

Open
#1,860 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

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I have not see a way to customize the API somehow to be able to add a custom label or container that can hold a part of the date(e.g. Year) as the time-lapse is playing. The year will update from 2017 to 2018 as the visualization is playing.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Being able to extract the year into its own container on the final time-lapse visualization.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I did some research into the API and did not see a solution. I am not sure if there is an underlying solution using JavaScript from python.

Additional context
image

Implementation
folium is maintained by volunteers. Can you help make a PR if we want to implement this feature?

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

The issue names no files, tests, or entry points. Start by locating the TimestampedGeoJson implementation and its generated JavaScript, then determine how the time-lapse date is exposed to the visualization. Done means users can place the changing year in a separate custom legend container.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.