map组件动态加载markers点,ios不显示
发布于 6 年前 作者 junye 19301 次浏览 来自 问答

success: function (res) {

                    that.setData({

                      markers: [{

                        id: i,

                        latitude: res.result.location.lat,

                        longitude: res.result.location.lng,

                        iconPath: “images/tcc_icon.png”,

                        width: 30,

                        height: 35

                      }]

                    })

                  }

回到顶部