diff --git a/layers/aeroway-area.yml b/layers/aeroway-area.yml deleted file mode 100644 index 60c84a2..0000000 --- a/layers/aeroway-area.yml +++ /dev/null @@ -1,25 +0,0 @@ -id: aeroway-area -type: fill -source: geolonia -source-layer: aeroway -minzoom: 4 -filter: - - all - - - '==' - - $type - - Polygon - - - in - - class - - runway - - taxiway -layout: - visibility: visible -paint: - fill-opacity: - base: 1 - stops: - - - 13 - - 0 - - - 14 - - 1 - fill-color: rgba(255, 255, 255, 1) diff --git a/layers/bridge-motorway-casing-blur.yml b/layers/bridge-motorway-casing-blur.yml index 61d5532..5396eb9 100644 --- a/layers/bridge-motorway-casing-blur.yml +++ b/layers/bridge-motorway-casing-blur.yml @@ -15,19 +15,7 @@ layout: line-cap: "round" paint: line-color: '#000000' - line-width: - base: 1.2 - stops: - - - 5 - - 0.4 - - - 6 - - 0.6 - - - 7 - - 1.5 - - - 15 - - 14 - - - 20 - - 18 + line-width: !!inc/file layers/components/broad-road-width-casing.yml line-translate: stops: - - 14 @@ -40,7 +28,7 @@ paint: - 0.2 - - 17 - 0.6 - line-blur: + line-blur: stops: - - 14 - 20 diff --git a/layers/bridge-motorway-link-casing-blur.yml b/layers/bridge-motorway-link-casing-blur.yml index a5d86a4..2b0da5d 100644 --- a/layers/bridge-motorway-link-casing-blur.yml +++ b/layers/bridge-motorway-link-casing-blur.yml @@ -12,17 +12,7 @@ filter: - motorway_link paint: line-color: '#000000' - line-width: - base: 1.2 - stops: - - - 12 - - 1 - - - 13 - - 3 - - - 14 - - 4 - - - 20 - - 20 + line-width: !!inc/file layers/components/broad-road-width-casing.yml line-translate: stops: - - 14 @@ -35,9 +25,9 @@ paint: - 0.2 - - 17 - 0.8 - line-blur: + line-blur: stops: - - 14 - 20 - - 17 - - 25 \ No newline at end of file + - 25 diff --git a/layers/bridge-secondary-tertiary-casing-blur.yml b/layers/bridge-secondary-tertiary-casing-blur.yml index e403f26..c639bf8 100644 --- a/layers/bridge-secondary-tertiary-casing-blur.yml +++ b/layers/bridge-secondary-tertiary-casing-blur.yml @@ -16,13 +16,7 @@ layout: line-cap: "round" paint: line-color: '#000000' - line-width: - base: 1.2 - stops: - - - 8 - - 1.5 - - - 20 - - 15 + line-width: !!inc/file layers/components/broad-road-width-casing.yml line-translate: stops: - - 14 diff --git a/layers/bridge-trunk-primary-casing-blur.yml b/layers/bridge-trunk-primary-casing-blur.yml index ee12124..689dd6f 100644 --- a/layers/bridge-trunk-primary-casing-blur.yml +++ b/layers/bridge-trunk-primary-casing-blur.yml @@ -16,19 +16,7 @@ layout: line-cap: "round" paint: line-color: '#000000' - line-width: - base: 1.2 - stops: - - - 5 - - 0.4 - - - 6 - - 0.6 - - - 7 - - 1.5 - - - 14 - - 10 - - - 20 - - 25 + line-width: !!inc/file layers/components/broad-road-width-casing.yml line-translate: stops: - - 14 @@ -41,7 +29,7 @@ paint: - 0.2 - - 17 - 0.8 - line-blur: + line-blur: stops: - - 14 - 20 diff --git a/layers/landcover-wood.yml b/layers/landcover-wood.yml index 8a01f95..8baeb8f 100644 --- a/layers/landcover-wood.yml +++ b/layers/landcover-wood.yml @@ -10,16 +10,10 @@ layout: visibility: visible paint: fill-color: '#bce398' - # fill-opacity: - # stops: - # - - 11 - # - 1 - # - - 12 - # - 0.4 fill-antialias: base: 1 stops: - - 0 - false - - 9 - - true \ No newline at end of file + - true diff --git a/layers/oc-boundary-land-level-1-ja.yml b/layers/oc-boundary-land-level-1-ja.yml index 3dd85de..558a02d 100644 --- a/layers/oc-boundary-land-level-1-ja.yml +++ b/layers/oc-boundary-land-level-1-ja.yml @@ -2,7 +2,7 @@ id: oc-boundary-land-level-1-ja type: line source: oceanus source-layer: oc-boundary -minzoom: 4 +minzoom: 3 maxzoom: 6 filter: - all diff --git a/layers/oc-boundary-land-level-1.yml b/layers/oc-boundary-land-level-1.yml index cd191db..2b0148c 100644 --- a/layers/oc-boundary-land-level-1.yml +++ b/layers/oc-boundary-land-level-1.yml @@ -2,7 +2,7 @@ id: oc-boundary-land-level-1 type: line source: oceanus source-layer: oc-boundary -minzoom: 4 +minzoom: 3 maxzoom: 6 filter: - all diff --git a/layers/oc-label-capital.yml b/layers/oc-label-capital.yml new file mode 100644 index 0000000..6067c9c --- /dev/null +++ b/layers/oc-label-capital.yml @@ -0,0 +1,37 @@ +id: oc-label-capital +type: symbol +source: oceanus +source-layer: oc-label +minzoom: 3 +maxzoom: 6 +filter: + - all + - - '==' + - - get + - class + - capital +layout: + icon-image: circle-stroked + icon-size: 0.8 + text-anchor: top + text-offset: + - 0 + - 0.2 + text-font: + - Noto Sans Regular + text-size: 15 + text-field: '{name}' + text-max-width: 8 + visibility: visible +paint: + icon-color: '#000000' + icon-opacity: + stops: + - - 11.9 + - 1 + - - 12 + - 0 + text-color: rgba(68, 68, 68, 1) + text-halo-width: 1.2 + text-halo-color: rgba(255,255,255,0.8) + diff --git a/layers/oc-label-pref.yml b/layers/oc-label-pref.yml index ad5db8b..6267df8 100644 --- a/layers/oc-label-pref.yml +++ b/layers/oc-label-pref.yml @@ -2,7 +2,7 @@ id: oc-label-pref type: symbol source: oceanus source-layer: oc-label -minzoom: 5 +minzoom: 3 maxzoom: 6 filter: - all diff --git a/style.yml b/style.yml index 45748be..58cf261 100644 --- a/style.yml +++ b/style.yml @@ -8,7 +8,7 @@ sources: oceanus: type: vector maxzoom: 5 - url: https://tileserver.geolonia.com/oceanus/tiles.json?key=YOUR-API-KEY + url: https://tileserver.geolonia.com/oceanus-pr-28/tiles.json?key=YOUR-API-KEY geolonia-water: type: vector url: https://tileserver.geolonia.com/water/tiles.json?key=YOUR-API-KEY @@ -61,6 +61,7 @@ layers: - !!inc/file layers/oc-label-town-ja.yml - !!inc/file layers/oc-label-pref-capital-ja.yml - !!inc/file layers/oc-label-town.yml + - !!inc/file layers/oc-label-capital.yml - !!inc/file layers/oc-airport.yml - !!inc/file layers/landuse-commercial.yml - !!inc/file layers/landuse-industrial.yml @@ -98,7 +99,6 @@ layers: - !!inc/file layers/tunnel-motorway.yml - !!inc/file layers/aeroway-taxiway-casing.yml - !!inc/file layers/aeroway-runway-casing.yml - - !!inc/file layers/aeroway-area.yml - !!inc/file layers/aeroway-taxiway.yml - !!inc/file layers/aeroway-runway.yml - !!inc/file layers/building.yml