@opengis/gis 0.1.82 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.js +6794 -6952
- package/dist/index.umd.cjs +50 -56
- package/module/cls.json +2 -1
- package/module/gis/form/gis.maps.form.json +2 -2
- package/module/gis/form/gis.registers.form.json +8 -199
- package/module/gis/form/gis.services.form.json +11 -200
- package/module/gis/table/gis.group_list.table.json +36 -0
- package/module/gis/table/gis.maps.table.json +5 -7
- package/module/gis/table/gis.ogc_service.table.json +14 -3
- package/module/gis/table/gis.registers.table.json +2 -3
- package/module/gis/table/gis.services.table.json +19 -6
- package/module/test/cls/doc_status.json +31 -31
- package/module/test/cls/ts.temp_status.json +18 -0
- package/module/test/cls/ts.temp_structure.ts_class.json +50 -0
- package/module/test/cls/ts.temp_type.json +10 -0
- package/module/test/layer/bp.json +60 -0
- package/module/test/map/address4.json +2 -42
- package/module/test/map/bp_myo.json +41 -0
- package/module/test/map/main.json +44 -0
- package/module/test/map/mbd.json +24 -176
- package/module/test/map/ts.json +20 -129
- package/module/test/select/address_id.json +3 -0
- package/module/test/select/address_id.sql +8 -0
- package/module/test/select/core.user_uid.sql +1 -1
- package/module/test/table/data_bp_myo.bp.table.json +123 -0
- package/package.json +61 -61
- package/server/migrations/ogc.sql +107 -0
- package/server/migrations/widgets.sql +21 -0
- package/server/routes/gis/index.mjs +18 -2
- package/server/routes/gis/ogc/map.info.point.js +120 -0
- package/server/routes/gis/registers/funcs/classifiers.js +6 -3
- package/server/routes/gis/registers/funcs/handleRegistryRequest.js +15 -22
- package/server/routes/gis/registers/gis.registry.js +3 -2
- package/server/routes/gis/services/add.service.js +5 -5
- package/server/routes/gis/services/get.services.col.js +19 -11
- package/server/routes/gis/services/get.services.js +29 -14
- package/server/routes/gis/services/legend.auto.js +78 -0
- package/server/routes/map/controllers/layerList.js +14 -2
- package/server/routes/map/controllers/mapFeatures.js +11 -2
- package/server/routes/map/controllers/mapFormat.js +14 -18
- package/server/routes/map/controllers/vtile.js +1 -1
- package/server/routes/map/index.mjs +36 -17
- package/server/routes/map/maps/add.map.js +42 -0
- package/server/routes/map/maps/del.map.js +19 -0
- package/server/routes/map/maps/get.map.js +67 -0
- package/server/routes/map/vtile1.js +42 -6
- package/server/routes/map/widgets/add.widget.js +39 -0
- package/server/routes/map/widgets/del.widget.js +23 -0
- package/server/routes/map/widgets/get.widget.js +41 -0
|
@@ -26,19 +26,29 @@
|
|
|
26
26
|
"ua": "Назва",
|
|
27
27
|
"meta": "title",
|
|
28
28
|
"name": "name",
|
|
29
|
-
"link": "/service/{id}",
|
|
29
|
+
"link": "/service/{id}",
|
|
30
30
|
"format": "text"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"ua": "Опис",
|
|
34
34
|
"name": "description",
|
|
35
|
+
"edit":true,
|
|
35
36
|
"width": 300,
|
|
36
37
|
"format": "text"
|
|
37
38
|
},
|
|
39
|
+
{
|
|
40
|
+
"ua": "Група",
|
|
41
|
+
"name": "group_id",
|
|
42
|
+
"width": 300,
|
|
43
|
+
"edit":true,
|
|
44
|
+
"data": "gis.group_list",
|
|
45
|
+
"format": "select"
|
|
46
|
+
},
|
|
38
47
|
{
|
|
39
48
|
"ua": "Ключові слова",
|
|
40
49
|
"name": "keywords",
|
|
41
50
|
"format": "slot",
|
|
51
|
+
"hidden" :true,
|
|
42
52
|
"slot": {
|
|
43
53
|
"content": "<div v-for=\"(tag,index) in data?.keywords\" :key=\"index\"><span class=\"bg-gray-200 px-1 py-0.5 rounded-lg\">{{tag}}</span></div>"
|
|
44
54
|
}
|
|
@@ -47,6 +57,7 @@
|
|
|
47
57
|
"ua": "Джерело",
|
|
48
58
|
"name": "source_type",
|
|
49
59
|
"format": "slot",
|
|
60
|
+
"hidden" :true,
|
|
50
61
|
"width": 270,
|
|
51
62
|
"slot": {
|
|
52
63
|
"content": "<div><span v-if=\"data?.source_type==='url'\"><a :href=\"data?.service_url\" class=\"text-blue-500\">{{data?.service_url}}</a></span><span v-else-if=\"data?.source_type==='database'\">{{data?.source_path}}</span></div>"
|
|
@@ -54,21 +65,23 @@
|
|
|
54
65
|
},
|
|
55
66
|
{
|
|
56
67
|
"ua": "Публічний",
|
|
57
|
-
"name": "is_public",
|
|
58
|
-
"
|
|
59
|
-
"format": "
|
|
68
|
+
"name": "is_public",
|
|
69
|
+
"edit":true,
|
|
70
|
+
"format": "boolean"
|
|
60
71
|
},
|
|
61
72
|
{
|
|
62
73
|
"ua": "Активний",
|
|
63
74
|
"name": "is_active",
|
|
64
75
|
"data": "yes_no",
|
|
65
|
-
"
|
|
76
|
+
"edit":true,
|
|
77
|
+
"format": "boolean"
|
|
66
78
|
},
|
|
67
79
|
{
|
|
68
80
|
"ua": "Можна завантажити",
|
|
69
81
|
"name": "is_downloadable",
|
|
70
82
|
"data": "yes_no",
|
|
71
|
-
"
|
|
83
|
+
"edit":true,
|
|
84
|
+
"format": "boolean"
|
|
72
85
|
}
|
|
73
86
|
],
|
|
74
87
|
"filterList": [
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "1",
|
|
4
|
-
"text": "Діючий",
|
|
5
|
-
"color": "#1ab394"
|
|
6
|
-
},
|
|
7
|
-
{
|
|
8
|
-
"id": "2",
|
|
9
|
-
"text": "Зупинений",
|
|
10
|
-
"color": "#ed82c8"
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"id": "3",
|
|
14
|
-
"text": "Скасований",
|
|
15
|
-
"color": "#4a4a4a"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"id": "5",
|
|
19
|
-
"text": "Проектний",
|
|
20
|
-
"color": "#6495ed"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"id": "7",
|
|
24
|
-
"text": "Очікує розгляду",
|
|
25
|
-
"color": "#92b8ef"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"id": "10",
|
|
29
|
-
"text": "Архівний",
|
|
30
|
-
"color": "#d48428"
|
|
31
|
-
}
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "1",
|
|
4
|
+
"text": "Діючий",
|
|
5
|
+
"color": "#1ab394"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"id": "2",
|
|
9
|
+
"text": "Зупинений",
|
|
10
|
+
"color": "#ed82c8"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "3",
|
|
14
|
+
"text": "Скасований",
|
|
15
|
+
"color": "#4a4a4a"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "5",
|
|
19
|
+
"text": "Проектний",
|
|
20
|
+
"color": "#6495ed"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "7",
|
|
24
|
+
"text": "Очікує розгляду",
|
|
25
|
+
"color": "#92b8ef"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "10",
|
|
29
|
+
"text": "Архівний",
|
|
30
|
+
"color": "#d48428"
|
|
31
|
+
}
|
|
32
32
|
]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "1",
|
|
4
|
+
"text": "Демонтована"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"id": "2",
|
|
8
|
+
"text": "Підлягає демонтажу у зв’язку з анулюванням паспорту прив'язки"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "3",
|
|
12
|
+
"text": "Підлягає демонтажу у зв’язку з самовільним встановленням ТС"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "4",
|
|
16
|
+
"text": "Підлягає демонтажу у зв’язку завершенням терміну дії паспорту прив’язки"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "1",
|
|
4
|
+
"text": "Павільйон"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"id": "2",
|
|
8
|
+
"text": "Кіоск"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "3",
|
|
12
|
+
"text": "Відкритий майданчик для харчування"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "4",
|
|
16
|
+
"text": "Лоток"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "5",
|
|
20
|
+
"text": "Палатка"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "6",
|
|
24
|
+
"text": "Лавка-автопричіп"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "7",
|
|
28
|
+
"text": "Торговий ряд"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "8",
|
|
32
|
+
"text": "Альтанка"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "9",
|
|
36
|
+
"text": "Гараж"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "10",
|
|
40
|
+
"text": "Автокав’ярня"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "11",
|
|
44
|
+
"text": "Типова ТС"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "12",
|
|
48
|
+
"text": "Пересувний засіб дрібнороздільної торговельної мережі"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"service": "vtile",
|
|
3
|
+
"source_path": "data_bp_myo.bp",
|
|
4
|
+
"name": "Будівельні паспорти Template",
|
|
5
|
+
"visible": true,
|
|
6
|
+
"popup": [
|
|
7
|
+
{
|
|
8
|
+
"ua": "Назва замовника",
|
|
9
|
+
"name": "bp_customer_name",
|
|
10
|
+
"meta": "title"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"label": "Реєстраційний номер БП",
|
|
14
|
+
"name": "bp_code",
|
|
15
|
+
"format":"badge"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"label": "Адреса",
|
|
19
|
+
"name": "address"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"card": [
|
|
23
|
+
{
|
|
24
|
+
"label": "Реєстраційний номер БП",
|
|
25
|
+
"name": "bp_code",
|
|
26
|
+
"format": "text"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"ua": "Адреса",
|
|
30
|
+
"name": "address",
|
|
31
|
+
"format": "text"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"ua": "Вид будівництва",
|
|
35
|
+
"data": "bp_build_type",
|
|
36
|
+
"name": "bp_build_type",
|
|
37
|
+
"format": "badge",
|
|
38
|
+
"view_type": "features"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"ua": "Назва замовника",
|
|
42
|
+
"name": "bp_customer_name",
|
|
43
|
+
"format": "text"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"ua": "Статус документа",
|
|
47
|
+
"data": "doc_status",
|
|
48
|
+
"name": "bp_doc_status",
|
|
49
|
+
"format": "badge"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"style": {
|
|
53
|
+
"type": "point",
|
|
54
|
+
"color": "blue",
|
|
55
|
+
"width": 2,
|
|
56
|
+
"radius":10,
|
|
57
|
+
"border": 1,
|
|
58
|
+
"opacity": 0.4
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -7,48 +7,8 @@
|
|
|
7
7
|
30.5234,
|
|
8
8
|
50.4501
|
|
9
9
|
],
|
|
10
|
-
"zoom": 12,
|
|
11
|
-
"
|
|
12
|
-
"sources": [],
|
|
13
|
-
"layers": [
|
|
14
|
-
{
|
|
15
|
-
"id": "address4",
|
|
16
|
-
"label": "Адреси",
|
|
17
|
-
"source_path": "data_address.address",
|
|
18
|
-
"geometry_column": "geom",
|
|
19
|
-
"style": {
|
|
20
|
-
"attribute": "type",
|
|
21
|
-
"colors": {
|
|
22
|
-
"build": "Будівля / Споруда",
|
|
23
|
-
"countrySeat": "Садибний / Садовий / Дачний будинок",
|
|
24
|
-
"landPlot": "Земельна ділянка",
|
|
25
|
-
"complex": "Комплекс будівель і споруд",
|
|
26
|
-
"undergroundObject": "Підземний об’єкт"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"visible": true
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"id": "street4",
|
|
33
|
-
"label": "Вулиці",
|
|
34
|
-
"source_path": "data_address.street.table",
|
|
35
|
-
"style": {
|
|
36
|
-
"attribute": "type",
|
|
37
|
-
"colors": {
|
|
38
|
-
"1": "#4caf50",
|
|
39
|
-
"2": "#2196f3",
|
|
40
|
-
"3": "#f44336",
|
|
41
|
-
"4": "#4caf50",
|
|
42
|
-
"5": "#2196f3",
|
|
43
|
-
"6": "#f44336",
|
|
44
|
-
"8": "#4caf50",
|
|
45
|
-
"9": "#2196f3",
|
|
46
|
-
"11": "#f44336",
|
|
47
|
-
"16": "#4caf50"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
],
|
|
10
|
+
"zoom": 12,
|
|
11
|
+
"layers": [],
|
|
52
12
|
"widgets": [
|
|
53
13
|
{
|
|
54
14
|
"type": "legend",
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"history": true,
|
|
3
|
+
"name": "Буд. паспорти та Містобудівні умови й обмеження",
|
|
4
|
+
"height": "calc(100vh - 65px)",
|
|
5
|
+
"center": [
|
|
6
|
+
34.65450,
|
|
7
|
+
48.51174
|
|
8
|
+
],
|
|
9
|
+
"zoom": 11,
|
|
10
|
+
"widgets":[
|
|
11
|
+
{
|
|
12
|
+
"type": "search",
|
|
13
|
+
"position": "top-left"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "info",
|
|
17
|
+
"position": "top-left",
|
|
18
|
+
"config":{
|
|
19
|
+
"title": "Містобудівна документація",
|
|
20
|
+
"content": "<p style='font-size: 14px; color: #34495E;'>Затверджені текстові і графічні матеріали, якими регулюється планування, забудова та інше використання територій.</p>"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "layers",
|
|
25
|
+
"position": "top-left"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "basemaps",
|
|
29
|
+
"position": "bottom-left"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "legend",
|
|
33
|
+
"position": "bottom-right"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"old":["bp","3c95e341465d"],
|
|
37
|
+
"layers": [
|
|
38
|
+
"3c95e341465d",
|
|
39
|
+
"dbcb186818e3"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"history": true,
|
|
3
|
+
"height": "calc(100vh - 65px)",
|
|
4
|
+
"center": [
|
|
5
|
+
34.65450,
|
|
6
|
+
48.51174
|
|
7
|
+
],
|
|
8
|
+
"zoom": 11,
|
|
9
|
+
"widgets": [
|
|
10
|
+
{
|
|
11
|
+
"type": "info",
|
|
12
|
+
"position": "top-left",
|
|
13
|
+
"config": {
|
|
14
|
+
"title": "Містобудівна документація",
|
|
15
|
+
"content": "<p style='font-size: 14px; color: #34495E;'>Затверджені текстові і графічні матеріали, якими регулюється планування, забудова та інше використання територій.</p>"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "catalog",
|
|
20
|
+
"position": "top-left"
|
|
21
|
+
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "legend",
|
|
25
|
+
"position": "bottom-right"
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
{
|
|
29
|
+
"type": "basemaps",
|
|
30
|
+
"position": "bottom-left",
|
|
31
|
+
"title": "Базові карти",
|
|
32
|
+
"visible": true
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
],
|
|
36
|
+
|
|
37
|
+
"tools": [
|
|
38
|
+
"home",
|
|
39
|
+
"geolocation",
|
|
40
|
+
"length",
|
|
41
|
+
"area",
|
|
42
|
+
"print"
|
|
43
|
+
]
|
|
44
|
+
}
|
package/module/test/map/mbd.json
CHANGED
|
@@ -1,115 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"history": true,
|
|
3
|
-
"height": "calc(100vh - 65px)",
|
|
4
|
-
"
|
|
3
|
+
"height": "calc(100vh - 65px)",
|
|
4
|
+
"center": [
|
|
5
|
+
34.65450,
|
|
6
|
+
48.51174
|
|
7
|
+
],
|
|
8
|
+
"layers":["9587e69d35fd"],
|
|
5
9
|
"widgets": [
|
|
6
10
|
{
|
|
7
11
|
"type": "info",
|
|
8
12
|
"position": "top-left",
|
|
9
13
|
"config": {
|
|
10
14
|
"title": "Містобудівна документація",
|
|
11
|
-
"content": "<p style='font-size: 14px; color: #34495E;'>Затверджені текстові і графічні матеріали, якими регулюється планування, забудова та інше використання територій.</p>"
|
|
12
|
-
|
|
13
|
-
{
|
|
14
|
-
"label": "Карта адресного реєстру",
|
|
15
|
-
"url": "/map/addr"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"label": "Карта БП/МУО",
|
|
19
|
-
"url": "/map/bp_myo"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"label": "Основна карта",
|
|
23
|
-
"url": "/map/main"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"label": "Карта тимчасових споруд",
|
|
27
|
-
"url": "/map/ts"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|
|
15
|
+
"content": "<p style='font-size: 14px; color: #34495E;'>Затверджені текстові і графічні матеріали, якими регулюється планування, забудова та інше використання територій.</p>"
|
|
16
|
+
}
|
|
31
17
|
},
|
|
32
18
|
{
|
|
33
|
-
"type": "
|
|
19
|
+
"type": "layers",
|
|
20
|
+
"position": "bottom-left",
|
|
21
|
+
"visible": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "dataset",
|
|
34
25
|
"position": "top-right",
|
|
35
26
|
"title": "Густота населення",
|
|
36
27
|
"config": {
|
|
37
|
-
"layer_id": "municipalities",
|
|
38
|
-
"
|
|
39
|
-
"attribute": "status",
|
|
40
|
-
"cls": "mbd.mbd_status",
|
|
41
|
-
"colors1": [
|
|
42
|
-
"red",
|
|
43
|
-
"blue"
|
|
44
|
-
],
|
|
45
|
-
"legend1": [
|
|
46
|
-
{
|
|
47
|
-
"label": "Чинна",
|
|
48
|
-
"color": "#00FF00"
|
|
49
|
-
}
|
|
50
|
-
]
|
|
28
|
+
"layer_id": "municipalities",
|
|
29
|
+
"attribute": "status"
|
|
51
30
|
},
|
|
52
31
|
"visible": true
|
|
53
32
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"position": "top-left",
|
|
57
|
-
"config": {
|
|
58
|
-
"layer": {
|
|
59
|
-
"id": "data_mbd.mbd",
|
|
60
|
-
"service": "vtile",
|
|
61
|
-
"url": "/api/vtile/data_mbd.mbd/ua/{z}/{x}/{y}.vmt",
|
|
62
|
-
"service_key": "mbd",
|
|
63
|
-
"map_key": "mbd",
|
|
64
|
-
"style": {
|
|
65
|
-
"type": "point",
|
|
66
|
-
"color": "blue",
|
|
67
|
-
"width": 2,
|
|
68
|
-
"border": 1,
|
|
69
|
-
"opacity": 0.4,
|
|
70
|
-
"lineOpacity": 0.8,
|
|
71
|
-
"stroke": "black",
|
|
72
|
-
"attrType": "attribute-color",
|
|
73
|
-
"attribute": "status",
|
|
74
|
-
"rules": [
|
|
75
|
-
{
|
|
76
|
-
"value": "3",
|
|
77
|
-
"label": "Чинна",
|
|
78
|
-
"color": "#00FF00"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"value": "4",
|
|
82
|
-
"label": "Втратила чинність",
|
|
83
|
-
"color": "#FF0000"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"value": "5",
|
|
87
|
-
"label": "Завантажено",
|
|
88
|
-
"color": "#A52A2A"
|
|
89
|
-
}
|
|
90
|
-
],
|
|
91
|
-
"popup": {
|
|
92
|
-
"mode": "html",
|
|
93
|
-
"title": "name",
|
|
94
|
-
"fields": [
|
|
95
|
-
{
|
|
96
|
-
"label": "Назва",
|
|
97
|
-
"value": "name"
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"label": "Реєстраційний номер в МБКД",
|
|
101
|
-
"value": "reg_num"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
"label": "Площа розробки",
|
|
105
|
-
"value": "developing_area"
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
},
|
|
33
|
+
|
|
34
|
+
|
|
113
35
|
{
|
|
114
36
|
"type": "legend",
|
|
115
37
|
"position": "bottom-right",
|
|
@@ -137,7 +59,7 @@
|
|
|
137
59
|
}
|
|
138
60
|
},
|
|
139
61
|
{
|
|
140
|
-
"type": "
|
|
62
|
+
"type": "filters",
|
|
141
63
|
"position": "absolute",
|
|
142
64
|
"style": {
|
|
143
65
|
"top": "20px",
|
|
@@ -146,93 +68,19 @@
|
|
|
146
68
|
},
|
|
147
69
|
"title": "Фільтри (absolute)",
|
|
148
70
|
"config": {
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"dialog": false,
|
|
152
|
-
"filters": [
|
|
153
|
-
{
|
|
154
|
-
"name": "status",
|
|
155
|
-
"data": "mbd.mbd_status",
|
|
156
|
-
"type": "check",
|
|
157
|
-
"label": "Статус",
|
|
158
|
-
"inline": true
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"name": "class_mbd_id",
|
|
162
|
-
"data": "mbd.class_mbd_id_all",
|
|
163
|
-
"type": "check",
|
|
164
|
-
"label": "Вид МБД",
|
|
165
|
-
"inline": true
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "external_id",
|
|
169
|
-
"data": "mbd.external_id_all",
|
|
170
|
-
"type": "autocomplete",
|
|
171
|
-
"label": "Об`єкт АТУ",
|
|
172
|
-
"inline": true
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"name": "reg_num",
|
|
176
|
-
"type": "text",
|
|
177
|
-
"label": "Реєстраційний номер в системі МБКД",
|
|
178
|
-
"inline": true
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"name": "app_date",
|
|
182
|
-
"type": "date",
|
|
183
|
-
"label": "Дата затвердження",
|
|
184
|
-
"inline": true
|
|
185
|
-
}
|
|
186
|
-
]
|
|
71
|
+
"layer": "9587e69d35fd",
|
|
72
|
+
"layout":"inline"
|
|
187
73
|
}
|
|
188
74
|
},
|
|
189
75
|
{
|
|
190
76
|
"type": "basemaps",
|
|
191
77
|
"position": "bottom-left",
|
|
192
|
-
"title": "Базові карти",
|
|
193
|
-
"config": {
|
|
194
|
-
"default": "voyager",
|
|
195
|
-
"layers": [
|
|
196
|
-
{
|
|
197
|
-
"id": "voyager",
|
|
198
|
-
"title": "Базова карта (voyager)",
|
|
199
|
-
"url": "https://data.gki.com.ua/api-user/rtile/voyager/ua/{z}/{x}/{y}.png",
|
|
200
|
-
"service": "raster",
|
|
201
|
-
"attribution": "© <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>, © <a href='https://carto.com/attributions'>CARTO</a>",
|
|
202
|
-
"image": "https://data.gki.com.ua/api-user/rtile/voyager/ua/12/2422/1400.png",
|
|
203
|
-
"owner": "OSM",
|
|
204
|
-
"basemap": true
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"id": "esri",
|
|
208
|
-
"title": "ESRI Online Imagery(2022-2023)",
|
|
209
|
-
"url": "https://server.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}.png",
|
|
210
|
-
"service": "raster",
|
|
211
|
-
"image": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/7/47/69.png"
|
|
212
|
-
}
|
|
213
|
-
]
|
|
214
|
-
},
|
|
78
|
+
"title": "Базові карти",
|
|
215
79
|
"visible": true
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"type": "card",
|
|
219
|
-
"position": "top-right",
|
|
220
|
-
"config": {
|
|
221
|
-
"title": "Інформація про об'єкт"
|
|
222
|
-
}
|
|
223
80
|
}
|
|
81
|
+
|
|
224
82
|
],
|
|
225
|
-
|
|
226
|
-
"hover": {
|
|
227
|
-
"enabled": true
|
|
228
|
-
},
|
|
229
|
-
"navigation": {
|
|
230
|
-
"enabled": true
|
|
231
|
-
},
|
|
232
|
-
"click": {
|
|
233
|
-
"enabled": true
|
|
234
|
-
}
|
|
235
|
-
},
|
|
83
|
+
|
|
236
84
|
"tools": [
|
|
237
85
|
"home",
|
|
238
86
|
"geolocation",
|