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

wordpress4.9.8漏洞如何优化标题关键词

wordpress4.9.8漏洞,如何优化标题关键词,乐亭网站建设,婚纱摄影哪家好文章目录 可视化项目 gis 资源复用思路底图、模型替换思路具体操作 可视化项目 gis 资源复用思路 背景: A项目的底图、模型 是现在在做的 B项目所需要的,现在要把 B项目的底图之类的替换成 A系统的 底图、模型替换思路 观察可访问系统的 gis 相关网络请…

文章目录

  • 可视化项目 gis 资源复用思路
    • 底图、模型替换思路
    • 具体操作

可视化项目 gis 资源复用思路

请添加图片描述
背景: A项目的底图、模型 是现在在做的 B项目所需要的,现在要把 B项目的底图之类的替换成 A系统的

底图、模型替换思路

观察可访问系统的 gis 相关网络请求(找到瓦片底图图片、json 文件、3d模型文件的网络请求)

去代码中定位(关键路径,比如 myMapApi/CQKSHMAP,去搜到相关代码,进行两份代码对比)

分析关联代码,将地址路径拼接正确(目的是为了加载、访问同一份资源,即复用)

查看控制台相关报错,针对性解决报错(可能会缺少相关配置文件,复制过来直接使用)
请添加图片描述


具体操作

更改地图加载配置:src\views\components\common\myMap.vue

  • initMap 需要对比着两份文件去改

    • 更改资源请求路径

      • 大致就是配置请求 base路径

      • 瓦片加载地址(earth.sceneTree.root

      • 白模、精模加载地址(this.urls = '/api/myMapApi'

        • 精模、白模都是通过 this.add3DTiles(……) 加载的

        • this.add3DTiles('/CQKSHMAP/tileset.json', null, true) // ……白模
          this.add3DTiles('/CQKSHMAP/xiaolongkan/tileset.json', false, -225.4756439025631) // 小龙坎白模
          this.add3DTiles('/CQKSHMAP/ciqikou/tileset2.json', true, -187.74468302780863) // 磁器口精模
          this.add3DTiles('/CQKSHMAP/sanxia/tileset.json', false, -206.62957102924753) // 三峡精模
          

(↓ 这部分是基于项目做的额外处理)

  • 更改3D地球默认视角配置(flyToDeafultView()

  • 更改过滤点范围(超出范围的点位将不被渲染)

    • 基于 2024.4 自己优化修复的无效点位造成地图消失问题,需要配置
  • 更改加载的道路流光数据

    • 将新要到的道路数据放到 public\Data 目录下,并修改 common.getJson("../Data/spbroad.json") 为对应的路径
addLightLine () {let vm = this;common.getJson("../Data/spbroad.json").then(res => {var lines = [];res.data.features.forEach((item, index) => {var line = [];var coordinates = item.geometry.coordinates[0];for (var i in coordinates) {line.push(coordinates[i][0], coordinates[i][1]);}lines.push(line);});vm.createFlyLines(lines)}).catch()
},initMap () {//默认代理// var mapUrl = "/mapTile/{z}/{x}/{y}.png";if (process.env.NODE_ENV === 'development') {this.urls = '/api/myMapApi'this.modelurl = '/api/glbApi'} else {// mapUrl = "/ksh3Dfile/CQKSHMAP/{z}/{x}/{y}.png";this.urls = window.location.protocol + '//' + window.location.host}var Cesium = this.Cesiumvar earth = new window.XE.Earth('map', {timeline: false,animation: false,geocoder: false,canAnimate: false,homeButton: false,sceneModePicker: false,baseLayerPicker: false,infoBox: false,shouldAnimate: false,navigationHelpButton: false,sceneMode: Cesium.SceneMode.SCENE3D,//是否以二维的形式展现skyBox: new Cesium.SkyBox({sources: {positiveX: require('@/assets/sky/tycho2t3_80_px.jpg'),negativeX: require('@/assets/sky/tycho2t3_80_mx.jpg'),positiveY: require('@/assets/sky/tycho2t3_80_py.jpg'),negativeY: require('@/assets/sky/tycho2t3_80_my.jpg'),positiveZ: require('@/assets/sky/tycho2t3_80_pz.jpg'),negativeZ: require('@/assets/sky/tycho2t3_80_mz.jpg')}}),})this.initChildrenLength = earth.sceneTree.root.children.lengthconst bloom = earth.postProcess.bloom// 发光特效bloom.enabled = falsebloom.glowOnly = falsebloom.contrast = 128bloom.brightness = -1.2bloom.delta = 1bloom.sigma = 3bloom.stepSize = 5bloom.isSelected = falseconst shadow = earth.effect.shadowshadow.enabled = falseshadow.darkness = 0.32shadow.maximumDistance = 2900000shadow.terrainShadow = falseshadow.softShadows = trueshadow.normalOffset = truethis.viewer = earth.czm.viewerthis.viewer.cesiumWidget.screenSpaceEventHandler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_DOUBLE_CLICK)earth.sceneTree.root = {'children': [{"czmObject": {"name": "百度地图","xbsjType": "Imagery","xbsjImageryProvider": {"XbsjImageryProvider": {"url": this.urls + '/CQKSHMAP/{z}/{x}/{y}.jpg',"srcCoordType": "BD09","dstCoordType": "WGS84"},}}}]}this.viewer.scene.fxaa = truethis.viewer.scene.postProcessStages.fxaa.enabled = truethis.viewer.scene.globe.baseColor = Cesium.Color.fromCssColorString('#011124')// var CartographicCenter = Cesium.Cartesian3.fromDegrees(106.455139, 29.551507, 1000)// AddCircleScanPostStage(this.viewer, CartographicCenter, 800, scanColor, 1000)this.viewer.scene.globe.depthTestAgainstTerrain = truethis.viewer.scene.skyAtmosphere.show = false// 获取图层列表集合var imageryLayers = this.viewer.imageryLayersvar viewModel = {// 图层亮度,1.0使用未修改的图像颜色。小于1.0会使图像更暗,而大于1.0会使图像更亮brightness: 1.5,// 图层对比度,1.0使用未修改的图像颜色。小于1.0会降低对比度,大于1.0会增加对比度。contrast: 2.25,// 图层色调,单位为弧度,0表示使用未修改的图像颜色hue: 3.0,// 图层饱和度,1.0使用未修改的图像颜色。小于1.0会降低饱和度,大于1.0会增加饱和度。saturation: 3.0,// 应用于该图层的伽马校正,1.0使用未修改的图像颜色。gamma: 0.57}// ---修改地图基础色调var layer = imageryLayers.get(0) || {}layer.brightness = viewModel.brightness// 定义最大视野范围,渲染点位时传入参数启用,在此范围外的点位将被隐藏(每次换完地图记得改)this.visiableRectangle = {west: 106.2857926449792, // 最西边的经度坐标 // latitudeMineast: 106.66852453515835,// 最东边的经度坐标 // latitudeMaxnorth: 30.092818813389517, // 最北边的纬度坐标 // longitudeMinsouth: 29.646487489780533, // 最南边的纬度坐标 // longitudeMax}this.flyToDeafultView() // 封装成了方法,请在方法里更改参数 ↓this.add3DTiles('/CQKSHMAP/tileset.json', null, true) // ……白模this.add3DTiles('/CQKSHMAP/xiaolongkan/tileset.json', false, -225.4756439025631) // 小龙坎白模// this.add3DTiles('/CQKSHMAP/xizhan/tileset.json', -260.94252427098672)this.add3DTiles('/CQKSHMAP/ciqikou/tileset2.json', true, -187.74468302780863) // 磁器口精模this.add3DTiles('/CQKSHMAP/sanxia/tileset.json', false, -206.62957102924753) // 三峡精模},// 飞到默认的视角
flyToDeafultView () {this.viewer.camera.setView({destination: Cesium.Cartesian3.fromDegrees(106.4984112, 29.482837, 3513.312453442188),orientation: {heading: Cesium.Math.toRadians(-30),pitch: Cesium.Math.toRadians(-18),roll: Cesium.Math.toRadians(0)}})
},

更改本地代理(开发环境访问):vue.config.js

proxy: {glbApi: {target: 'https://www.xxx.com:33333', // 换成对应的地址myMapApi: {target: 'http://222.111.111.22:6666/', // 换成对应的地址

更换道路 json 文件:public\Data\spbroad.json

  • 问 负责gis数据这块的同事 要到最新/对应的道路数据 json 文件



------------- END 许愿区 -------------

最近想换工作,有没有大佬捞一下本人5年前端开发工作经验,函授本科学历,软件工程专业毕业,在校有专业竞赛经历并获奖
会做大屏驾驶舱、PC端业务系统、移动端H5应用、uniapp 多端应用开发、原生微信小程序开发(含简单的地图逻辑开发)
意向城市成都、重庆,川渝两省范围优先考虑

文章转载自:
http://dinncovasovagal.stkw.cn
http://dinncometapsychical.stkw.cn
http://dinncogeological.stkw.cn
http://dinncounderlay.stkw.cn
http://dinncometabolize.stkw.cn
http://dinncomegalosaurus.stkw.cn
http://dinncotransvalue.stkw.cn
http://dinncohyalogen.stkw.cn
http://dinncohaustellum.stkw.cn
http://dinncoscuncheon.stkw.cn
http://dinncoinheritor.stkw.cn
http://dinncoosteopathy.stkw.cn
http://dinnconas.stkw.cn
http://dinncocacique.stkw.cn
http://dinncostroam.stkw.cn
http://dinncovenomously.stkw.cn
http://dinncovideoland.stkw.cn
http://dinncohypogene.stkw.cn
http://dinncomonsveneris.stkw.cn
http://dinncodiscreteness.stkw.cn
http://dinncobally.stkw.cn
http://dinncodiaper.stkw.cn
http://dinncoredball.stkw.cn
http://dinncocaiaphas.stkw.cn
http://dinncopuerilely.stkw.cn
http://dinncocunene.stkw.cn
http://dinncologaniaceous.stkw.cn
http://dinncorain.stkw.cn
http://dinncounsound.stkw.cn
http://dinncoobsidionary.stkw.cn
http://dinncoallopelagic.stkw.cn
http://dinncorhinopolypus.stkw.cn
http://dinncorobotize.stkw.cn
http://dinncogreenery.stkw.cn
http://dinncoomelette.stkw.cn
http://dinncoexpressional.stkw.cn
http://dinncotsamba.stkw.cn
http://dinncobernicle.stkw.cn
http://dinncodresser.stkw.cn
http://dinncosouari.stkw.cn
http://dinncomesmerist.stkw.cn
http://dinncofabled.stkw.cn
http://dinncodivvers.stkw.cn
http://dinncospeedster.stkw.cn
http://dinncowankel.stkw.cn
http://dinncoendogen.stkw.cn
http://dinncopaladin.stkw.cn
http://dinncoallosteric.stkw.cn
http://dinncoinerrable.stkw.cn
http://dinncosuperhet.stkw.cn
http://dinncoaerology.stkw.cn
http://dinncooverpeopled.stkw.cn
http://dinncoflocculence.stkw.cn
http://dinncosuq.stkw.cn
http://dinncopriorship.stkw.cn
http://dinncoconstitutive.stkw.cn
http://dinncoclaviform.stkw.cn
http://dinncocatapult.stkw.cn
http://dinnconewsman.stkw.cn
http://dinncosoutheastern.stkw.cn
http://dinncogerald.stkw.cn
http://dinncodiastalsis.stkw.cn
http://dinncotowy.stkw.cn
http://dinncolightly.stkw.cn
http://dinncoprovider.stkw.cn
http://dinncoshooter.stkw.cn
http://dinncochalcopyrite.stkw.cn
http://dinncocommemorate.stkw.cn
http://dinncodinah.stkw.cn
http://dinncosynclinorium.stkw.cn
http://dinncofall.stkw.cn
http://dinncojudea.stkw.cn
http://dinncoseldom.stkw.cn
http://dinncohonoria.stkw.cn
http://dinncohydroforming.stkw.cn
http://dinncomore.stkw.cn
http://dinncofingered.stkw.cn
http://dinncocolocynth.stkw.cn
http://dinncopipy.stkw.cn
http://dinncoolfaction.stkw.cn
http://dinncomesonephros.stkw.cn
http://dinncobayreuth.stkw.cn
http://dinncopill.stkw.cn
http://dinncosemisecrecy.stkw.cn
http://dinncodifficile.stkw.cn
http://dinncotransmarine.stkw.cn
http://dinncopolychromatic.stkw.cn
http://dinncodrawspring.stkw.cn
http://dinncorazorjob.stkw.cn
http://dinncosubcrust.stkw.cn
http://dinncofantasy.stkw.cn
http://dinncoundutiful.stkw.cn
http://dinncofuguist.stkw.cn
http://dinncoschillerize.stkw.cn
http://dinncobrooklyn.stkw.cn
http://dinncovolt.stkw.cn
http://dinncocompliable.stkw.cn
http://dinncoparricidal.stkw.cn
http://dinncovex.stkw.cn
http://dinncospatterware.stkw.cn
http://www.dinnco.com/news/105901.html

相关文章:

  • 在线构建网站1688关键词排名查询工具
  • 大馆陶网站手机免费建网站
  • 米趋外贸网站建设曼联vs曼联直播
  • 沙元浦做网站的公司推广软件赚钱
  • 自己做网站卖东西需要交税吗赣州网站建设公司
  • 做企业网站要注意什么比较好的软文发布平台
  • sql数据库添加网站怎样做产品推广
  • 做计算机网站有哪些功能百度投诉中心在线申诉
  • 最好的机票网站建设软文发布推广平台
  • 电商网站设计平台百度推广手机客户端
  • 安康网站建设公司电话免费公司网站建站
  • 公司产品网站应该怎么做举一个网络营销的例子
  • word网站链接怎么做项目推广网站
  • wordpress主题模板视频网站深圳网络推广网络
  • 做网站的例子百度账号快速注册
  • 湛江手机网站建设服务营销案例100例
  • 宁夏网站设计公司北京搜索引擎关键词优化
  • 怎么仿制网站中国seo谁最厉害
  • a站免费最好看的电影片推荐网站免费网站免费
  • 中国建筑网官网查询人员证书查如何推广seo
  • 用别人家网站做跳转信息流广告优化师
  • 简单动画制作企业网站优化软件
  • 婚纱摄影的网站模板任何东西都能搜出来的软件
  • 网站项目策划书模板广州seo顾问
  • 绿色商城网站模板四川最好的网络优化公司
  • 网站后台管理界面html链接式友谊
  • 网页app生成器原理seo搜论坛
  • 做创意网站免费聊天软件
  • 外贸工厂 网站建设潮州seo
  • wordpress网站速度优化网址搜索引擎入口