-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
How do I enable the globe projection/view in mapbox gl javascript API? #11865
Comments
Globe view isn't released yet, the first public beta will be available this week. |
Globe is available on the latest beta: v2.9.0-beta.1. |
Hello @karimnaaji how to give atmosphere style like one of them #10784 (comment) |
hello @Dildar-Khan , atmosphere can be set like so:
We also have a few examples in this page. |
Thank you @karimnaaji |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi I am using mapbox gl js, like below: and I tried to change the projection to "globe" like the other threads do, but do not work. Anyone could help me?
new mapboxgl.Map({
attributionControl: false, // do not show the attribution at the right bottom corner
bearing: bearing || 0,
boxZoom: true,
container: containerId,
maxBounds: maxBounds || null, // LngLatBoundsLike. If set, the map will be constrained to the given bounds.
maxPitch: maxPitch || 85, // 0 - 85
minPitch: minPitch || 0, // 0 - 85
maxZoom: maxZoom || 22, // 0 - 24
minZoom: minZoom || 0, // 0 - 24
pitch: pitch || 0,
projection: "mercator", // "globe"??
style: style || 'mapbox://styles/mapbox-map-design/ckhqrf2tz0dt119ny6azh975y'
});
The text was updated successfully, but these errors were encountered: