Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

インターチェンジとジャンクションを追加 #145

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions layers/road_shield_highway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ type: symbol
source: gsi-japan
source-layer: transp
minzoom: 8 #データのズームレベル z8~13
maxzoom: 10
filter:
- all
- - in
Expand Down
30 changes: 30 additions & 0 deletions layers/road_shield_highway_other.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
id: road_shield_highway_other
type: symbol
source: gsi-japan
source-layer: transp
minzoom: 10 #データのズームレベル z10~13
filter:
- all
- - in
- ftCode
- 2941 # インターチェンジ
- 2942 # ジャンクション
- 2945 # スマートインターチェンジ
layout:
icon-image: highway-JP_1
icon-size: 0.6
icon-padding: 13
text-field: ["get", "name"]
text-font:
- Noto Sans CJK JP Bold
text-rotation-alignment: viewport
text-size: 10
text-max-width: 9
text-variable-anchor:
- left
text-radial-offset: 0.8
paint:
text-color: '#2FAB68'
text-halo-blur: 1
text-halo-width: 2
text-halo-color: rgba(255,255,255,1)
1 change: 1 addition & 0 deletions style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ layers:
- !!inc/file layers/poi-mountain.yml
- !!inc/file layers/road_shield_national.yml
- !!inc/file layers/road_shield_highway.yml
- !!inc/file layers/road_shield_highway_other.yml
- !!inc/file layers/railway-label.yml
- !!inc/file layers/airport-label-major.yml
- !!inc/file layers/place-village.yml
Expand Down