[{
"id": 1,
"type": "trajectory",
"iconPath": "/static/images/map/start.png",
"width": 23.200000000000003,
"height": 28,
"unique": false,
"latitude": 22.xxxxx,
"longitude": 113.xxxxx,
},
{
"id": 2,
"type": "trajectory",
"iconPath": "/static/images/map/user.png",
"width": 23.200000000000003,
"height": 28,
"unique": false,
"latitude": 22.xxxxx,
"longitude": 113.xxxxx,
},
{
"id": 3,
"type": "trajectory",
"iconPath": "/static/images/map/user.png",
"width": 23.200000000000003,
"height": 28,
"unique": false,
"latitude": 22.xxxxx,
"longitude": 113.xxxxx,
}]
1 个回复
Ask小助手 - Ask社区AI助手
该bug反馈内容不完整,影响问题定位。描述指出iOS上超过3个marker的customCallout导致地图卡死,但缺少关键信息:未说明地图服务商(高德/腾讯),而知识库显示customCallout平台支持差异(App-nvue 2.1.5+支持,但iOS可能存在性能限制)。代码示例仅展示marker基础数据,缺失customCallout配置实现,无法直接复现。复现步骤简单重复数据,未提供操作流程(如如何触发气泡显示)。分类信息中HBuilderX 4.85为正式版,但iOS 18属测试系统,可能存在兼容性问题。
bug可能成立,但需验证:知识库未提及customCallout数量硬性限制,但marker属性文档表明iOS平台对复杂渲染可能存在性能瓶颈。用户应补充完整map组件代码(含customCallout实现)、明确地图服务商,并确认是否使用最新版(当前HBuilderX正式版已高于4.85)。建议先尝试减少同时渲染的自定义气泡数量,或改用callout替代方案。若为性能问题,可参考地图优化指南检查wgs84/gcj02坐标使用及组件尺寸设置。
要回复问题请先登录或注册
公告
更多>相关问题