python-visualization / python-visualization/folium

Customize Timestampedgeojson legend

オープン
#1,860 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
7.4k
フォーク
2.3k
平均マージ
17時間 22分
マージ済み PR(30日)
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
image

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

この issue にはファイル、テスト、エントリーポイントが記載されていません。まず TimestampedGeoJson の実装と、そこから生成される JavaScript を見つけ、次に time-lapse の日付がどのように可視化に公開されているかを確認してください。ユーザーが変化する年を別のカスタム凡例コンテナに配置できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, python
領域
data-visualization
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。