addWarningGeom(features) {
// if (!_viewer) {
_viewer = this.viewer()
// }
let gw = {
type: 'FeatureCollection',
features: features,
}
let ds = this.getWarningDatasource()
if (ds) {
_viewer.dataSources.remove(ds, true)
}
Cesium.GeoJsonDataSource.load(gw, {
strokeWidth: 5,
clampToGround: true,
}).then((dataSource) => {
dataSource.name = _dataSourceName1
_viewer.zoomTo(dataSource)
_viewer.dataSources.add(dataSource)
let neighborhoodEntities =
dataSource._entityCollection._entities.values
for (var i = 0; i < neighborh