Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cneben committed Jul 14, 2024
1 parent 6993e4c commit 494a09b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ const Map: React.FC = () => {
// data from OpenStreetMap.
// FIXME: Add a hillshade layer for hillshade_source
maplibreMap.on(
// @ts-expect-error
"load",
() => {
console.error("!!!!!!!MAP on load...");
Expand Down Expand Up @@ -123,13 +124,13 @@ const Map: React.FC = () => {
);

map.current!.setSky({
'sky-color': '#008dff',
'sky-horizon-blend': 0.6,
'horizon-color': '#88c6f9',
'horizon-fog-blend': 0.7,
'fog-color': '#c6c6c6',
'fog-ground-blend': 0.5
});
"sky-color": "#008dff",
"sky-horizon-blend": 0.6,
"horizon-color": "#88c6f9",
"horizon-fog-blend": 0.7,
"fog-color": "#c6c6c6",
"fog-ground-blend": 0.5,
});
},
[style]
);
Expand Down

0 comments on commit 494a09b

Please sign in to comment.