Skip to content

Commit

Permalink
Switch demo map to source coop; css (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon authored Jan 10, 2025
1 parent b094129 commit 53f80de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Protomaps Basemaps</title>
<link rel="preconnect" href="https://demo-bucket.protomaps.com"/>
<link rel="preconnect" href="https://source.coop"/>
</head>
<body>
<div id="root"></div>
Expand Down
4 changes: 2 additions & 2 deletions app/src/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ function MapView() {
const [theme, setTheme] = createSignal<string>(hash.theme || "light");
const [lang, setLang] = createSignal<string>(hash.lang || "en");
const [tiles, setTiles] = createSignal<string>(
hash.tiles || "https://demo-bucket.protomaps.com/v4.pmtiles",
hash.tiles || "https://data.source.coop/protomaps/openstreetmap/v4.pmtiles",
);
const [localSprites, setLocalSprites] = createSignal<boolean>(
hash.local_sprites === "true",
Expand Down Expand Up @@ -644,7 +644,7 @@ function MapView() {
</div>
</div>
<div
class="h-full flex"
class="h-full flex grow-1"
onKeyPress={handleKeyPress}
ondragover={dragover}
ondrop={drop}
Expand Down

0 comments on commit 53f80de

Please sign in to comment.