< map class = 'map' id = 'map' bindmarkertap = 'bind_mkr_tap' bindcallouttap = 'bind_mkr_callout_tap' bindtap = 'bind_map_tap' longitude = "{{longitude}}" latitude = "{{latitude}}" markers = "{{markers}}" style = "height:{{map_height}}px;" show-location> </map>
|
如果markers非常长呢?this.setData({markers:[...marker1,...marker2,........,...marker1000]})这种写法不太现实吧?