- ios真机无法显示与当前位置相距较远的marker
[图片] [图片] 图一为当前位置,添加的maker正常显示,图二搜索成功后,maker不显示。 两次添加marker的属性一致 covers.push({ "latitude":Number(bd09_gcj02[1]), "longitude": Number(bd09_gcj02[0]), "iconPath": "../../images/pBlue.png", id: parkinglotList[i].id, title: parkinglotList[i].name}) markers.push({ "latitude": Number(bd09_gcj02[1]), "longitude": Number(bd09_gcj02[0]), "iconPath": "../../images/pBlue.png", id: resultList[i].id, title: resultList[i].name }) 经过测试,模拟器与安卓手机不存在类似问题
2017-09-01 - 小程序安卓版蓝牙发送数据后无法关闭连接
断开连接代码如下 wx.notifyBLECharacteristicValueChanged({ state: false, // 停用notify 功能 deviceId: devicedId, serviceId: bluethOpera.serviceId, characteristicId: bluethOpera.characteristicId, success: function (res) { console.log("停用notify 功能", res) bluetooth.closeBLEConnection(devicedId, function (res) { console.log('关闭蓝牙连接', res); //获取连接的设备 wx.getConnectedBluetoothDevices({ success: function (res) { console.log('关闭蓝牙连接连接的设备', res) } }) }); } }) 调试面板返回数据如下 [图片] 与蓝牙设备连接并发送数据后,关闭设备。已经提示关闭连接成功,然而通过getConnectedBluetoothDevices接口仍然可以获取到关闭连接设备的信息。closeBLEConnection接口并没有真正断开与蓝牙设备的连接。请问有什么妥善的处理方法吗?
2017-08-09