maptalks / maptalks/maptalks.heatmap
vue中添加数据报错误 “t is not defined”
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 52
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
添加数据时就报错误 “t is not defined”(使用setData()、addPoint()都会报错,即使创建HeatLayer图层时传入数据均会报错),不添加数据只创建HeatLayer不报错。请问一下这个是调用的姿势不正确还是bug?
传入的数据和报错见下图

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error with a HeatLayer using setData(), addPoint(), and constructor data, using the attached screenshot as the reported failure. Trace where the “t is not defined” error occurs and verify that creating a HeatLayer with data no longer raises it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100