codecat
codecat
  • 发布:2021-09-28 11:22
  • 更新:2021-09-28 13:15
  • 阅读:194

【报Bug】iphone map label x y无效

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 11

HBuilderX类型: 正式

HBuilderX版本号: 3.2.9

手机系统: iOS

手机系统版本号: iOS 12.4

手机厂商: 苹果

手机机型: iphone6

页面类型: nvue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:
{  
        iconPath: "/static/icons/local.png",  
        id: od.id,  
        latitude: od.location.lat,  
        longitude: od.location.lng,  
        width: 26,  
        height: 26,  
        label: {  
          content: `${od.receive_name} \n${od.dispatch_time} `,  
          color: "#ffffff",  
          fontSize: 12,  
          borderRadius: "10",  
          bgColor: timeIllus[stat],  
          padding: 5,  
          y:-65,  
          x:-10  
        }

操作步骤:

iphone6 map 使用label

预期结果:

可以设置label位置

实际结果:

x y无效

bug描述:

android能正常设置label位置,iphone6 ios12.5.5 map label x y无效

2021-09-28 11:22 负责人:无 分享
已邀请:
codecat

codecat (作者)

改为anchorX anchorY有效,文档该更新了

该问题目前已经被锁定, 无法添加新回复