a***@qq.com
a***@qq.com
  • 发布:2020-10-17 17:35
  • 更新:2020-10-17 17:35
  • 阅读:493

【报Bug】MAP组件APP端问题

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 2.9.3

手机系统: Android

手机系统版本号: Android 11

手机厂商: OPPO

手机机型: oppor11

页面类型: nvue

打包方式: 云端

项目创建方式: HBuilderX

示例代码:

<template>
<view>
<map :latitude="latitude" :longitude="longitude" :markers="markers" style="width: 100%;height: 100vh" ></map>
</view>
</template>

<script>
export default {
data() {
return {
latitude:'34.22470107969977',
longitude:'108.88673268246426',
markers:
[
{
id:111,
latitude:'',
longitude:'',
title:"地址",
iconPath:'../../static/images/map-icon.png',
width:20,
height:20,
callout:{
content:'',
color:'black',
fontSize:12,
bgColor:'white',
padding:10,
textAlign:'left',

                        },  

                    }  
                ]  
            ,  
        };  
    }  
}  

</script>

<style lang="less">

</style>

操作步骤:

1

预期结果:

1

实际结果:

1

bug描述:

map组件问题多多 BUG多多 markers的 width,height,display字段全都在app上失效,(H5里面是好着的), label的 X和Y字段 失效 @tab没有返回经纬度,还是刚用问题就这么多 这个组件真的可以用吗? 加油啊,Hbuilderx

2020-10-17 17:35 负责人:无 分享
已邀请:

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