- 开发工具域名不显示
[图片] 2个小程序插件,1个正常显示域名,一个不显示;且确定不显示的那个插件配置了域名!appid也没问题
2022-03-22 - 线上版本之前正常,最近突然白屏?
线上版本之前一直正常,上周到现在一直白屏?[图片] 体验版正常发布也不通过 [图片]
2021-08-03 - 小程序地图聚合问题:会存在重复聚合吗?
比如有10个marker参与聚合,聚合后总数超过了10个,这个是否因为存在单个marker被同时纳入到多个聚合marker中?
2021-04-09 - 自定义导航导致报错
"navigationStyle": "custom" 当页面采用自定义导航时,报错 [图片] 内核版本:2.8.0 已上线运行很久的小程序;去掉custom配置可以正常打开;在开发工具正常显示; 但是开发工具上选用其他基础库如:2.16 一样报错
2021-03-23 - 如何解决ios下view点击可穿透map上的label、callout?
需求:不能采用cover-view(限制多,需要的样式不支持),catchtap都有尝试过不生效? andriod不存在穿透问题 代码片段:https://developers.weixin.qq.com/s/0NTnz8mU7cmm
2020-11-26 - 小程序插件发布失败?
[图片][图片]
2020-11-26 - 室内地图楼层切换:setMapIndoorFloor:fail error mapid
1、在小程序中调用腾讯室内搜索插件页,返回后切换楼层失败;代码如下: 单独调用切层无问题 goToSearchPlugin: function(){ wx.navigateTo({ url: 'plugin://indoormap/search?buildingId='+this.data.currentBuilding.buildingId +'&buildingName='+this.data.currentBuilding.buildingName, events: { onSearchMessage: (data) => { console.log("腾讯搜索插件返回的POI:",data.selectedPoi) this.changeMapFloor(data.selectedPoi.floorName) } } }) }, changeMapFloor (targetFloor, callback) { this.mapCtx || (this.mapCtx = wx.createMapContext("map")) this.mapCtx.setIndoorFloor({ buildingId: this.data.currentBuilding.buildingId, floorName: targetFloor, success: () => { console.log("楼层切换成功"); callback && callback() }, fail(err) { console.log("切换失败", err); } }) }
2020-10-22 - 如何获取地图上任意点的屏幕坐标?
如何通过任意旋转、倾斜、缩放获取地图上任意1点相对于屏幕的坐标?官方有没有api
2020-09-29 - 地图marker方向角不动
将手机竖起来初始化角度是0时,update marker后角度不变,update参数有值 onCompassChange: function(){// 方向监听 wx.onCompassChange((res)=> { if(preDirection && (Math.abs(res.direction - preDirection) < 10)) { return false } preDirection = res.direction; this.setData({direc: preDirection}) console.log('更新方向',preDirection) // 定位点方向更新 this.updateMaker({ markerId: 1, rotate: preDirection }) }); }, updateMaker: function(e){ //更新定位点信息 // 更新图标定位点 let _markers = this.data.markers; let idx = 0 for(let item of _markers) { if (item.id == e.markerId) { if(e.destination) { item.latitude = e.destination.latitude; item.longitude = e.destination.longitude; } if (e.rotate || e.rotate === 0) item.rotate = e.rotate; if (e.buildingId) { item.buildingId = e.buildingId; } else { delete item.buildingId } if (e.buildingId) { item.floorName = e.floorName; } else { delete item.floorName } this.setData({ [`markers[${idx}]`]: item }) if (e.rotate || e.rotate === 0){ console.log('更新方向后的结果 ,', item) //此处能打印出角度 经纬度生效了,但是角度不动 } break } idx++ } },
2020-07-12