From 7d6dd41ba1d7a670f4ab0f412edc60462a3d0a90 Mon Sep 17 00:00:00 2001 From: naoki Date: Wed, 15 Jun 2022 16:28:32 +0900 Subject: [PATCH] fix pref name --- layers/oc-label-pref-ja.yml | 14 +++++++++++--- layers/oc-label-pref.yml | 14 +++++++++++--- style.yml | 10 +++++----- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/layers/oc-label-pref-ja.yml b/layers/oc-label-pref-ja.yml index 98aae04..d0a4024 100644 --- a/layers/oc-label-pref-ja.yml +++ b/layers/oc-label-pref-ja.yml @@ -17,11 +17,19 @@ layout: - Noto Sans Regular text-size: stops: - - - 5 + - - 3 - 10 - - - 8 - - 17 + - - 6 + - 12 text-field: '{name}' + text-padding: + - interpolate + - - linear + - - zoom + - 3 + - 10 + - 6 + - 25 text-max-width: 8 visibility: visible paint: diff --git a/layers/oc-label-pref.yml b/layers/oc-label-pref.yml index 6267df8..8766426 100644 --- a/layers/oc-label-pref.yml +++ b/layers/oc-label-pref.yml @@ -15,11 +15,19 @@ layout: - Noto Sans Regular text-size: stops: - - - 5 + - - 3 + - 10 + - - 6 - 12 - - - 8 - - 14 text-field: '{name}' + text-padding: + - interpolate + - - linear + - - zoom + - 3 + - 10 + - 6 + - 25 text-max-width: 8 visibility: visible paint: diff --git a/style.yml b/style.yml index 770815d..5ae337a 100644 --- a/style.yml +++ b/style.yml @@ -55,14 +55,14 @@ layers: - !!inc/file layers/oc-water-name-other.yml - !!inc/file layers/nt-water-name-ocean.yml - !!inc/file layers/nt-water-name-river.yml - - !!inc/file layers/oc-label-country.yml - - !!inc/file layers/oc-label-pref-ja.yml - # - !!inc/file layers/oc-label-pref.yml + - !!inc/file layers/oc-airport.yml - !!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-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-airport.yml + - !!inc/file layers/oc-label-country.yml - !!inc/file layers/landuse-commercial.yml - !!inc/file layers/landuse-industrial.yml - !!inc/file layers/park.yml