Hi Carlo, you might be interested in this discussion I started quite some time ago. I don’t have a great answer for you. I handle this by loading the KML, then manually iterating over the DataSource’s entities
collection and updating the label properties on each. If you call entities.suspendEvents()
, then iterate over entities.values
, then call entities.resumeEvents()
, performance isn’t too bad and you only have to do it once. Of course, if your KML comes from a NetworkLink, you have to watch for changes, which would be a great reason to get some more attention on the discussion I linked and push for a better solution from Cesium…
1 Like