收藏
回答

markers里面有多个对象为什么只能在地图上显示第一个对象的图标?

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:



回答关注问题邀请回答
收藏
登录 后发表内容