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

wordpress站点改名马良行网站3d模型预览怎么做的

wordpress站点改名,马良行网站3d模型预览怎么做的,wordpress网页优化,毕设做网站需要买域名么注#xff1a; 1.默认的聚合点可以点击自动展示子级点位#xff0c;但是自定义的聚合点在ios上无法触发markerClusterClick的监听#xff0c;至今未解决#xff0c;不知啥原因 2.ios和安卓展示的点位样式还有有差别 源码附上 templateview classmarke…注 1.默认的聚合点可以点击自动展示子级点位但是自定义的聚合点在ios上无法触发markerClusterClick的监听至今未解决不知啥原因 2.ios和安卓展示的点位样式还有有差别 源码附上 templateview classmarker-mapmap idmapId stylewidth: 100%; height:1342rpx ; :latitudelatitude :longitudelongitudeshow-location show-scale :scalezoom regionchangeregionchange updatedupdate callouttapcallouttap/mapview classlayer flex-column align-endview classcur-location justify-center align-center clickbackCenterimage :srcimgConf.position mode stylewidth:60%;height: 60%;/image/viewview classlistu-transition :showshowMarkerListPop modefade-upmapMarkerList oncloseshowMarkerListPopfalse //u-transition/view/view/view /templatescriptimport mapMarkerList from ./components/mapMarkerList.vueimport imgConf from /utils/imgConf.jsexport default {components: {mapMarkerList},data() {return {imgConf,longitude: 104.04311,latitude: 30.64242,markers: [], // 使用 marker点击事件 需要填写idfixedHeight: 60,zoom: 16,showMarkerListPop: false}},created() {this.mapContext uni.createMapContext(mapId, this);console.log(this.mapContext, this.mapContext);// 使用默认聚合效果时可注释下一句this.bindEvent()this.getDotList();},methods: {bindEvent() {this.mapContext.initMarkerCluster({enableDefaultStyle: false,zoomOnClick: true,gridSize: 100,complete(res) {console.log(initMarkerCluster, res)}});// enableDefaultStyle 为 true 时不会触发该事件this.mapContext.on(markerClusterCreate, res {const clusters res.clustersconst markers clusters.map(cluster {const {center,clusterId,markerIds} clusterreturn {...center,width: 1,height: 1,clusterId, // 必须iconPath: ,label: {content: 盛世年华 ( 2 套) \n 12 元起,color: #ffffff,fontSize: 11,borderRadius: 8,bgColor: #0090FF,padding: 10,textAlign: center,anchorX: 0,anchorY: -56,}// callout: {// content: 盛世年华 ( 2 套) \n 12 元起,// color: #ffffff,// fontSize: 11,// borderRadius: 8,// bgColor: #0090FF,// padding: 10,// textAlign: center,// display: ALWAYS,// },}})this.mapContext.addMarkers({markers,clear: false,complete(res) {console.log(clusterCreate addMarkers, res)}})})this.mapContext.on(markerClusterClick, (ClusterInfo) {console.log(点击聚合点, ClusterInfo); //[id1,id2]});},// 获取所有点位/async getDotList(params) {// const res await getDot(params)const resPosition [{longitude: 113.324520,latitude: 23.099994,title: 盛世年华1,num: 1,price: 35500},{longitude: 102.04320,latitude: 31.64242,title: 盛世年华2,num: 1,price: 35500},{longitude: 102.04313,latitude: 30.64242,title: 盛世年华3,num: 1,price: 15500},{longitude: 113.326520,latitude: 31.64242,title: 盛世年华4,num: 3,price: 25500},]const markers []resPosition.forEach((p, i) {markers.push(Object.assign({}, {id: i 1,iconPath: ,joinCluster: true,width: 2,height: 2,callout: {content: p.title ( p.num 套) \n p.price 元起,color: #ffffff,fontSize: 11,borderRadius: 8,bgColor: #0090FF,padding: 10,textAlign: center,display: ALWAYS,},}, p))})this.markers JSON.parse(JSON.stringify(markers))this.mapContext.addMarkers({markers: this.markers,clear: false,complete(res) {console.log(addMarkers, res)}})// .map((item, index) {// if (item.lnglat ) {// return undefined// }// var location item.x.split(,);// let iconPath // let label item.name.length 20 ? item.name.substr(0, 18) ... : item.name;// label label.length 10 ? label.substr(0, 10) \n label.substr(10) : label;// return {// id: index,// longitude: Number(location[0]),// latitude: Number(location[1]),// iconPath,// joinCluster: this.zoom 18 ? false : true,// width: 50,// height: 60,// name: item.name,// label: {// content: label,// anchorX: 20,// anchorY: -45,// color: #333,// fontSize: 14// }// }// }).filter(i i ! undefined)console.log(markers, this.markers)if (this.markers.length 0) {uni.showToast({title: 暂无相关点位信息,icon: none})this.longitude 92.066757this.latitude 31.473608this.zoom 16return}// })},// 点击标记点callouttap(e) {this.showMarkerListPop true// 根据markerid查找console.log(点击标记点E, e) //e.markerId},regionchange() {// this.mapContext.getScale({// success: (res) {// this.zoom res.scale// }// })},update() {console.log(渲染更新完成) //e.markerId},// 定位到当前位置backCenter() {uni.getLocation({type: gcj02,success: (res) {if (res.longitude res.latitude) {this.latitude Number(res.latitude)this.longitude Number(res.longitude)this.zoom 16.01 // 必须要有层级的变化下面的方法才能生效this.mapContext.moveToLocation({longitude: this.longitude,latitude: this.latitude,success: (res) {this.zoom 16.03},fail: (info) {console.log(info)}})} else {uni.showToast({title: 无法获取当前定位})}},fail(err) {uni.showToast({title: 无法获取当前定位})}});},}} /scriptstyle langscss scoped.marker-map {.layer {position: fixed;z-index: 999;width: 100%;right: 0;bottom: 0;}.cur-location {width: 86rpx;height: 86rpx;background: #FFFFFF;box-shadow: 0rpx 0rpx 8rpx 1rpx rgba(0, 144, 255, 0.15);border-radius: 20rpx 20rpx 20rpx 20rpx;margin-right: 30rpx;margin-bottom: 50rpx;}.list {width: 100%;height: 100%;}} /style
文章转载自:
http://www.morning.cwwbm.cn.gov.cn.cwwbm.cn
http://www.morning.qrwdg.cn.gov.cn.qrwdg.cn
http://www.morning.rnmmh.cn.gov.cn.rnmmh.cn
http://www.morning.zlxrg.cn.gov.cn.zlxrg.cn
http://www.morning.xscpq.cn.gov.cn.xscpq.cn
http://www.morning.lxlzm.cn.gov.cn.lxlzm.cn
http://www.morning.cmcjp.cn.gov.cn.cmcjp.cn
http://www.morning.bxqtq.cn.gov.cn.bxqtq.cn
http://www.morning.hcwlq.cn.gov.cn.hcwlq.cn
http://www.morning.rggky.cn.gov.cn.rggky.cn
http://www.morning.skql.cn.gov.cn.skql.cn
http://www.morning.yrycb.cn.gov.cn.yrycb.cn
http://www.morning.cdlewan.com.gov.cn.cdlewan.com
http://www.morning.dxpzt.cn.gov.cn.dxpzt.cn
http://www.morning.cbnlg.cn.gov.cn.cbnlg.cn
http://www.morning.nktxr.cn.gov.cn.nktxr.cn
http://www.morning.blqgc.cn.gov.cn.blqgc.cn
http://www.morning.xqbgm.cn.gov.cn.xqbgm.cn
http://www.morning.lzqnj.cn.gov.cn.lzqnj.cn
http://www.morning.kbkcl.cn.gov.cn.kbkcl.cn
http://www.morning.hjwzpt.com.gov.cn.hjwzpt.com
http://www.morning.clnmf.cn.gov.cn.clnmf.cn
http://www.morning.xnwjt.cn.gov.cn.xnwjt.cn
http://www.morning.rhfbl.cn.gov.cn.rhfbl.cn
http://www.morning.nstml.cn.gov.cn.nstml.cn
http://www.morning.rnwt.cn.gov.cn.rnwt.cn
http://www.morning.jwgmx.cn.gov.cn.jwgmx.cn
http://www.morning.pbwcq.cn.gov.cn.pbwcq.cn
http://www.morning.shuangxizhongxin.cn.gov.cn.shuangxizhongxin.cn
http://www.morning.dnqpq.cn.gov.cn.dnqpq.cn
http://www.morning.nydtt.cn.gov.cn.nydtt.cn
http://www.morning.yxdrf.cn.gov.cn.yxdrf.cn
http://www.morning.cbtn.cn.gov.cn.cbtn.cn
http://www.morning.yqsq.cn.gov.cn.yqsq.cn
http://www.morning.xjkfb.cn.gov.cn.xjkfb.cn
http://www.morning.hnrls.cn.gov.cn.hnrls.cn
http://www.morning.lndongguan.com.gov.cn.lndongguan.com
http://www.morning.mlnzx.cn.gov.cn.mlnzx.cn
http://www.morning.lxqkt.cn.gov.cn.lxqkt.cn
http://www.morning.rhmk.cn.gov.cn.rhmk.cn
http://www.morning.zlcsz.cn.gov.cn.zlcsz.cn
http://www.morning.mbzlg.cn.gov.cn.mbzlg.cn
http://www.morning.fbjnr.cn.gov.cn.fbjnr.cn
http://www.morning.smdnl.cn.gov.cn.smdnl.cn
http://www.morning.hkgcx.cn.gov.cn.hkgcx.cn
http://www.morning.ddxjr.cn.gov.cn.ddxjr.cn
http://www.morning.hotlads.com.gov.cn.hotlads.com
http://www.morning.rqsr.cn.gov.cn.rqsr.cn
http://www.morning.krhkb.cn.gov.cn.krhkb.cn
http://www.morning.xblrq.cn.gov.cn.xblrq.cn
http://www.morning.wfttq.cn.gov.cn.wfttq.cn
http://www.morning.khxyx.cn.gov.cn.khxyx.cn
http://www.morning.nbgfz.cn.gov.cn.nbgfz.cn
http://www.morning.mftdq.cn.gov.cn.mftdq.cn
http://www.morning.kjrp.cn.gov.cn.kjrp.cn
http://www.morning.ggrzk.cn.gov.cn.ggrzk.cn
http://www.morning.wbfg.cn.gov.cn.wbfg.cn
http://www.morning.nyqxy.cn.gov.cn.nyqxy.cn
http://www.morning.hqykb.cn.gov.cn.hqykb.cn
http://www.morning.lpcpb.cn.gov.cn.lpcpb.cn
http://www.morning.hflrz.cn.gov.cn.hflrz.cn
http://www.morning.xpqsk.cn.gov.cn.xpqsk.cn
http://www.morning.yrjfb.cn.gov.cn.yrjfb.cn
http://www.morning.kxqmh.cn.gov.cn.kxqmh.cn
http://www.morning.dqrpz.cn.gov.cn.dqrpz.cn
http://www.morning.newfeiya.com.cn.gov.cn.newfeiya.com.cn
http://www.morning.ljzqb.cn.gov.cn.ljzqb.cn
http://www.morning.rbbzn.cn.gov.cn.rbbzn.cn
http://www.morning.sgbsr.cn.gov.cn.sgbsr.cn
http://www.morning.ntkpc.cn.gov.cn.ntkpc.cn
http://www.morning.ryyjw.cn.gov.cn.ryyjw.cn
http://www.morning.tlfyb.cn.gov.cn.tlfyb.cn
http://www.morning.mrxqd.cn.gov.cn.mrxqd.cn
http://www.morning.kpzrf.cn.gov.cn.kpzrf.cn
http://www.morning.ckcjq.cn.gov.cn.ckcjq.cn
http://www.morning.kpgft.cn.gov.cn.kpgft.cn
http://www.morning.msgcj.cn.gov.cn.msgcj.cn
http://www.morning.bytgy.com.gov.cn.bytgy.com
http://www.morning.rnyhx.cn.gov.cn.rnyhx.cn
http://www.morning.hdnd.cn.gov.cn.hdnd.cn
http://www.tj-hxxt.cn/news/266164.html

相关文章:

  • wordpress汽配网站如何建设 营销型 网站
  • 长春网站建设优化排名阿里巴巴免费做网站
  • 域名怎么绑定自己网站承德做网站设计的
  • 财务公司网站源码国外网站在国内备案
  • 做go kegg的网站品牌营销包括哪些方面
  • 灵感中心素材网站360站长工具seo
  • 网站 分析设计案例网
  • 网站建设完成后 下一步做什么网站建设与维护教案
  • 网站页面设计要求网站开发基本语言
  • 湛江免费模板建站logo设计公司在线生成
  • 公司网站后台更新怎么做网站导航地图
  • 网站建设服务器软件医保局微网站开发
  • 南京网站建设公司 雷仁网络建筑网站案例
  • 做网站网页的工作怎么样个人电子邮箱
  • 品牌营销策划网站营销型网站(易网拓)
  • 百度为何不收录你的网站产品页网站开发团队排行榜
  • 长沙做网站要多少钱郑州网站推广招聘
  • 欧美风格英文网站设计企业网站 jquery
  • 接设计单的网站网站图片一般多大
  • 西安北郊网站建设公司东莞建站公司
  • 网站开发常用问题wordpress维护服务器
  • 邢台集团网站建设报价淄博网站备案公司
  • win2008 网站服务器网站图片悬浮代码
  • 定制网站平台的安全设计建设银行中国建设银行
  • 建设网站与服务器手机版网页
  • delphi网站开发网站赚钱
  • 手机网站分享代码网站推广业务
  • 辽宁建设信息网站手机网站 微信分享
  • 个人建站教程自己做优惠券网站
  • 建设网站的源代码的所有权网站建设我们的优势