//绘制geojson图层样式
var geoJsonStyle ={
stroke: Cesium.Color.YELLOW,
strokeWidth:3,
fill: Cesium.Color.YELLOW.withAlpha(0.1)
};var geoserverUrl = 'http://localhost:8080/geoserver/WebGIS';var image_Source = newCesium.UrlTemplateImageryProvider({//url: 'http://mt0.google.cn/vt/lyrs=t,r&hl=zh-CN&gl=cn&x={x}&y={y}&z={z}',//url: 'https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}',
url: "http://map.geoq.cn/ArcGIS/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}",//tilingScheme : new Cesium.GeographicTilingScheme(),
credit: ''});var viewer = new Cesium.Viewer('map', {
geocoder:false,
homeButton:false,
sceneModePicker:false,
fullscreenButton:false,
vrButton:false,
baseLayerPicker:false,
infoBox:false,
selectionIndicator:false,
animation:false,
timeline:false,
shouldAnimate:true,
navigationHelpButton:false,
navigationInstructionsInitiallyVisible:false,
imageryProvider: image_Source
});//加载geoserver wms服务
var wms = newCesium.WebMapServiceImag