Skip to content

Commit 2caeba9

Browse files
authored
Tiles 3.4.0; Styles 2.0.0-alpha.5 (#216)
* Tiles 3.4.0; Styles 2.0.0-alpha.5 * add landuse_urban_green layer to styles for village_green, allotments, playgrounds
1 parent af7c9e9 commit 2caeba9

File tree

6 files changed

+30
-4
lines changed

6 files changed

+30
-4
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Tiles v3.4.0, Styles v2.0.0-alpha.5
2+
------
3+
- Add `village_green`, `landuse`, `allotments` to POI layer via @lenalebt [#204]
4+
- Add to styles via `landuse_urban_green` layer
5+
16
Tiles v3.3.0
27
------
38
- Improve water generalization detail by doing area filtering post-merge [#198]

app/src/examples.json

+7
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,12 @@
6161
"tags": ["water"],
6262
"center": [-0.3, 51.4],
6363
"zoom": 8.9
64+
},
65+
{
66+
"name": "landuse-urban-green",
67+
"description": "show village_green, allotments, playgrounds",
68+
"center": [7.3217, 51.50406],
69+
"tags": [],
70+
"zoom": 15
6471
}
6572
]

styles/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

styles/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "protomaps-themes-base",
3-
"version": "2.0.0-alpha.4",
3+
"version": "2.0.0-alpha.5",
44
"description": "Protomaps basemap themes for MapLibre GL JS",
55
"main": "dist/index.cjs",
66
"module": "dist/index.mjs",

styles/src/base_layers.ts

+14
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ export function nolabels_layers(
5353
],
5454
},
5555
},
56+
{
57+
id: "landuse_urban_green",
58+
type: "fill",
59+
source: source,
60+
"source-layer": "landuse",
61+
filter: [
62+
"any",
63+
["in", "pmap:kind", "allotments", "village_green", "playground"],
64+
],
65+
paint: {
66+
"fill-color": t.park_b,
67+
"fill-opacity": 0.7,
68+
},
69+
},
5670
{
5771
id: "landuse_hospital",
5872
type: "fill",

tiles/src/main/java/com/protomaps/basemap/Basemap.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public String description() {
9292

9393
@Override
9494
public String version() {
95-
return "3.3.0";
95+
return "3.4.0";
9696
}
9797

9898
@Override

0 commit comments

Comments
 (0)