Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions layers/components/highway-road-width-casing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
- 0.9 # カーブが大きい
- - zoom
- 4 # zl
- 2
- 1.5
- 6 # zl
- 3
- 2.5
- 8 # zl
- 3
- 14 # zl
Expand Down
36 changes: 0 additions & 36 deletions layers/oc-label-pref.yml

This file was deleted.

36 changes: 0 additions & 36 deletions layers/oc-label-town-ja.yml

This file was deleted.

30 changes: 0 additions & 30 deletions layers/oc-label-town.yml

This file was deleted.

27 changes: 27 additions & 0 deletions layers/oc-road-other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
id: oc-road-other
type: line
source: geolonia
source-layer: transportation
minzoom: 6
filter:
- all
- - '=='
- $type
- LineString
- - '!in'
- class
- motorway
layout:
line-cap: round
line-join: round
paint:
line-color: '#ffffff'
line-opacity:
- interpolate
- - linear
- - zoom
- 6
- 1
- 10
- 0
line-width: !!inc/file layers/components/broad-road-width.yml
4 changes: 2 additions & 2 deletions layers/place-city-capital.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ layout:
- 23
text-field: '{name}'
text-max-width: 8
icon-image: circle-stroked
icon-image: circle-double
text-offset:
- 0
- 0.2
Expand All @@ -36,7 +36,7 @@ layout:
- - linear
- - zoom
- 6
- 0.5
- 0.7
- 16
- 1
text-anchor: top
Expand Down
56 changes: 56 additions & 0 deletions layers/place-city-state.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
id: place-city-state
type: symbol
source: geolonia
source-layer: place
minzoom: 6
maxzoom: 13
filter:
- all
- - '=='
- class
- state
- - '!='
- disputed
- japan_northern_territories
layout:
icon-image: circle-stroked
icon-size: 0.5
icon-padding:
- interpolate
- - linear
- - zoom
- 6
- 100
- 13
- 0
text-anchor: top
text-offset:
stops:
- - 6
- [0, 0.2]
- - 12
- [0, 0]
text-font:
- Noto Sans Universal Regular
text-size:
- interpolate
- - linear
- - zoom
- 6
- 14
- 13
- 24
text-field: '{name}'
text-max-width: 8
visibility: visible
paint:
icon-color: '#000000'
icon-opacity:
stops:
- - 10
- 1
- - 12
- 0
text-color: '#000000'
text-halo-width: 1.2
text-halo-color: rgba(255,255,255,0.8)
5 changes: 2 additions & 3 deletions style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ layers:
- !!inc/file layers/building.yml
- !!inc/file layers/building-3d.yml
- !!inc/file layers/highway-area.yml
- !!inc/file layers/oc-road-other.yml
- !!inc/file layers/highway-motorway-link-casing.yml
- !!inc/file layers/highway-link-casing.yml
- !!inc/file layers/highway-minor-casing.yml
Expand Down Expand Up @@ -138,6 +139,7 @@ layers:
- !!inc/file layers/place-city-rank4.yml
- !!inc/file layers/place-city-rank3.yml
- !!inc/file layers/place-city-rank2.yml
- !!inc/file layers/place-city-state.yml
- !!inc/file layers/place-city-capital.yml
- !!inc/file layers/oc-boundary-land-level-1-ja.yml
- !!inc/file layers/oc-boundary-land-level-1.yml
Expand All @@ -147,10 +149,7 @@ layers:
- !!inc/file layers/nt-water-name-ocean.yml
- !!inc/file layers/nt-water-name-river.yml
- !!inc/file layers/oc-airport.yml
- !!inc/file layers/oc-label-town-ja.yml
- !!inc/file layers/oc-label-town.yml
- !!inc/file layers/oc-label-pref-capital-ja.yml
- !!inc/file layers/oc-label-pref-ja.yml
# - !!inc/file layers/oc-label-pref.yml
- !!inc/file layers/oc-label-capital.yml
- !!inc/file layers/oc-label-country.yml