地图的include-points属性在安卓手机上无效
发布于 6 年前 作者 chao80 6968 次浏览 来自 问答

我在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 回复

好的  798977338

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

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

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

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

我就是这种形式呢

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

我的points是js渲染过来的

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

但是point:[Object]就不行

回到顶部