python-visualization / python-visualization/folium

Handling groups in FastMarkerCluster

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

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

主要言語
Python
スター
7.4k
フォーク
2.3k
平均マージ
17時間 22分
マージ済み PR(30日)
11

説明

Is your feature request related to a problem? Please describe.
I really appreciate the FastMarkerCluster that allows me to plot over 300K markers and keep both a reactive map and a not so big generated HTML size (10 times smaller than MarkerCluster, so in my case 30MB vs 300MB).
However, as far as I understand, we loose the ability to manage groups ... with MarkerCluster it was possible to define several FeatureGroupSubGroup objects so that I could show/hide a subset of my data (e.g. markers for 2G / 3G / 4G / 5G mobile cells coordinates).
Could this be done with FastMarkerCluster ???

Describe the solution you'd like
Have FastMarkerCluster handle groups that are controlled through the Layer Control.

Describe alternatives you've considered
None

Additional context
In the below map snapshot, I am using FastMarkerCluster to plot 2G (black) / 3G (gray) / 4G (blue) / 5G (red) cells. The cell color is handled in the callback though a network_type attribute that is provided in addition to latitude and longitude.
Instead of a single item "Cell coordinates", I'd like to have 4 items based on the cell technology.

image

Implementation
Not sure to have the requested knowledge yet ...

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

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

はじめの一歩

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

調査の方向性

issue に記載されている FastMarkerCluster と Layer Control のエントリポイントから始め、既存の MarkerCluster FeatureGroupSubGroup の動作と比較します。完了の条件は、FastMarkerCluster が 2G、3G、4G、5G などの技術グループを Layer Control 経由で個別に公開でき、大規模データセットと HTML サイズに関する利点を維持できることです。

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

評価

技術スタック
javascript, python
領域
data-visualization, frontend
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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