|
@@ -85,6 +85,7 @@ export function loadGeoJSON(geom, yanse, adata, fun) {
|
|
);
|
|
);
|
|
entity.label = {
|
|
entity.label = {
|
|
font: "bolder 18px sans-serif",
|
|
font: "bolder 18px sans-serif",
|
|
|
|
+ distanceDisplayCondition: new Cesium.DistanceDisplayCondition(100, adata.lab_max || 10000),
|
|
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
|
|
style: Cesium.LabelStyle.FILL_AND_OUTLINE,
|
|
text: adata.name, //图标名称
|
|
text: adata.name, //图标名称
|
|
fillColor: Cesium.Color.fromCssColorString(yanse),
|
|
fillColor: Cesium.Color.fromCssColorString(yanse),
|