map组件 controls 大小乱了
正常大小 40*40
ios 11.11
代码
controls: [{ id: 1, iconPath: '/assets/images/location.png' , position: { left: 10, top: wx.getSystemInfoSync().windowHeight - 70, width: 40, height: 40 }, clickable: true }, { id: 3, iconPath: '/assets/images/engineer.png' , position: { left: 10, top: wx.getSystemInfoSync().windowHeight - 120, width: 40, heigth: 40, }, clickable: true }, { id: 2, iconPath: '/assets/images/my.png' , position: { left: wx.getSystemInfoSync().windowWidth - 50, top: wx.getSystemInfoSync().windowHeight - 120, width: 40, heigth: 40, }, clickable: true }, { id: 4, iconPath: '/assets/images/custom.png' , position: { left: wx.getSystemInfoSync().windowWidth - 50, top: wx.getSystemInfoSync().windowHeight - 70, width: 40, heigth: 40, }, clickable: true }] |