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

Bump tile version for january release #189

Merged
merged 1 commit into from
Jan 23, 2025
Merged
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
10 changes: 2 additions & 8 deletions site/src/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import ThemeTypeLayer from "./ThemeTypeLayer";
import FeaturePopup from "./FeatureSelector";

const PMTILES_URL =
"pmtiles://https://d3c1b7bog2u1nn.cloudfront.net/2024-12-18/";
"pmtiles://https://d3c1b7bog2u1nn.cloudfront.net/2025-01-22/";

const INITIAL_VIEW_STATE = {
latitude: 38.90678,
Expand All @@ -40,13 +40,7 @@ const MAP_STYLE = {
};

const ThemeSource = ({ name, url }) => {
return (
<Source
id={name}
type="vector"
url={`${url}${name}${name === "base" ? "_canary" : ""}.pmtiles`}
/>
);
return <Source id={name} type="vector" url={`${url}${name}.pmtiles`} />;
};

ThemeSource.propTypes = {
Expand Down
Loading