地图的include-points属性在安卓手机上无效

发布于 7 年前作者 chao807117 次浏览最后编辑 7 年前来自 ask

我在wxml上面 include-points=“{{includePoints}}”

includePoints数据如下:

  1. [Object, Object, Object]

    1. 0:Object

      1. latitude:''

      2. longitude:''

      3. __proto__:Object

    2. 1:Object

      1. latitude:''

      2. longitude:''

      3. __proto__:Object

    3. 2:Object

      1. latitude:''

      2. longitude:''

      3. __proto__:Object

    4. length:3

    5. __proto__:Array[0]

但是在安卓手机上 视野不能包含这所有的点,在苹果手机上可以 是为什么呢????

7 回复
weimo
weimo1 楼6 年前

好的  798977338

juan11
juan112 楼6 年前

这种形式points:[{langitude:xxx,longitude:xxx}],传过来会处理成String传过来

ylong
ylong3 楼6 年前

安卓应该是支持这个特性的,想问一下出现这种情况的微信号,版本号,手机型号,还有操作的具体情况,方便我们定位问题。

luojie
luojie4 楼6 年前

方便加一下你微信嘛~再具体定位一下

changxiulan
changxiulan5 楼6 年前

所以这样的话 我includePoints不能用[objetc]?只能用[string]?不可能是这个意思吧

panyong
panyong6 楼6 年前

我就是这种形式呢

fanjuan
fanjuan7 楼5 年前

微信号 是mr_gcdong 版本号是6.5.13  手机型号是meizu2

我的points是js渲染过来的

我在手机上试了 要是points:[{langitude:xxx,longitude:xxx}]是生效的

但是point:[Object]就不行