maptalks / maptalks/maptalks.markercluster

请问如何给每个聚合点初始化开始的值

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
49
Forks
19
PR merge metrics
No merged PRs in 30d

Description

每个聚合点有个初始数字,比如10,100啥的。 然后在聚合的时候,需要把这个初始值进行累加得出聚合后的数量,但目前聚合图层只是简单的累加marker点的数量。 请问有没有方法能够实现这样的需求呢?

Contributor guide

No contributing guide indexed for this repository

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 file, test, or entry point. Start by locating the marker-clustering aggregation entry point and determine how cluster values are currently calculated; done should include a documented way to provide an initial value for each marker and verify that clustered totals include it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.