CesiumGS / CesiumGS/cesium

Problem of loading vector points

Open
#9,898 4 comments 0 reactions 0 assignees View on GitHub
category - 3d tiles type - bug
Dominant language
JavaScript
Stars
15.7k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

VectorTilePointsWithBatchTable/tileset.json
tileset.style.labelText =
{
evaluate: function (feature) {
let strName = feature.getProperty('name');
return strName;
}
}

Adjust the height and browse repeatedly
texture manage Has been decreasing, Until negative

1: This causes the memory to not be released correctly

2: Load a larger vctr to load text Will reduce the frame rate
A large number of warning messages appear:
'requestAnimationFrame' handler took 207ms

![image](https://user-images.githubusercontent.com/40424513/139217962-0440fdab-c929-420b-8aa5-c2db7068f9a4.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem with VectorTilePointsWithBatchTable/tileset.json using the labelText callback, then repeatedly adjust the height and browse while observing texture memory and frame-time warnings. The reported outcome is that memory should be released correctly and loading a larger vector tile should not cause the described degradation; the payload does not name a source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.