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
8 changes: 8 additions & 0 deletions layers/place-suburb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ layout:
- 16
text-field: ['upcase', ['get', 'name']]
text-letter-spacing: 0.2
text-padding:
- interpolate
- - linear
- - zoom
- 11
- 20
- 15
- 0
visibility: visible
paint:
text-color: '#888888'
Expand Down
49 changes: 49 additions & 0 deletions layers/poi-z12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
id: poi-z12
type: symbol
source: geolonia
source-layer: poi
minzoom: 12
filter:
- all
- - '=='
- $type
- Point
- - has
- name
- - 'in'
- class
- college
- stadium
- landmark
- town_hall
- hospital
- - '!in'
- subclass
- community_centre # class town_hall内でも
- - '!='
- 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'
2 changes: 1 addition & 1 deletion style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ layers:
- !!inc/file layers/poi-z16-primary.yml
- !!inc/file layers/poi-z15.yml
- !!inc/file layers/poi-z14.yml
- !!inc/file layers/poi-z11.yml
- !!inc/file layers/poi-z12.yml
- !!inc/file layers/poi-railway.yml
- !!inc/file layers/poi-airport-primary.yml
- !!inc/file layers/road_shield_prefectural.yml
Expand Down