var sectorEntity =sectorCollection.add({
name: name,
id:"azimuth-"+id,
polygon: {
hierarchy: Cesium.Cartesian3.fromDegreesArrayHeights(tirangleCoords),
material: Cesium.Color.LIGHTSKYBLUE,
perPositionHeight:true},
sectorId:id,
station_x:sector.X,
station_y:sector.Y,//stationId:baseStationId,
//bsType:bsType
});var ploy =Cesium.Cartesian3.fromDegreesArrayHeights(tirangleCoords);var polyCenter =Cesium.BoundingSphere.fromPoints(ploy).center;
sectorCollection.add({
position:polyCenter,
label: {
text: reslabel,//font: '20px Helvetica',
//fillColor : Cesium.Color.SKYBLUE,
//outlineColor: Cesium.Color.BLACK,
//outlineWidth: 2,
showBackground:false,//backgroundColor: Cesium.Color.LIME,
//style: Cesium.LabelStyle.FILL_AN