antvis / antvis/L7

网格热力通过.source设置网格大小不生效

Open
#2,299 5 comments 3 reactions 2 assignees Claimed by @Dreammy23 View on GitHub
🌟 star good first issue
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

### 问题描述

this.heatmapLayer.source(this.d, {
parser: {
type: "json",
x: "lng",
y: "lat",
},
transforms: [
{
type: "grid",
size: this.value1,
field: "v",
method: "sum",
},
],
});
this.polygonLayer.size("sum", [0, this.value1 * 4]);
this.scene.render();
}
通过.source设置网格大小失效,试了通过.size设置网格高度是生效的,请问怎么设置网格的大小

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.