Skip to content

Commit

Permalink
Adjust basemap and z-ordering (for labels)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabreegster committed Aug 9, 2024
1 parent b23e50d commit 05953ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</div>
<div slot="main" style="position:relative; width: 100%; height: 100vh;">
<MapLibre
style={`https://api.maptiler.com/maps/dataviz/style.json?key=${maptilerApiKey}`}
style={`https://api.maptiler.com/maps/landscape/style.json?key=${maptilerApiKey}`}
standardControls
hash
bind:map
Expand Down
1 change: 1 addition & 0 deletions web/src/NetworkLayer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<GeoJSON data={JSON.parse(notNull($model).render())}>
<LineLayer
id="network"
beforeId="Road labels"
paint={{
"line-width": 5,
"line-color": constructMatchExpression(
Expand Down

0 comments on commit 05953ce

Please sign in to comment.