map组件动态加载markers点,ios不显示

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

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

                      }]

                    })

                  }

0 回复
暂无回复