Skip to content

tileVisible triggers before style is applied #11245

Open
@jbo023

Description

@jbo023

We are using the tileVisible Event on the Cesium3DTileset to style features based on some externally managed maps. This was working fine with the old Model Code. The new Model Code now applies the style after calling tileVisible.

The documentation also states that The style is applied to a tile before the [Cesium3DTileset#tileVisible](https://cesium.com/learn/cesiumjs/ref-doc/Cesium3DTileset.html#tileVisible) event is raised

the relevant code is the following in Cesium3DTileset.js raises the Event before Update. If i call update before tileVisible.raiseEvent it works as expected.

Sandcastle example

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions