Skip to main content
100%

Gist 092aa2e48ca8ac4518b5b5c39e1c1682

✓ Published0🌍 Public
YYousefED
Last edited Dec 10, 2016
Created on Dec 10, 2016

This example demonstrates a performance stress test for rendering a large collection of paths in a Cesium geospatial scene. The visualization displays 1,000 red glowing polylines, each spanning a fixed geographic area. The code uses the Cesium `PolylineCollection` primitive to aggregate all lines into a single rendering object, with each line created via `Cesium.Cartesian3.fromDegreesArray` for coordinate conversion. The visual style applies `Cesium.Material.PolylineGlowType`, a glow material with a specified `glowPower` and `Cesium.Color.RED`, and a fixed line width of 10 pixels. The scene is hosted in a `Cesium.Viewer` container, with all polylines added programmatically in a loop.

AI-generated description

Similar vizzes