clustering CustomDataSource: length undefined
See original GitHub issueHi,
I’m trying to enable clustering in the <CustomDataSource/> component. however i’m getting the following error
quick example of my render method:
<Viewer
full
baseLayerPicker={false}
infoBox={false}
homeButton={false}
animation={false}
timeline={false}
scene3DOnly={true}
shadows={true}
fullscreenButton={false}
onSelectedEntityChanged={e => this.flyTo(e)}
selectionIndicator={false}
imageryProvider={this.renderImageryProvider()}
ref={e => {
this.viewer = e ? e.cesiumElement : null;
}}
>
<ScreenSpaceCameraController
maximumZoomDistance={20000}
minimumZoomDistance={50000000}
/>
<CustomDataSource
name="customDataSourceThing"
clustering={{
enabled: true,
pixelRange: 15,
minimumClusterSize: 3,
clusterBillboards: true,
clusterLabels: false,
clusterPoints: false
}}
show={true}
>
<Entity
name="customDataSourceThing"
description="test"
position={Cartesian3.fromDegrees(-74.0707383, 41.7117244, 100)}
point={{ pixelSize: 10 }}
/>
</CustomDataSource>
</Viewer>
Let me know if you need more details regarding the example?
Regards, Jarno
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
clustering CustomDataSource: length undefined #9 - GitHub
Hi, I'm trying to enable clustering in the component. however i'm getting the following error quick example of my render method:
Read more >How to solve the clustering bug in Cesium? - Stack Overflow
I produced it by creating lots of entities with label. Howeveer, when I set the clustering enabled, some labels were invisible in 2D....
Read more >CustomDataSource - Cesium Documentation
Gets or sets the clustering options for this data source. This object can be shared between multiple data sources. entities : EntityCollection ·...
Read more >GeoJsonDataSource - Cesium Documentation
This DataSource only defines static data, therefore this property is always undefined. clustering : EntityCluster. Gets or sets the clustering options for this ......
Read more >Changelog - Cacti
Increased bulk insert size to avoid partial inserts and potential data loss. issue, 4810, Call to undefined function boost_debug in Cacti log. issue,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://resium.darwineducation.com/examples/?path=/story/customdatasource--use-entity-cluster
Is there a new EntityCluster example? e.g. has this been resolved?