Skip to content

Commit

Permalink
fix: remove layer to avoid artifacts in render
Browse files Browse the repository at this point in the history
  • Loading branch information
mahyarmirrashed committed Dec 4, 2024
1 parent 158281e commit 2772c86
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { Sun, Moon } from "lucide-svelte/icons";
import { toggleMode, mode } from "mode-watcher";
import { MapLibre, FillExtrusionLayer } from "svelte-maplibre";
import { MapLibre } from "svelte-maplibre";
const maptilerTopoLightStyle = `https://api.maptiler.com/maps/topo-v2/style.json?key=${PUBLIC_MAPTILER_KEY}`;
const maptilerTopoDarkStyle = `https://api.maptiler.com/maps/topo-v2-dark/style.json?key=${PUBLIC_MAPTILER_KEY}`;
Expand All @@ -28,10 +28,4 @@
/>
<span class="sr-only">Toggle theme</span>
</Button>
<MapLibre style={maptilerStyle} class="min-h-screen" standardControls>
<FillExtrusionLayer
source="maptiler_planet"
sourceLayer="building"
paint={{}}
/>
</MapLibre>
<MapLibre style={maptilerStyle} class="min-h-screen" standardControls />

0 comments on commit 2772c86

Please sign in to comment.