python-visualization / python-visualization/folium
Customize Timestampedgeojson legend
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 7.4k
- 派生
- 2.3k
- 平均合并
- 17 小时 22 分钟
- 30 天内合并 PR
- 11
描述
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
Implementation
folium is maintained by volunteers. Can you help make a PR if we want to implement this feature?
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 未指定文件、测试或入口点。首先定位 TimestampedGeoJson 的实现及其生成的 JavaScript,然后确定时间推移日期是如何暴露给可视化的。完成的标准是用户可以将不断变化的年份放置在单独的自定义图例容器中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, python
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 45/100