map组件的markers标记宽高,图片地址可以通用设置吗
markers:[{
longitude:104.745500,
latitude:31.778690,
iconPath:'/res/images/[email protected]',
width:'22rpx',
height:'28rpx'
},
{
longitude:104.745500,
latitude:31.778690,
iconPath:'/res/images/[email protected]',
width:'22rpx',
height:'28rpx'
},
{
longitude:104.745500,
latitude:31.778690,
iconPath:'/res/images/[email protected]',
width:'22rpx',
height:'28rpx'
}
]
必然要我有多个不同的marker 只有经纬度不同,但是图片和宽高都是一样的 有接口一键设置这些固有属性吗