markers里面有多个对象为什么只能在地图上显示第一个对象的图标?
发布于 4 年前 作者 minzheng 6957 次浏览 来自 官方Issues
wxml:
<map id="map4select"
  longitude="{{longitude}}" latitude="{{latitude}}" 
  markers="{{markers}}"
  scale="20" 
  style="width:{{map_width}}px;height:{{map_height}}px"
  controls="{{controls}}"
  show-location
  hidden='{{maphide}}'>
onload:

打印出来的markers:

回到顶部