var data = [ { id: "document", name: "CZML Point", version: "1.0" }, { id: "Point 1", name: "各达山", position: { cartographicDegrees: [105.541667, 23.195833, 10] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6, zIndex: 10 }, label: { text: "各达山", font: "24px Helvetica", fillColor: Cesium.Color.BLACK, //字体颜色 showBackground: true, //是否显示背景颜色 backgroundColor: Cesium.Color.AQUA, //背景颜色 backgroundPadding: new Cesium.Cartesian2(25, 75), style: Cesium.LabelStyle.FILL_AND_OUTLINE, //label样式 verticalOrigin: Cesium.VerticalOrigin.TOP, //垂直位置 horizontalOrigin: Cesium.HorizontalOrigin.LEFT, //水平位置 pixelOffset: new Cesium.Cartesian2(25, 75), //偏移 zIndex: 10 } }, { id: "Point 2", name: "旧州", position: { cartographicDegrees: [105.8, 24.65, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 3", name: "基长", position: { cartographicDegrees: [107.65, 25.7, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 4", name: "同古", position: { cartographicDegrees: [109.3166667, 26.58333333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 5", name: "比耳", position: { cartographicDegrees: [109.3833333, 28.78333333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 6", name: "来凤", position: { cartographicDegrees: [109.4, 29.51666667, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 7", name: "岳阳", position: { cartographicDegrees: [113.12, 29.38333333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 8", name: "修水", position: { cartographicDegrees: [114.5666667, 29.03333333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 9", name: "宁冈", position: { cartographicDegrees: [113.95, 26.7, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 10", name: "高坪", position: { cartographicDegrees: [114.1166667, 26.05, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 11", name: "赣州", position: { cartographicDegrees: [114.8733333, 25.76666667, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 12", name: "点", position: { cartographicDegrees: [115.4166667, 25.09166667, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 13", name: "点", position: { cartographicDegrees: [115.4008333, 24.67333333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 14", name: "大埔", position: { cartographicDegrees: [116.7, 24.36666667, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 15", name: "诏安", position: { cartographicDegrees: [117.1833333, 23.7, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 16", name: "点", position: { cartographicDegrees: [117.5, 23.5, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 17", name: "点", position: { cartographicDegrees: [117.5, 23, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 18", name: "点", position: { cartographicDegrees: [115.6666667, 22.40833333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 19", name: "点", position: { cartographicDegrees: [114.5, 22.40833333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 20", name: "点", position: { cartographicDegrees: [113.8666667, 22.35833333, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 21", name: "点", position: { cartographicDegrees: [111.5, 19.5, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 22", name: "点", position: { cartographicDegrees: [111.5, 20.5, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 23", name: "点", position: { cartographicDegrees: [108.05, 20.5, 0] }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "Point 24", name: "点", position: { cartographicDegrees: [108.2086111, 21.20972222, 0] }, label: { text: "Point 24", font: "24px Helvetica", color: { rgba: [0, 0, 0, 255] }, fillColor: Cesium.Color.SKYBLUE, outlineColor: Cesium.Color.BLACK, outlineWidth: 2, style: Cesium.LabelStyle.FILL_AND_OUTLINE }, point: { color: { rgba: [0, 0, 0, 255] }, pixelSize: 6 } }, { id: "document", name: "CZML Geometries: Polyline and billboard", version: "1.0" }, { id: "polyline01", name: "travel to and fro between TEBON and 杏林;", polyline: { positions: { cartographicDegrees: [ 117.5002778, 24.13416667, 0, 118.0166667,24.56666667, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline02", name: "travel to and fro between TEBON and P51;", polyline: { positions: { cartographicDegrees: [ 117.5002778, 24.13416667, 0, 116.8019444, 24.56916667, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline03", name: "travel to and fro between TEBON and NUSPA;", polyline: { positions: { cartographicDegrees: [ 117.5002778, 24.13416667, 0, 117.6191667, 24.05055556, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline04", name: "travel to and fro between TEBON and DABER;", polyline: { positions: { cartographicDegrees: [ 117.5002778, 24.13416667, 0, 116.8519444, 24.135, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline05", name: "travel to and fro between TEBON and SAPUT;", polyline: { positions: { cartographicDegrees: [ 117.5002778, 24.13416667, 0, 117.0333333, 23.90111111, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline06", name: "travel to and fro between TEBON and IKATA;", polyline: { positions: { cartographicDegrees: [ 117.5002778, 24.13416667, 0, 117.1338889,23.7525, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline07", name: "From NUSPA to BINUS;", polyline: { positions: { cartographicDegrees: [ 117.6191667, 24.05055556, 0, 117.4005556, 23.83472222, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline08", name: "From BINUS to IKATA;", polyline: { positions: { cartographicDegrees: [ 117.4005556, 23.83472222, 0, 117.1338889, 23.7525, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline09", name: "travel to and fro between IKATA and SAPUT;", polyline: { positions: { cartographicDegrees: [ 117.1338889, 23.7525, 0, 117.0333333, 23.90111111,0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline10", name: "travel to and fro between SAPUT and DABER;", polyline: { positions: { cartographicDegrees: [ 117.0333333, 23.90111111,0, 116.8519444, 24.135, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline11", name: "travel to and fro between DABER and P51;", polyline: { positions: { cartographicDegrees: [ 116.8519444, 24.135, 0, 116.8019444, 24.56916667, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "polyline12", name: "From NUSPA to DABER;", description: "
这是注释,从NUSPA 到 DABER单向航线
", polyline: { positions: { cartographicDegrees: [ 117.6191667, 24.05055556, 0, 116.8519444, 24.135, 0 ] }, width: 2, material: { solidColor: { color: { rgba: [36,73,117, 255] } } }, zIndex: 10, // distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0, 50000), show: true } }, { id: "billboard01", name: "TEBON", description: "注释可加链接跳转. 注释.
", billboard: { image:"../Public/img/icon01.png", scale: 0.5, width: 30, height: 26 }, label: { fillColor: { rgba: [36, 73, 117, 255] }, font: "18px Helvetica", verticalOrigin: "BOTTOM",//垂直位置 horizontalOrigin: "CENTER",//水平位置 pixelOffset: { cartesian2: [8, 0] }, style: "FILL", text: "TEBON", showBackground: true, backgroundColor: { rgba: [112, 89, 57, 200] } }, position: { cartographicDegrees: [117.5002778, 24.13416667, 0] } }, { id: "billboard02", name: "杏林", description: "注释.
", billboard: { image:"../Public/img/icon02.png", scale: 0.5, width: 36, height: 28 }, label: { fillColor: { rgba: [36, 73, 117, 255] }, font: "18px Helvetica", verticalOrigin: "CENTER",//垂直位置 horizontalOrigin: "RIGHT",//水平位置 pixelOffset: { cartesian2: [-12, 0] }, style: "FILL_AND_OUTLINE", text: "杏林", showBackground: false, backgroundColor: { rgba: [112, 89, 57, 200] } }, position: { cartographicDegrees: [118.0166667, 24.56666667, 0] } }, { id: "billboard03", name: "漳州机场", description: "注释.
", billboard: { image:"../Public/img/icon03.png", scale: 0.5, width: 30, height: 30 }, label: { fillColor: { rgba: [36, 73, 117, 255] }, font: "18px Helvetica", verticalOrigin: "CENTER",//垂直位置 horizontalOrigin: "LEFT",//水平位置 pixelOffset: { cartesian2: [-44, 0] }, style: "FILL_AND_OUTLINE", text: "漳州", showBackground: false, backgroundColor: { rgba: [112, 89, 57, 200] } }, position: { cartographicDegrees: [117.65469408873497, 24.561665899584984, 0] } }, { id: "billboard04", name: "厦门/高崎", description: "注释.
", billboard: { image:"../Public/img/icon04.png", scale: 0.5, width: 36, height: 36 }, label: { fillColor: { rgba: [36, 73, 117, 255] }, font: "18px Helvetica", verticalOrigin: "CENTER",//垂直位置 horizontalOrigin: "RIGHT",//水平位置 pixelOffset: { cartesian2: [-12, 0] }, style: "FILL_AND_OUTLINE", text: "厦门/高崎", showBackground: false, backgroundColor: { rgba: [112, 89, 57, 200] } }, position: { cartographicDegrees: [118.11783109396191, 24.53852070726468, 0] } }, ];