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: 1 addition & 3 deletions layers/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ id: building
type: fill
source: geolonia
source-layer: building
minzoom: 16
# layout:
# visibility: none
minzoom: 15
paint:
fill-color: 'rgba(236, 236, 236, 0.9)'
fill-outline-color: '#ccc'
Expand Down
3 changes: 1 addition & 2 deletions layers/poi-airport-primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ id: poi-airport-primary
type: symbol
source: geolonia
source-layer: aerodrome_label
minzoom: 10
minzoom: 8
filter:
- all
- - has
Expand All @@ -24,7 +24,6 @@ layout:
text-max-width: 9
visibility: visible
icon-size: 1
text-optional: true
paint:
text-halo-blur: 0.5
text-color: '#666'
Expand Down
2 changes: 1 addition & 1 deletion layers/poi-park-primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ layout:
- - linear
- - zoom
- 11
- 15
- 50
- 15
- 2
text-field: '{name}'
Expand Down
1 change: 1 addition & 0 deletions layers/poi-railway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ paint:
text-color: '#415CBD'
text-halo-width: 2
text-halo-color: '#ffffff'
text-opacity: ['step', ['zoom'], 0, 12, 0, 14, 1]
4 changes: 2 additions & 2 deletions layers/poi-z11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ filter:
- name
- - 'in'
- class
- college
- stadium
- landmark
- monument
- museum
- town_hall
- golf
- hospital
- - '!in'
- subclass
- community_centre # class town_hall内でも
Expand Down
42 changes: 42 additions & 0 deletions layers/poi-z12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
id: poi-z12
type: symbol
source: geolonia
source-layer: poi
minzoom: 12
filter:
- all
- - '=='
- $type
- Point
- - has
- name
- - 'in'
- class
- museum
- - '!='
- disputed
- japan_northern_territories
layout:
text-padding: 2
text-font:
- Noto Sans Universal Regular
text-anchor: top
icon-anchor: bottom
icon-image:
- coalesce
- - image
- - get
- class
- - image
- circle-stroked
text-field: '{name}'
text-offset:
- 0
- 0.3
text-size: 12
text-max-width: 9
paint:
text-halo-blur: 0.5
text-color: '#666'
text-halo-width: 1
text-halo-color: '#ffffff'
1 change: 0 additions & 1 deletion layers/poi-z14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ filter:
- name
- - 'in'
- class
- college
- castle
- aquarium
- cinema
Expand Down
2 changes: 1 addition & 1 deletion layers/poi-z15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ filter:
- grocery
- shop
- school
- hospital
- monument
- - '!='
- disputed
- japan_northern_territories
Expand Down
11 changes: 6 additions & 5 deletions style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,19 @@ layers:
# - !!inc/file layers/railway-subway-name.yml
- !!inc/file layers/road_oneway.yml
- !!inc/file layers/road_oneway_opposite.yml
- !!inc/file layers/poi-worship.yml
- !!inc/file layers/poi-worship-primary.yml
- !!inc/file layers/poi-park.yml
- !!inc/file layers/poi-park-primary.yml
- !!inc/file layers/poi-z16.yml
- !!inc/file layers/poi-z16-primary.yml
- !!inc/file layers/poi-z15.yml
- !!inc/file layers/poi-z14.yml
- !!inc/file layers/poi-z12.yml
- !!inc/file layers/poi-z11.yml
- !!inc/file layers/poi-worship.yml
- !!inc/file layers/poi-worship-primary.yml
- !!inc/file layers/poi-park.yml
- !!inc/file layers/poi-park-primary.yml
- !!inc/file layers/poi-railway.yml
- !!inc/file layers/poi-airport-primary.yml
- !!inc/file layers/poi-mountain.yml
# - !!inc/file layers/poi-mountain.yml
- !!inc/file layers/road_shield_prefectural.yml
- !!inc/file layers/road_shield_national.yml
- !!inc/file layers/road_shield_highway.yml
Expand Down