map组件在iOS系统中不显示标记点的title问题
如图所示在Android客户端和模拟器上都可以显示标记点title,在iOS中则不是该内容只显示表几点图标。
部分代码如下:
let mcallout = { content: markerPoint.inspectingpoint_name, color: 'black', fontSize: 11, borderRadius: 5, bgColor: 'white', padding: 7, display: 'ALWAYS', textAlign: 'center' }; let marker = { id: markerPoint.inspectingpoint_id, iconPath : '../../../images/inspectimage/xundian.png', latitude: parseFloat(markerPoint.inspectingpoint_latitude), longitude: parseFloat(markerPoint.inspectingpoint_longitude), width: 50, height: 50, callout: mcallout };