小程序Map的circle参数有bug

微信小程序,微信公开课,小程序Map的circle参数有bug 微信公开课

如何看待微信公开课小程序热门讨论「小程序Map的circle参数有bug」
摘要:小程序Map的circle参数有bug
展开:Android和iOS的测试结果不一样。iOS的似乎单位就是「米」,Android的设置为50,显示的半径大概是150米。因为我要用圆包住所有marker,距离值和坐标都是服务器返回的,都是一致的,不区分机型。实测安卓上如果/3,那就差不多是预计值。感觉是bug,求confirm。另外最新版本的开发者工具下,如果不填写「color」属性(可选)显示不出circle并且有「渲染错误」。真机看了一下vConsole没有提示错误的。VM124:1TueJan10201715:15:39GMT+0800(CST)渲染层错误VM124:2webviewScriptErrorCannotreadpropertyindexOfofundefined;ExparserPropertyObserverError@wxmapcirclesChangedTypeError:CannotreadpropertyindexOfofundefinedatr._transformColor(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:24:6693)athttp://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:24:14945atArray.map(native)atr.circlesChanged(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:24:14766)atFunction.n.safeCallback(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:21:18872)atr.set[ascircles](http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:21:29025)att.applyProperties(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:4512)atFunction.value(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:9571)ate.value(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:9035)athttp://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:10860(anonymous)@VM124:2VM125:1TueJan10201715:15:39GMT+0800(CST)渲染层错误VM125:2ExparserPropertyObserverError@wxmapcirclesChanged(anonymous)@VM125:2VM126:1TueJan10201715:15:39GMT+0800(CST)渲染层错误VM126:2TypeError:CannotreadpropertyindexOfofundefinedatr._transformColor(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:24:6693)athttp://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:24:14945atArray.map(native)atr.circlesChanged(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:24:14766)atFunction.n.safeCallback(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:21:18872)atr.set[ascircles](http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:21:29025)att.applyProperties(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:4512)atFunction.value(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:9571)ate.value(http://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:9035)athttp://1964187184.debug.open.weixin.qq.com/apps/liemo/pages/index/index.html:27:10860(anonymous)@VM126:2测试机型:Android红米Note3最新版本stableROMiOSiPhone5c/iOS10.2varresultRange[{latitude:lat,longitude:lng,color:00000000,fillColor:7fbafd3f,radius:(farestDistance+10)}];了解更多

「小程序Map的circle参数有bug」热门讨论订阅

微信小程序,微信公开课,小程序Map的circle参数有bug
订阅小程序

方法1:微信扫描微信公开课小程序码即可订阅热门讨论「小程序Map的circle参数有bug」

方法2:微信搜索微信公开课小程序名称进入,即可订阅热门讨论「小程序Map的circle参数有bug」

方法3:微信网页访问即速商店,长按识别微信公开课小程序码即可订阅热门讨论「小程序Map的circle参数有bug」

微信公开课小程序热门讨论「小程序Map的circle参数有bug」由微信公开课原创摘录于微信小程序商店shop.jisuapp.cn,转载请注明出处。

微信公开课热门讨论「小程序Map的circle参数有bug」由微信公开课开发者向微信用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。