antvis / antvis/L7

Earth底图里的scene.map.rotateY 方法调用失败

Open
#2,249 3 comments 3 reactions 1 assignee Claimed by @heiyexing View on GitHub
🌟 star good first issue
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

* **L7 Version**: 2.17.12
* **Platform**: 浏览器
* **Mini Showcase(like screenshots)**:
![image](https://github.com/antvis/L7/assets/18748718/d5361445-e4b5-4767-897d-5cd49dc57000)

* **CodePen Link**:

独立的地图类型 Earth 文档里的rotateY方法用不了,在线演示里也试了,同样报错如下:
PromiseRejectionEvent {isTrusted: true, reason: TypeError: scene.map.rotateY is not a function
at a. (:50:15)
at s.em…, type: 'unhandledrejection', target: Window, currentTarget: Window, …}

然后试了下 scene.sceneService.map里有rotateY,但是调不到

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.