Skip to content

Commit

Permalink
use alidade sat
Browse files Browse the repository at this point in the history
  • Loading branch information
birkskyum committed Oct 31, 2024
1 parent cacd1a1 commit fbd45e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/examples/globe-3d-terrain-satellite.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
maxPitch: 85
}));

map.setStyle('https://api.maptiler.com/maps/hybrid/style.json?key=get_your_own_OpIi9ZULNHzrESv6T2vL', {

map.setStyle('https://tiles.stadiamaps.com/styles/alidade_satellite.json', {
transformStyle: (previousStyle, nextStyle) => {
nextStyle.projection = { type: 'globe' }
nextStyle.sources = {
Expand Down Expand Up @@ -69,6 +70,7 @@
}
})


map.addControl(
new maplibregl.NavigationControl({
visualizePitch: true,
Expand Down

0 comments on commit fbd45e9

Please sign in to comment.