Skip to content

Commit

Permalink
Tileset v3 (#137)
Browse files Browse the repository at this point in the history
* remove workaround for webkit bug with max vertices

* default levelDiff to 1 and maxDataZoom to 15

* add themes from protomaps-themes-base [#112]

* add color2k back in for color mixing [#112]

* port to styles v3 [#112]

* default style now compatible with protomaps tileset v3
* require explicit passing of theme string: light, dark, white, grayscale, black
* remove setDefaultStyle method
* remove language1/language2 in favor of just language
* props type safety improvements
  • Loading branch information
bdon committed Feb 19, 2024
1 parent 8414dbf commit 85adba0
Show file tree
Hide file tree
Showing 15 changed files with 964 additions and 678 deletions.
1 change: 1 addition & 0 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"indentStyle": "space"
},
"linter": {
"ignore": ["src/default_style/themes.ts"],
"rules": {
"style": {
"useNamingConvention": {}
Expand Down
209 changes: 0 additions & 209 deletions examples/multi_language.html

This file was deleted.

11 changes: 11 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@mapbox/unitbezier": "^0.0.0",
"@mapbox/vector-tile": "^1.3.1",
"@types/css-font-loading-module": "^0.0.7",
"color2k": "^2.0.3",
"pbf": "^3.2.1",
"pmtiles": "2.7.0",
"potpack": "^1.0.2",
Expand Down
36 changes: 0 additions & 36 deletions src/default_style/dark.ts

This file was deleted.

36 changes: 0 additions & 36 deletions src/default_style/light.ts

This file was deleted.

Loading

0 comments on commit 85adba0

Please sign in to comment.