dcloudio / dcloudio/uni-app

微信小程序Skyline,Map组件出现问题

Open
#5,921 10 comments 0 reactions 1 assignee Claimed by @chouchouji View on GitHub
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

### 发行方式

小程序

### 具体平台

微信小程序:8.0.66

### 开发环境

Windows

### 项目创建方式

HBuilderX

### Vue 版本

vue3

### 依赖版本

HBuilder:4.87

### 问题描述

使用skyline引擎运行页面,如果页面中存在Map,使用map的api会出现:(in promise) SystemError (appServiceSDKScriptError)
{"errMsg":"moveToMapLocation:fail:mapview is null"},原生小程序不会有这个问题。

### 重现步骤

这个skyline组件代码片段:https://developers.weixin.qq.com/miniprogram/dev/component/draggable-sheet.html,里面一个map demo,获取定位后跳转定位经纬度,moveToMapLocation报错!

### 期望行为

地图能够正常跳转对应经纬度。

### 实际行为

地图就显示个默认位置

### 截图或录屏

![Image](https://github.com/user-attachments/assets/606944fd-283b-40d6-a5e5-f28abc7767bd)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.