folium icon indicating copy to clipboard operation
folium copied to clipboard

Customize Timestampedgeojson legend

Open Celtics33 opened this issue 2 years ago • 1 comments

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?

Celtics33 avatar Jan 14 '24 15:01 Celtics33

Something like this example with the year in the corner :

image

Celtics33 avatar Jan 16 '24 14:01 Celtics33