Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法加载mapbox地球 #2083

Closed
maxueli opened this issue Nov 24, 2023 · 6 comments
Closed

无法加载mapbox地球 #2083

maxueli opened this issue Nov 24, 2023 · 6 comments
Assignees
Labels

Comments

@maxueli
Copy link

maxueli commented Nov 24, 2023

问题描述

new l7.Scene({
id,
map: new l7.Mapbox({
container: id, // container id
style: 'mapbox://styles/mapbox/streets-v12', // stylesheet location
center: [-74.5, 40], // starting position [lng, lat]
zoom: 9, // starting zoom
projection: 'globe',
token: accessToken,
}),
});

无法加载地球,怎么写,急急急

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Copy link
Contributor

hi @maxueli, welcome!

@github-actions github-actions bot added the good first issue Good for newcomers label Nov 24, 2023
Copy link
Contributor

Hi @maxueli, Please star this repo if you find it useful! Thanks ⭐!
你好 @maxueli。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!

@lzxue
Copy link
Contributor

lzxue commented Nov 27, 2023

现在支持是 Mapbox 1.x 版本地球 版本应该不支持

@xuchaozou
Copy link

现在支持是 Mapbox 1.x 版本地球 版本应该不支持

请问一下什么时候支持啊

@MarkLei7
Copy link
Contributor

MarkLei7 commented Dec 4, 2023

你可以用V2版本生成Mapbox实例后再挂到L7上,注意在低层级下L7的坐标和Mapbox坐标不一致。

@hqh15
Copy link

hqh15 commented Feb 6, 2024

我的建议是反过来,L7挂到mapbox上

@lvisei lvisei closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants