maptalks / maptalks/maptalks.js

后处理开关操作多次报错

Open
#1,748 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
HTML
Stars
4.5k
Forks
511
Avg merge
3d 58m
Merged PRs (30d)
1

Description

**maptalks's version and what browser you use?**
----
设备:macbookpro 16
系统:macos 12.4
硬件:i7 16 + 512 AMD5300m 4g
浏览器:chrome 102.0.5005.115
显示器:4k

**Issue description**
----
```
const sceneConfig = groupGLLayer.getSceneConfig();

sceneConfig.postProcess.enable = true;
```
多次操作报错
image

**Please provide a reproduction URL (on any jsfiddle like site)**
----

Contributor guide

Open the contributing guide

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

Start by reproducing the report around groupGLLayer.getSceneConfig() and repeated assignments to sceneConfig.postProcess.enable, using the stated macOS and Chrome details if possible. Inspect the post-processing configuration entry point and the captured error, then verify that toggling the setting multiple times no longer produces the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.