maptalks / maptalks/maptalks.markercluster

通过identify方法在聚合图层上捕获聚合点位,触发事件时,定位不准确问题

Open
#33 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49
Forks
19
PR merge metrics
No merged PRs in 30d

Description

如题,点击聚合图形周边区域的时候也会成功触发该聚合点位的回调,设置tolerance 属性 感觉没生效

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the identify method for the clustered layer and trace how its tolerance property is applied when a cluster callback is triggered. Reproduce the case by clicking around a cluster graphic, then verify that clicks outside the configured tolerance no longer invoke that cluster's callback; the issue names no file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.