当前位置: 首页 > news >正文

做网站网站彩票算犯法吗济南住房和城乡建设厅网站

做网站网站彩票算犯法吗,济南住房和城乡建设厅网站,推荐几个用vue做的网站,苏州网站制作方法Vue.js2Cesium1.103.0 六、标绘与测量 点#xff0c;线#xff0c;面的绘制#xff0c;可实时编辑图形#xff0c;点击折线或多边形边的中心点#xff0c;可进行添加线段移动顶点位置等操作#xff0c;并同时计算出点的经纬度#xff0c;折线的距离和多边形的面积。 De…Vue.js2Cesium1.103.0 六、标绘与测量 点线面的绘制可实时编辑图形点击折线或多边形边的中心点可进行添加线段移动顶点位置等操作并同时计算出点的经纬度折线的距离和多边形的面积。 Demo import PlotUtil from /utils/CesiumUtils/Plot/index.js export default {data () {return {plottingStatus: false,plotData: {},$PlotUtil: null,active: ,btns: [{name: point},{name: polyline},{name: polygon}// {// name: text// }]}},methods: {handleSave() {this.addGraphic(this.plotData)this.$PlotUtil.Destory()},addGraphic(data) {const _color new Cesium.Color.fromCssColorString(#17E980)if (data.drawingMode point) {viewer.entities.add({position: Cesium.Cartesian3.fromDegrees(data.centerPoint.longitude, data.centerPoint.latitude, data.centerPoint.altitude),point: {color: _color,// heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,// distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 30000.0),scaleByDistance: new Cesium.NearFarScalar(1.0e2, 1.0, 0.7e4, 0.8),pixelSize: 14,outlineWidth: 2,outlineColor: Cesium.Color.fromCssColorString(#fff)},label: {text: 经度${data.centerPoint.longitude}\n纬度${data.centerPoint.latitude}\n海拔${data.centerPoint.altitude}米,font: 30px sans-serif,// pixelOffset: new Cesium.Cartesian2(0.0, 45.0),// heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,fillColor: Cesium.Color.fromCssColorString(#fff),style: Cesium.LabelStyle.FILL_AND_OUTLINE,outlineWidth: 2,outlineColor: Cesium.Color.fromCssColorString(#000),disableDepthTestDistance: Number.POSITIVE_INFINITY,// distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 30000.0),scaleByDistance: new Cesium.NearFarScalar(1.0e2, 0.6, 0.7e4, 0.5)}})} else if (data.drawingMode polyline) {viewer.entities.add({position: Cesium.Cartesian3.fromDegrees(data.centerPoint.longitude, data.centerPoint.latitude, data.centerPoint.altitude),label: {text: ${data.activeShapeComputed}m,font: 30px sans-serif,// heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,fillColor: Cesium.Color.fromCssColorString(#fff),style: Cesium.LabelStyle.FILL_AND_OUTLINE,outlineWidth: 2,outlineColor: Cesium.Color.fromCssColorString(#000),disableDepthTestDistance: Number.POSITIVE_INFINITY,// distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 30000.0),scaleByDistance: new Cesium.NearFarScalar(1.0e2, 0.6, 0.7e4, 0.5)}})if (data.activeSubLine data.activeSubLine.length 0) {data.activeSubLine.map((line, lineIndex) {if (line.distance 0) returnconst positions Cesium.Cartesian3.fromDegreesArrayHeights([line.start.longitude, line.start.latitude, line.start.altitude,line.end.longitude, line.end.latitude, line.end.altitude])viewer.entities.add({position: Cesium.Cartesian3.fromDegrees(line.centerPoint.longitude, line.centerPoint.latitude, line.centerPoint.altitude),polyline: {// heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,positions: positions,material: _color,depthFailMaterial: new Cesium.PolylineDashMaterialProperty({_color}),width: 5},label: {text: ${line.distance}米,font: 30px sans-serif,fillColor: Cesium.Color.fromCssColorString(#fff),style: Cesium.LabelStyle.FILL_AND_OUTLINE,outlineWidth: 2,outlineColor: Cesium.Color.fromCssColorString(#000),disableDepthTestDistance: Number.POSITIVE_INFINITY,// distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 30000.0),scaleByDistance: new Cesium.NearFarScalar(1.0e2, 0.6, 0.7e4, 0.5)}})})}} else if (data.drawingMode polygon) {const vertices data.verticesPosition || data.activeShapePoints || []const _hierarchy []if (vertices.length 0) {vertices.map(point {_hierarchy.push(Cesium.Cartesian3.fromDegrees(point.longitude,point.latitude,point.altitude))})}if (_hierarchy.length 0) {const dynamicPositions new Cesium.CallbackProperty(function () {return new Cesium.PolygonHierarchy(_hierarchy)}, false) // 使贴地多边形在模型上有立体效果const center data.centerPointconst altitudes vertices.map(_ _.altitude)const max altitudes.sort()[altitudes.length - 1]center.altitude maxviewer.entities.add({position: Cesium.Cartesian3.fromDegrees(data.centerPoint.longitude, data.centerPoint.latitude, data.centerPoint.altitude),polygon: {// hierarchy: hierarchy,hierarchy: dynamicPositions,// extrudedHeight: 200,// perPositionHeight: true,// heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,material: new Cesium.ColorMaterialProperty(_color)},label: {text: ${data.activeShapeComputed}平方米,font: 30px sans-serif,fillColor: Cesium.Color.fromCssColorString(#fff),style: Cesium.LabelStyle.FILL_AND_OUTLINE,outlineWidth: 2,outlineColor: Cesium.Color.fromCssColorString(#000),disableDepthTestDistance: Number.POSITIVE_INFINITY,// heightReference: Cesium.HeightReference.CLAMP_TO_GROUND,// eyeOffset: new Cesium.Cartesian3(0, 0, -10000),// distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 10000.0),scaleByDistance: new Cesium.NearFarScalar(1.0e2, 0.6, 0.7e4, 0.5)}})}} else if (data.drawingMode text) {viewer.entities.add({position: Cesium.Cartesian3.fromDegrees(data.centerPoint.longitude, data.centerPoint.latitude, data.centerPoint.altitude),label: {text: text,font: _font,fillColor: _color,disableDepthTestDistance: Number.POSITIVE_INFINITY,distanceDisplayCondition: new Cesium.DistanceDisplayCondition(0.0, 30000.0),scaleByDistance: new Cesium.NearFarScalar(1.0e2, 0.6, 0.7e4, 0.5),show: visible}})}},initPlotUtil() {const _this thisthis.$PlotUtil new PlotUtil({defaultColorValue: #17E980,PlottingStatus: function (value) {_this.plottingStatus valueconsole.log(..................PlottingStatus, value)},Finish: function (data) {console.log(..................Finish, data)_this.plotData data},VerticesFinish: function (data) {console.log(..................VerticesFinish, data)},CurrentEditVertice: function (data) {console.log(..................CurrentEditVertice, data)}})},handleClick (item) {this.active this.active item.name? (this.active ): (this.active item.name)if (this.active) {this.$PlotUtil.StartPlot(this.active)} else {this.$PlotUtil.Destory()}}} } div classuldiv v-for(item, index) of btns :keyindex classli :class{ active: item.name active }clickhandleClick(item){{ item.name }}/divdiv classli :class{ disabled: plottingStatus } clickhandleSave保存/div/div
http://www.eeditor.cn/news/126486/

相关文章:

  • 上海专业网站建设 公司wordpress 首页修改
  • 网站的登录注册页面怎么做点击图片是网站怎么做
  • 我公司网站开发技术优势企业小型网站要多少钱
  • 济宁城乡住房建设网站久久建筑网资料全吗
  • 山西做网站推广wordpress菜单栏添加
  • 做万词霸屏后网站关键词没有排名自己可以建设网站吗
  • 手机可以搭建网站么网站备案有什么作用
  • 如何做电影网站不违法免费个人域名邮箱
  • 建设网站哪里便宜网站后缀
  • 网站开发入什么费用海口柏特网络科技有限公司
  • 卡片式设计 网站wordpress医院模板下载
  • 装饰网站建设方案怎么做乞讨网站
  • 网站怎么做导航简洁又有高级感的ppt
  • 做网站 营业执照怎么利用互联网平台赚钱
  • 重庆网站建设公司下载网站建设公司岗位
  • 辽宁省网站制作公司排名中国艺术设计联盟
  • 建设厅网站查询有没有做网站
  • 手机网站发布页电脑版简介网络营销的概念
  • 网站建设报价表格式重庆市建设工程信息网、
  • 河北住建城乡建设网站十大免费行情软件在线观看
  • 网站大图分辨率做多大电商代运营公司
  • 设计通网站建设广东微信网站制作哪家好
  • 搬家公司网站建设价格画册设计公司收费
  • app企业网站模板免费下载swf影视网站源码
  • 西宁网站怎么做seo提供企业网站建设价格
  • 电子商务网站开发常见如何让网站关键词搜录
  • 哪里有网站开发技术专业上海网站建设公司
  • 营销型网站创建成品短视频软件源码
  • 中国建设集团门户网站营销咨询顾问
  • 网站头图设计网站搭建功能需求