FeatureLayer

A named set of features defined by source data. It neither renders nor styles its features. The source format does not matter to the layer. Currently, layers are created from 3D Tiles 1.1 groups or from GeoJSON.

Do not construct this directly. Access layers through a Cesium3DTileset#featureLayers or a FeatureLayerProvider, such as GeoJsonFeatureLayerProvider#featureLayers.

internal constructor new Cesium.FeatureLayer()

Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

Members

name : string|undefined

The layer name. For a 3D Tiles group, defaults to its property with the NAME semantic, then its name property, otherwise undefined.
Whether the layer is shown. In a Cesium3DTileset, tiles in a hidden layer are not requested or rendered. Tiles with multiple contents are not yet affected. In an MVTDataProvider, each tile holds every layer, so tiles are still requested and only the hidden layer's features are not rendered.
Default Value: true
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.