Skip to content

Commit

Permalink
Styles 4.0.0-alpha.1 [#282]
Browse files Browse the repository at this point in the history
* remove pmap prefixes from style and refactor layers (breaking change)
* unfreeze map viewer version
* upgrade viewer to pmtiles 3.1.0
  • Loading branch information
bdon committed Sep 20, 2024
1 parent 55d0df2 commit f7eb2c8
Show file tree
Hide file tree
Showing 6 changed files with 180 additions and 278 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Styles v4.0.0-alpha.1
------
- remove all `pmap:` prefixes from style (breaking change) (#282)
- refactor layers as described in tiles v4.0.0-alpha.3

Tiles v4.0.0-alpha.3
------
- remove all `pmap:` prefixes (breaking change) [#282]
Expand Down
9 changes: 5 additions & 4 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"maplibre-gl": "^4.7.0",
"pixelmatch": "^5.3.0",
"pmtiles": "3.0.5",
"pmtiles": "3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone": "^14.2.3",
Expand Down
4 changes: 0 additions & 4 deletions app/src/MapViewComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,6 @@ export default function MapViewComponent() {
return r.json();
})
.then((j) => {
// freeze at 0917 while we transition to v4
const builds = j.filter(
(build: Build) => build.key <= "20240917.pmtiles",
);
setTiles(
`https://build.protomaps.com/${builds[builds.length - 1].key}`,
);
Expand Down
Loading

0 comments on commit f7eb2c8

Please sign in to comment.