小程序Map的circle参数有bug
2019-04-03 15:13:30
如何看待微信公开课小程序热门讨论「小程序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
展开: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」热门讨论订阅
方法1:微信扫描微信公开课小程序码即可订阅热门讨论「小程序Map的circle参数有bug」
方法2:微信搜索微信公开课小程序名称进入,即可订阅热门讨论「小程序Map的circle参数有bug」
方法3:微信网页访问即速商店,长按识别微信公开课小程序码即可订阅热门讨论「小程序Map的circle参数有bug」
微信公开课小程序热门讨论「小程序Map的circle参数有bug」由微信公开课原创摘录于微信小程序商店shop.jisuapp.cn,转载请注明出处。
微信公开课热门讨论「小程序Map的circle参数有bug」由微信公开课开发者向微信用户提供,并对本服务内容、数据资料及其运营行为等真实性、合法性及有效性承担全部责任。
微信公开课小程序
更新时间:2019-04-03 15:13:30
>
__methodCallerx27;ofundefined
>-404011cloudfunctionexecutionerror
>,请补充选择商家自营-预付卡销售-发行方类目,并在基础信息处申请该类目,通过
>:host在模拟器中显示无效
>:请在小程序服务页面上架正式(非测试)内容或商品后重新提交审核
>.net 微信小程序 上传图片
>'setTimeout'的问题
>‘三朵里熙SPA主题减压空间’为什么搜索关键词‘三朵里‘搜不到
>‘扫普通链接二维码打开小程序‘中设置为体验版,扫码打开是线上版本
>“cloudfunctions**indexjs”gitignore
>“NO ULINK DEVICE FOUND”是怎么回事
>“万马掌上校园”的类目审核
>“上线了”公司开发的微信小程序怎么样?
>“产品是否一定需要条形码”
>