Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch demo map to source coop; css #355

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -435,7 +435,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 @@ -639,7 +639,7 @@ function MapView() {
</div>
</div>
<div
class="h-full flex"
class="h-full flex grow-1"
onKeyPress={handleKeyPress}
ondragover={dragover}
ondrop={drop}
Expand Down
Loading