Skip to content

Commit

Permalink
feat(vmt-pmtiles): protomaps themes v3.0.1, release v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed May 21, 2024
1 parent 53aefe3 commit 30a0df2
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 292 deletions.
5 changes: 5 additions & 0 deletions vector_map_tiles_pmtiles/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.3.0] 2024-05-21

- Update `ProtomapsThemes` to
include [version 3.0.1 themes](https://github.com/protomaps/basemaps/blob/main/CHANGELOG.md)

## [1.2.0] 2024-02-19

- Update `vector_map_tiles` to version 7.3.0 and bump the dependency constraints
Expand Down
68 changes: 10 additions & 58 deletions vector_map_tiles_pmtiles/lib/src/themes/black.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1792,75 +1792,27 @@ const themeBlack = [
],
"text-transform": "uppercase"
},
"paint": {
"text-color": "#5c5c5c",
"text-halo-color": "#141414",
"text-halo-width": 2
}
},
{
"id": "pois_important",
"type": "symbol",
"source": "protomaps",
"source-layer": "pois",
"filter": [
"any",
[
"<",
["get", "pmap:min_zoom"],
13
]
],
"layout": {
"symbol-sort-key": ["get", "pmap:min_zoom"],
"text-font": ["Noto Sans Regular"],
"text-field": ["get", "name"],
"text-size": 11,
"text-max-width": 9,
"icon-padding": [
"interpolate",
["linear"],
["zoom"],
0,
2,
14,
2,
16,
20,
17,
2,
22,
2
]
},
"paint": {
"text-color": "#5c5c5c",
"text-halo-color": "#141414",
"text-halo-width": 1.5
}
},
{
"id": "places_locality_circle",
"type": "circle",
"source": "protomaps",
"source-layer": "places",
"filter": ["==", "pmap:kind", "locality"],
"paint": {
"circle-radius": 2,
"circle-stroke-width": 1.5,
"circle-stroke-color": "#666666",
"circle-color": "#000000",
"circle-translate": [-6, 0]
},
"maxzoom": 8
},
{
"id": "places_locality",
"type": "symbol",
"source": "protomaps",
"source-layer": "places",
"filter": ["==", "pmap:kind", "locality"],
"layout": {
"icon-image": [
"step",
["zoom"],
"townspot",
8,
""
],
"icon-size": 0.7,
"text-field": "{name}",
"text-font": [
"case",
Expand Down Expand Up @@ -2001,7 +1953,7 @@ const themeBlack = [
["linear"],
["zoom"],
0,
2,
0,
8,
4,
10,
Expand All @@ -2018,7 +1970,7 @@ const themeBlack = [
8,
"center"
],
"text-radial-offset": 0.2
"text-radial-offset": 0.4
},
"paint": {
"text-color": "#999999",
Expand Down
68 changes: 10 additions & 58 deletions vector_map_tiles_pmtiles/lib/src/themes/dark.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1792,75 +1792,27 @@ const themeDark = [
],
"text-transform": "uppercase"
},
"paint": {
"text-color": "#525252",
"text-halo-color": "#1f1f1f",
"text-halo-width": 2
}
},
{
"id": "pois_important",
"type": "symbol",
"source": "protomaps",
"source-layer": "pois",
"filter": [
"any",
[
"<",
["get", "pmap:min_zoom"],
13
]
],
"layout": {
"symbol-sort-key": ["get", "pmap:min_zoom"],
"text-font": ["Noto Sans Regular"],
"text-field": ["get", "name"],
"text-size": 11,
"text-max-width": 9,
"icon-padding": [
"interpolate",
["linear"],
["zoom"],
0,
2,
14,
2,
16,
20,
17,
2,
22,
2
]
},
"paint": {
"text-color": "#525252",
"text-halo-color": "#1f1f1f",
"text-halo-width": 1.5
}
},
{
"id": "places_locality_circle",
"type": "circle",
"source": "protomaps",
"source-layer": "places",
"filter": ["==", "pmap:kind", "locality"],
"paint": {
"circle-radius": 2,
"circle-stroke-width": 1.5,
"circle-stroke-color": "#7a7a7a",
"circle-color": "#000000",
"circle-translate": [-6, 0]
},
"maxzoom": 8
},
{
"id": "places_locality",
"type": "symbol",
"source": "protomaps",
"source-layer": "places",
"filter": ["==", "pmap:kind", "locality"],
"layout": {
"icon-image": [
"step",
["zoom"],
"townspot",
8,
""
],
"icon-size": 0.7,
"text-field": "{name}",
"text-font": [
"case",
Expand Down Expand Up @@ -2001,7 +1953,7 @@ const themeDark = [
["linear"],
["zoom"],
0,
2,
0,
8,
4,
10,
Expand All @@ -2018,7 +1970,7 @@ const themeDark = [
8,
"center"
],
"text-radial-offset": 0.2
"text-radial-offset": 0.4
},
"paint": {
"text-color": "#7a7a7a",
Expand Down
68 changes: 10 additions & 58 deletions vector_map_tiles_pmtiles/lib/src/themes/grayscale.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1792,75 +1792,27 @@ const themeGrayscale = [
],
"text-transform": "uppercase"
},
"paint": {
"text-color": "#7a7a7a",
"text-halo-color": "#cccccc",
"text-halo-width": 2
}
},
{
"id": "pois_important",
"type": "symbol",
"source": "protomaps",
"source-layer": "pois",
"filter": [
"any",
[
"<",
["get", "pmap:min_zoom"],
13
]
],
"layout": {
"symbol-sort-key": ["get", "pmap:min_zoom"],
"text-font": ["Noto Sans Regular"],
"text-field": ["get", "name"],
"text-size": 11,
"text-max-width": 9,
"icon-padding": [
"interpolate",
["linear"],
["zoom"],
0,
2,
14,
2,
16,
20,
17,
2,
22,
2
]
},
"paint": {
"text-color": "#7a7a7a",
"text-halo-color": "#cccccc",
"text-halo-width": 1.5
}
},
{
"id": "places_locality_circle",
"type": "circle",
"source": "protomaps",
"source-layer": "places",
"filter": ["==", "pmap:kind", "locality"],
"paint": {
"circle-radius": 2,
"circle-stroke-width": 1.5,
"circle-stroke-color": "#7a7a7a",
"circle-color": "#c2c2c2",
"circle-translate": [-6, 0]
},
"maxzoom": 8
},
{
"id": "places_locality",
"type": "symbol",
"source": "protomaps",
"source-layer": "places",
"filter": ["==", "pmap:kind", "locality"],
"layout": {
"icon-image": [
"step",
["zoom"],
"townspot",
8,
""
],
"icon-size": 0.7,
"text-field": "{name}",
"text-font": [
"case",
Expand Down Expand Up @@ -2001,7 +1953,7 @@ const themeGrayscale = [
["linear"],
["zoom"],
0,
2,
0,
8,
4,
10,
Expand All @@ -2018,7 +1970,7 @@ const themeGrayscale = [
8,
"center"
],
"text-radial-offset": 0.2
"text-radial-offset": 0.4
},
"paint": {
"text-color": "#474747",
Expand Down
Loading

0 comments on commit 30a0df2

Please sign in to comment.