Skip to content

Commit

Permalink
Tiles 3.4.0; Styles 2.0.0-alpha.5 (#216)
Browse files Browse the repository at this point in the history
* Tiles 3.4.0; Styles 2.0.0-alpha.5

* add landuse_urban_green layer to styles for village_green, allotments, playgrounds
  • Loading branch information
bdon authored Feb 2, 2024
1 parent af7c9e9 commit 2caeba9
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Tiles v3.4.0, Styles v2.0.0-alpha.5
------
- Add `village_green`, `landuse`, `allotments` to POI layer via @lenalebt [#204]
- Add to styles via `landuse_urban_green` layer

Tiles v3.3.0
------
- Improve water generalization detail by doing area filtering post-merge [#198]
Expand Down
7 changes: 7 additions & 0 deletions app/src/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,12 @@
"tags": ["water"],
"center": [-0.3, 51.4],
"zoom": 8.9
},
{
"name": "landuse-urban-green",
"description": "show village_green, allotments, playgrounds",
"center": [7.3217, 51.50406],
"tags": [],
"zoom": 15
}
]
4 changes: 2 additions & 2 deletions styles/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 styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "protomaps-themes-base",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"description": "Protomaps basemap themes for MapLibre GL JS",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
Expand Down
14 changes: 14 additions & 0 deletions styles/src/base_layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ export function nolabels_layers(
],
},
},
{
id: "landuse_urban_green",
type: "fill",
source: source,
"source-layer": "landuse",
filter: [
"any",
["in", "pmap:kind", "allotments", "village_green", "playground"],
],
paint: {
"fill-color": t.park_b,
"fill-opacity": 0.7,
},
},
{
id: "landuse_hospital",
type: "fill",
Expand Down
2 changes: 1 addition & 1 deletion tiles/src/main/java/com/protomaps/basemap/Basemap.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public String description() {

@Override
public String version() {
return "3.3.0";
return "3.4.0";
}

@Override
Expand Down

0 comments on commit 2caeba9

Please sign in to comment.