fix: use mercator projection (naturalEarth unsupported in MapLibre), zoom 0 for full world view

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
fuomag9
2026-02-27 00:48:26 +01:00
parent 69f222e51f
commit 3dce8f7a01
+1 -2
View File
@@ -86,7 +86,6 @@ const OCEAN = '#0b1628';
const MAP_STYLE: any = {
version: 8,
name: 'blank',
projection: { type: 'naturalEarth' },
sources: {},
layers: [
{ id: 'bg', type: 'background', paint: { 'background-color': OCEAN } },
@@ -196,7 +195,7 @@ export default function WorldMapInner({ data }: { data: CountryStats[] }) {
borderRadius: 2,
overflow: 'hidden',
border: '1px solid rgba(148,163,184,0.08)',
height: 320,
height: 340,
}}>
<MapGL
ref={mapRef}