1***@qq.com
1***@qq.com
  • 发布:2021-08-25 17:10
  • 更新:2021-08-26 18:44
  • 阅读:445

【报Bug】map组件 ios端无法通过markers 生成标点

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 3.2.2

手机系统: iOS

手机系统版本号: IOS 14

手机厂商: 苹果

手机机型: 8p,6p,inphoneX,推测ios全机型

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

<template>
<view class="content">
<image class="logo" src="/static/logo.png"></image>
<view class="text-area">
<text class="title">{{title}}</text>
</view>
<map style="width: 100%; height: 300px;" :latitude="latitude" :longitude="longitude" :markers="covers"></map>
</view>
</template>

<script>
export default {
data() {
return {
title: 'Hello',
latitude: 30.269966,
longitude: 120.195461,
covers: [{
latitude: 30.269966,
longitude: 120.195461
}]
}
},
onLoad() {

    },  
    methods: {  

    }  
}  

</script>

<style>
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.logo {  
    height: 200rpx;  
    width: 200rpx;  
    margin-top: 200rpx;  
    margin-left: auto;  
    margin-right: auto;  
    margin-bottom: 50rpx;  
}  

.text-area {  
    display: flex;  
    justify-content: center;  
}  

.title {  
    font-size: 36rpx;  
    color: #8f8f94;  
}  

</style>

操作步骤:

官方默认demo,使用的是文档上的 map组件部分的示例代码 ,仅修改了markers内的坐标

预期结果:

ios端地图组件markers 标点可正常展示

实际结果:

ios端地图组件markers 标点无法正常展示

bug描述:

map组件 ios端无法通过markers 生成标点 , iOS端查看小程序版可以正常展示
安卓、H5、小程序均可以正常通过markers 生成标点
附件为测试demo

2021-08-25 17:10 负责人:无 分享
已邀请:
DCloud_iOS_XHY

DCloud_iOS_XHY

  • 1***@qq.com (作者)

    下个版本有预计更新时间吗

    2021-08-27 09:48

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