From b278cae5531438c5db6ce04e088436a62e8f5644 Mon Sep 17 00:00:00 2001 From: Victor Vedenin Date: Mon, 16 Dec 2024 11:22:46 +0300 Subject: [PATCH] add kz district and district availability check (#98) --- common/districts.ts | 6 ++++-- pages/contents/integrators.vue | 38 ++++++++++++++++++++++------------ 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/common/districts.ts b/common/districts.ts index 3f3534b7..e2110b01 100644 --- a/common/districts.ts +++ b/common/districts.ts @@ -2,16 +2,18 @@ import type { Districts } from '~/common/types'; export const districts: Districts = { ru: [ - { value: 'moscow', label: 'Москва и область', coordinates: [55.8, 37.5], zoom: 9 }, - { value: 'spb', label: 'Санкт-Петербург', coordinates: [59.75, 30.5], zoom: 9 }, + { value: 'moscow', label: 'Москва и область', coordinates: [55.6, 37.5], zoom: 8 }, + { value: 'spb', label: 'Санкт-Петербург', coordinates: [59.95, 30.5], zoom: 9 }, { value: 'center', label: 'Центральный округ', coordinates: [54.21, 37.62], zoom: 12 }, { value: 'volga', label: 'Приволжский округ', coordinates: [57.5, 51], zoom: 6 }, { value: 'ural', label: 'Уральский округ', coordinates: [56.84, 60.57], zoom: 12 }, { value: 'by', label: 'Беларусь', coordinates: [53.95, 27.65], zoom: 9 }, + { value: 'kz', label: 'Казахстан', coordinates: [43.24, 76.88], zoom: 10 }, { value: 'kg', label: 'Кыргызстан', coordinates: [42.90, 74.5], zoom: 10 }, ], en: [ { value: 'by', label: 'Republic of Belarus', coordinates: [53.95, 27.65], zoom: 12 }, + { value: 'kz', label: 'Kazakhstan', coordinates: [43.24, 76.88], zoom: 10 }, { value: 'kg', label: 'Republic of Kyrgyzstan', coordinates: [42.90, 74.5], zoom: 10 }, ], }; diff --git a/pages/contents/integrators.vue b/pages/contents/integrators.vue index 9b696d48..67c4e27f 100644 --- a/pages/contents/integrators.vue +++ b/pages/contents/integrators.vue @@ -1,5 +1,6 @@