umap-project 2.1.3__py3-none-any.whl → 2.2.0__py3-none-any.whl
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.
Potentially problematic release.
This version of umap-project might be problematic. Click here for more details.
- umap/__init__.py +1 -1
- umap/context_processors.py +1 -0
- umap/locale/br/LC_MESSAGES/django.mo +0 -0
- umap/locale/en/LC_MESSAGES/django.po +32 -32
- umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap/locale/it/LC_MESSAGES/django.mo +0 -0
- umap/locale/ms/LC_MESSAGES/django.mo +0 -0
- umap/migrations/0020_alter_tilelayer_url_template.py +19 -0
- umap/migrations/0021_remove_map_description.py +16 -0
- umap/models.py +8 -6
- umap/settings/base.py +1 -0
- umap/static/umap/base.css +43 -156
- umap/static/umap/content.css +7 -25
- umap/static/umap/css/icon.css +112 -0
- umap/static/umap/css/panel.css +140 -0
- umap/static/umap/img/16-white.svg +5 -1
- umap/static/umap/img/16.svg +7 -4
- umap/static/umap/img/24-white.svg +3 -1
- umap/static/umap/img/24.svg +3 -4
- umap/static/umap/img/source/16-white.svg +176 -940
- umap/static/umap/img/source/16.svg +8 -5
- umap/static/umap/img/source/24-white.svg +5 -3
- umap/static/umap/img/source/24.svg +6 -7
- umap/static/umap/js/modules/browser.js +97 -73
- umap/static/umap/js/modules/dompurify.js +12 -0
- umap/static/umap/js/modules/facets.js +149 -0
- umap/static/umap/js/modules/global.js +9 -1
- umap/static/umap/js/modules/i18n.js +7 -0
- umap/static/umap/js/modules/orderable.js +84 -0
- umap/static/umap/js/modules/panel.js +76 -0
- umap/static/umap/js/modules/request.js +0 -1
- umap/static/umap/js/modules/schema.js +324 -223
- umap/static/umap/js/modules/urls.js +1 -16
- umap/static/umap/js/modules/utils.js +340 -0
- umap/static/umap/js/umap.autocomplete.js +40 -25
- umap/static/umap/js/umap.controls.js +227 -369
- umap/static/umap/js/umap.core.js +77 -366
- umap/static/umap/js/umap.datalayer.permissions.js +1 -1
- umap/static/umap/js/umap.features.js +62 -42
- umap/static/umap/js/umap.forms.js +128 -36
- umap/static/umap/js/umap.icon.js +11 -4
- umap/static/umap/js/umap.importer.js +78 -57
- umap/static/umap/js/umap.js +179 -156
- umap/static/umap/js/umap.layer.js +79 -40
- umap/static/umap/js/umap.permissions.js +13 -9
- umap/static/umap/js/umap.popup.js +26 -30
- umap/static/umap/js/umap.share.js +12 -9
- umap/static/umap/js/umap.tableeditor.js +4 -6
- umap/static/umap/js/umap.ui.js +10 -60
- umap/static/umap/locale/am_ET.js +243 -227
- umap/static/umap/locale/am_ET.json +21 -9
- umap/static/umap/locale/ar.js +243 -227
- umap/static/umap/locale/ar.json +21 -9
- umap/static/umap/locale/ast.js +243 -227
- umap/static/umap/locale/ast.json +21 -9
- umap/static/umap/locale/bg.js +243 -227
- umap/static/umap/locale/bg.json +21 -9
- umap/static/umap/locale/br.js +253 -237
- umap/static/umap/locale/br.json +25 -13
- umap/static/umap/locale/ca.js +243 -227
- umap/static/umap/locale/ca.json +21 -9
- umap/static/umap/locale/cs_CZ.js +243 -227
- umap/static/umap/locale/cs_CZ.json +21 -9
- umap/static/umap/locale/da.js +243 -227
- umap/static/umap/locale/da.json +21 -9
- umap/static/umap/locale/de.js +243 -227
- umap/static/umap/locale/de.json +21 -9
- umap/static/umap/locale/el.js +243 -227
- umap/static/umap/locale/el.json +21 -9
- umap/static/umap/locale/en.js +243 -234
- umap/static/umap/locale/en.json +22 -10
- umap/static/umap/locale/en_US.json +21 -9
- umap/static/umap/locale/es.js +243 -227
- umap/static/umap/locale/es.json +21 -9
- umap/static/umap/locale/et.js +243 -227
- umap/static/umap/locale/et.json +21 -9
- umap/static/umap/locale/eu.js +227 -199
- umap/static/umap/locale/eu.json +1 -1
- umap/static/umap/locale/fa_IR.js +243 -227
- umap/static/umap/locale/fa_IR.json +21 -9
- umap/static/umap/locale/fi.js +243 -227
- umap/static/umap/locale/fi.json +21 -9
- umap/static/umap/locale/fr.js +243 -234
- umap/static/umap/locale/fr.json +21 -9
- umap/static/umap/locale/gl.js +243 -227
- umap/static/umap/locale/gl.json +21 -9
- umap/static/umap/locale/he.js +243 -227
- umap/static/umap/locale/he.json +21 -9
- umap/static/umap/locale/hr.js +243 -227
- umap/static/umap/locale/hr.json +21 -9
- umap/static/umap/locale/hu.js +243 -234
- umap/static/umap/locale/hu.json +21 -9
- umap/static/umap/locale/id.js +243 -227
- umap/static/umap/locale/id.json +21 -9
- umap/static/umap/locale/is.js +243 -227
- umap/static/umap/locale/is.json +21 -9
- umap/static/umap/locale/it.js +243 -234
- umap/static/umap/locale/it.json +21 -9
- umap/static/umap/locale/ja.js +243 -227
- umap/static/umap/locale/ja.json +21 -9
- umap/static/umap/locale/ko.js +243 -227
- umap/static/umap/locale/ko.json +21 -9
- umap/static/umap/locale/lt.js +243 -227
- umap/static/umap/locale/lt.json +21 -9
- umap/static/umap/locale/ms.js +243 -234
- umap/static/umap/locale/ms.json +22 -10
- umap/static/umap/locale/nl.js +246 -230
- umap/static/umap/locale/nl.json +21 -9
- umap/static/umap/locale/no.js +243 -227
- umap/static/umap/locale/no.json +21 -9
- umap/static/umap/locale/pl.js +243 -227
- umap/static/umap/locale/pl.json +21 -9
- umap/static/umap/locale/pl_PL.json +21 -9
- umap/static/umap/locale/pt.js +243 -227
- umap/static/umap/locale/pt.json +21 -9
- umap/static/umap/locale/pt_BR.js +243 -227
- umap/static/umap/locale/pt_BR.json +21 -9
- umap/static/umap/locale/pt_PT.js +243 -227
- umap/static/umap/locale/pt_PT.json +21 -9
- umap/static/umap/locale/ro.js +243 -227
- umap/static/umap/locale/ro.json +21 -9
- umap/static/umap/locale/ru.js +243 -227
- umap/static/umap/locale/ru.json +21 -9
- umap/static/umap/locale/si.js +1 -1
- umap/static/umap/locale/si.json +1 -1
- umap/static/umap/locale/sk_SK.js +243 -227
- umap/static/umap/locale/sk_SK.json +21 -9
- umap/static/umap/locale/sl.js +243 -227
- umap/static/umap/locale/sl.json +21 -9
- umap/static/umap/locale/sr.js +243 -227
- umap/static/umap/locale/sr.json +21 -9
- umap/static/umap/locale/sv.js +243 -227
- umap/static/umap/locale/sv.json +21 -9
- umap/static/umap/locale/th_TH.js +243 -227
- umap/static/umap/locale/th_TH.json +21 -9
- umap/static/umap/locale/tr.js +243 -227
- umap/static/umap/locale/tr.json +21 -9
- umap/static/umap/locale/uk_UA.js +243 -227
- umap/static/umap/locale/uk_UA.json +21 -9
- umap/static/umap/locale/vi.js +243 -227
- umap/static/umap/locale/vi.json +21 -9
- umap/static/umap/locale/vi_VN.json +21 -9
- umap/static/umap/locale/zh.js +243 -227
- umap/static/umap/locale/zh.json +21 -9
- umap/static/umap/locale/zh_CN.json +21 -9
- umap/static/umap/locale/zh_TW.Big5.json +21 -9
- umap/static/umap/locale/zh_TW.js +243 -234
- umap/static/umap/locale/zh_TW.json +21 -9
- umap/static/umap/map.css +124 -264
- umap/static/umap/test/DataLayer.js +463 -0
- umap/static/umap/test/Feature.js +0 -226
- umap/static/umap/test/TableEditor.js +104 -0
- umap/static/umap/test/Util.js +0 -521
- umap/static/umap/test/index.html +0 -1
- umap/static/umap/unittests/URLs.js +1 -1
- umap/static/umap/unittests/utils.js +610 -0
- umap/static/umap/vars.css +9 -0
- umap/static/umap/vendors/dompurify/purify.es.mjs +1525 -0
- umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +1 -0
- umap/static/umap/vendors/iconlayers/iconLayers.js +1 -1
- umap/templates/umap/css.html +2 -0
- umap/templates/umap/js.html +0 -1
- umap/templates/umap/map_detail.html +4 -0
- umap/templates/umap/map_table.html +12 -10
- umap/templatetags/umap_tags.py +5 -0
- umap/tests/integration/conftest.py +12 -1
- umap/tests/integration/test_anonymous_owned_map.py +27 -5
- umap/tests/integration/test_basics.py +21 -0
- umap/tests/integration/test_browser.py +12 -25
- umap/tests/integration/test_choropleth.py +1 -1
- umap/tests/integration/test_dashboard.py +10 -0
- umap/tests/integration/test_datalayer.py +8 -6
- umap/tests/integration/test_edit_datalayer.py +24 -19
- umap/tests/integration/test_edit_map.py +189 -2
- umap/tests/integration/test_edit_marker.py +120 -0
- umap/tests/integration/test_edit_polygon.py +122 -0
- umap/tests/integration/test_facets_browser.py +104 -14
- umap/tests/integration/test_import.py +72 -20
- umap/tests/integration/test_map.py +19 -17
- umap/tests/integration/test_map_list.py +28 -0
- umap/tests/integration/test_owned_map.py +10 -10
- umap/tests/integration/test_picto.py +5 -5
- umap/tests/integration/test_querystring.py +9 -15
- umap/tests/integration/test_slideshow.py +0 -5
- umap/tests/integration/test_statics.py +3 -2
- umap/tests/integration/test_tableeditor.py +1 -5
- umap/tests/integration/test_tilelayer.py +10 -0
- umap/tests/integration/test_view_marker.py +64 -0
- umap/tests/integration/test_view_polygon.py +59 -0
- umap/tests/integration/test_view_polyline.py +51 -0
- umap/tests/test_map_views.py +13 -0
- {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/METADATA +12 -12
- {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/RECORD +198 -182
- {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/WHEEL +1 -1
- umap/static/umap/vendors/dompurify/purify.min.js +0 -3
- umap/static/umap/vendors/dompurify/purify.min.js.map +0 -1
- /umap/tests/integration/{test_polygon.py → test_draw_polygon.py} +0 -0
- /umap/tests/integration/{test_polyline.py → test_draw_polyline.py} +0 -0
- {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/entry_points.txt +0 -0
- {umap_project-2.1.3.dist-info → umap_project-2.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -82,12 +82,10 @@
|
|
|
82
82
|
"collapsed": "收起",
|
|
83
83
|
"color": "色彩",
|
|
84
84
|
"Comma separated list of numbers, including min and max values.": "用逗號分隔數字,包括最小與最大值。",
|
|
85
|
-
"Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "逗號分隔屬性清單會用在方面搜尋 (例如:mykey,otherkey)。要控制標籤,則是之後新增 (例如:mykey|My Key,otherkey|Other Key)",
|
|
86
85
|
"Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "用逗號分隔屬性清單來排序圖徵。要保存排序,在槊面加上減號 (-1),例如 mykey,-otherkey。",
|
|
87
86
|
"Comma separated list of properties to use when filtering features": "以逗號分開列出篩選時要使用的屬性",
|
|
88
87
|
"Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the begining of the header, case insensitive. All other column are imported as properties.": "使用逗號、定位鍵或是分號分隔的地理數據。預設座標系為 SRS WGS84。只會匯入地理座標點。匯入時抓取 «lat» 與 «lon» 開頭的欄位資料,不分大小寫。其他欄位則歸入屬性資料。",
|
|
89
88
|
"Congratulations, your map has been created!": "恭喜您的地圖已經新增完成",
|
|
90
|
-
"Continue line (Ctrl+Click)": "連續線(Ctrl+點擊鍵)",
|
|
91
89
|
"Continue line": "連續線段",
|
|
92
90
|
"Coordinates": "座標",
|
|
93
91
|
"Copy link": "複製連結",
|
|
@@ -152,7 +150,6 @@
|
|
|
152
150
|
"Dynamic properties": "動態屬性",
|
|
153
151
|
"Dynamic": "動態",
|
|
154
152
|
"Edit feature's layer": "編輯圖徵的圖層",
|
|
155
|
-
"Edit map properties": "編輯地圖屬性",
|
|
156
153
|
"Edit properties in a table": "在表格中編輯屬性",
|
|
157
154
|
"Edit the title of the map": "編輯地圖標題",
|
|
158
155
|
"Edit this feature": "編輯此圖徵",
|
|
@@ -165,7 +162,6 @@
|
|
|
165
162
|
"Equidistant": "等距",
|
|
166
163
|
"Error in the overlay URL": "套疊網址錯誤",
|
|
167
164
|
"Error in the tilelayer URL": "地圖磚圖層 URL 錯誤",
|
|
168
|
-
"Example: key1,key2,key3": "Example: key1,key2,key3",
|
|
169
165
|
"Exit Fullscreen": "結束全螢幕模式",
|
|
170
166
|
"expanded": "展開",
|
|
171
167
|
"Extract shape to separate feature": "由外形分離出圖徵",
|
|
@@ -173,7 +169,6 @@
|
|
|
173
169
|
"Facet search": "方面搜尋",
|
|
174
170
|
"Feature identifier key": "Feature identifier key",
|
|
175
171
|
"Feature properties": "圖徵屬性",
|
|
176
|
-
"Features in this layer: {count}": "這個圖層的圖徵數:{count}",
|
|
177
172
|
"Fetch data each time map view changes.": "每次地圖檢視改變時截取資料。",
|
|
178
173
|
"fill color": "填入色彩",
|
|
179
174
|
"fill opacity": "填入不透明度",
|
|
@@ -334,8 +329,7 @@
|
|
|
334
329
|
"Search": "搜尋",
|
|
335
330
|
"Secret edit link copied to clipboard!": "複製私密編輯連結到剪貼簿!",
|
|
336
331
|
"Secret edit link:": "祕密編輯連結:",
|
|
337
|
-
"See
|
|
338
|
-
"See data layers": "檢視資料圖層",
|
|
332
|
+
"See layers": "See layers",
|
|
339
333
|
"See full screen": "觀看全螢幕",
|
|
340
334
|
"See on OpenStreetMap": "在開放街圖檢視",
|
|
341
335
|
"Select data": "Select data",
|
|
@@ -365,7 +359,6 @@
|
|
|
365
359
|
"stroke": "筆畫粗細",
|
|
366
360
|
"Supported scheme": "支援的模板",
|
|
367
361
|
"Supported variables that will be dynamically replaced": "支援的物件將直接動態轉換",
|
|
368
|
-
"Switch to edit mode": "切換至編輯模式",
|
|
369
362
|
"Symbol": "符號",
|
|
370
363
|
"Table": "表格",
|
|
371
364
|
"Text color for the cluster label": "叢集標籤的文字顏色",
|
|
@@ -435,5 +428,24 @@
|
|
|
435
428
|
"{distance} m": "{distance} 公尺",
|
|
436
429
|
"{distance} miles": "{distance} 英哩",
|
|
437
430
|
"{distance} NM": "{distance} 海浬",
|
|
438
|
-
"{distance} yd": "{distance} 英呎"
|
|
431
|
+
"{distance} yd": "{distance} 英呎",
|
|
432
|
+
"Edit map name and caption": "Edit map name and caption",
|
|
433
|
+
"Map advanced properties": "Map advanced properties",
|
|
434
|
+
"Edit map details": "Edit map details",
|
|
435
|
+
"Back to browser": "Back to browser",
|
|
436
|
+
"Toggle size": "Toggle size",
|
|
437
|
+
"Layers": "Layers",
|
|
438
|
+
"Display the caption control": "Display the caption control",
|
|
439
|
+
"Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key). To control input field type, add it after another | (eg.: mykey|My Key|checkbox,otherkey|Other Key|datetime). Allowed values for the input field type are checkbox (default), radio, number, date and datetime.",
|
|
440
|
+
"<empty value>": "<empty value>",
|
|
441
|
+
"Min": "Min",
|
|
442
|
+
"Max": "Max",
|
|
443
|
+
"From": "From",
|
|
444
|
+
"Until": "Until",
|
|
445
|
+
"Example: key1,key2|Label 2,key3|Label 3|checkbox": "Example: key1,key2|Label 2,key3|Label 3|checkbox",
|
|
446
|
+
"Edit in OpenStreetMap": "Edit in OpenStreetMap",
|
|
447
|
+
"Cannot determine latitude and longitude columns.": "Cannot determine latitude and longitude columns.",
|
|
448
|
+
"Back to layers": "Back to layers",
|
|
449
|
+
"Data": "Data",
|
|
450
|
+
"Filters": "Filters"
|
|
439
451
|
}
|
umap/static/umap/map.css
CHANGED
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
}
|
|
33
33
|
.leaflet-control-fullscreen a:hover,
|
|
34
34
|
.leaflet-control-fullscreen a {
|
|
35
|
-
height:
|
|
36
|
-
width:
|
|
35
|
+
height: var(--control-size);
|
|
36
|
+
width: var(--control-size);
|
|
37
37
|
background-size: 36px 68px;
|
|
38
38
|
}
|
|
39
39
|
.leaflet-touch .leaflet-control-fullscreen a {
|
|
40
|
-
height:
|
|
41
|
-
width:
|
|
40
|
+
height: var(--control-size);
|
|
41
|
+
width: var(--control-size);
|
|
42
42
|
background-position: 0px 0px;
|
|
43
43
|
}
|
|
44
44
|
.leaflet-touch.leaflet-fullscreen-on .leaflet-control-fullscreen a,
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
background-position: 50% 50%;
|
|
53
53
|
background-repeat: no-repeat;
|
|
54
54
|
display: block;
|
|
55
|
-
height:
|
|
56
|
-
width:
|
|
57
|
-
line-height:
|
|
55
|
+
height: var(--control-size);
|
|
56
|
+
width: var(--control-size);
|
|
57
|
+
line-height: var(--control-size);
|
|
58
58
|
background-image: url('./img/24.svg');
|
|
59
59
|
text-indent: -9999px;
|
|
60
60
|
margin-bottom: 0;
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
color: #fff;
|
|
145
145
|
background-image: none;
|
|
146
146
|
border-radius: 20px;
|
|
147
|
-
height:
|
|
148
|
-
line-height:
|
|
147
|
+
height: var(--control-size);
|
|
148
|
+
line-height: var(--control-size);
|
|
149
149
|
display: block;
|
|
150
150
|
}
|
|
151
151
|
.leaflet-control-toolbar .leaflet-toolbar-icon.dark:hover,
|
|
@@ -158,6 +158,12 @@
|
|
|
158
158
|
margin-bottom: 5px!important;
|
|
159
159
|
padding: 0.5rem;
|
|
160
160
|
}
|
|
161
|
+
.credits-container h5 {
|
|
162
|
+
margin-bottom: 5px;
|
|
163
|
+
}
|
|
164
|
+
.credits-container p {
|
|
165
|
+
margin-top: 5px;
|
|
166
|
+
}
|
|
161
167
|
.attribution-toggle {
|
|
162
168
|
display: none;
|
|
163
169
|
width: 24px;
|
|
@@ -287,14 +293,13 @@ ul.photon-autocomplete {
|
|
|
287
293
|
.leaflet-control-toolbar > li > .leaflet-toolbar-icon,
|
|
288
294
|
.umap-toolbar a,
|
|
289
295
|
.umap-toolbar a:hover {
|
|
290
|
-
height:
|
|
291
|
-
width:
|
|
296
|
+
height: var(--control-size);
|
|
297
|
+
width: var(--control-size);
|
|
292
298
|
display: none;
|
|
293
299
|
margin-top: 0;
|
|
294
300
|
vertical-align: top;
|
|
295
301
|
border-bottom: none;
|
|
296
302
|
background-color: var(--color-darkGray);
|
|
297
|
-
border-right: 1px solid #eee;
|
|
298
303
|
background-repeat: no-repeat;
|
|
299
304
|
background-image: url('./img/24.svg');
|
|
300
305
|
background-size: auto auto;
|
|
@@ -316,59 +321,6 @@ ul.photon-autocomplete {
|
|
|
316
321
|
.manage-datalayers {
|
|
317
322
|
background-position: -36px -72px;
|
|
318
323
|
}
|
|
319
|
-
.permissions-panel h3:before,
|
|
320
|
-
.umap-browse-datalayers h3:before,
|
|
321
|
-
.umap-edit-container h3:before,
|
|
322
|
-
.umap-feature-properties:before,
|
|
323
|
-
.umap-layer-properties-container h3:before,
|
|
324
|
-
.umap-search h3:before,
|
|
325
|
-
.umap-share h3:before,
|
|
326
|
-
.umap-tilelayer-switcher-container h3:before,
|
|
327
|
-
.umap-upload h3:before {
|
|
328
|
-
height: 24px;
|
|
329
|
-
width: 24px;
|
|
330
|
-
background-repeat: no-repeat;
|
|
331
|
-
background-image: url('./img/16-white.svg');
|
|
332
|
-
background-size: auto auto;
|
|
333
|
-
background-position: -98px -117px;
|
|
334
|
-
content: " ";
|
|
335
|
-
vertical-align: bottom;
|
|
336
|
-
display: inline-block;
|
|
337
|
-
}
|
|
338
|
-
.umap-edit-container h3:before {
|
|
339
|
-
background-position: -27px -93px;
|
|
340
|
-
}
|
|
341
|
-
.permissions-panel h3:before {
|
|
342
|
-
background-position: -144px -117px;
|
|
343
|
-
}
|
|
344
|
-
.umap-upload h3:before {
|
|
345
|
-
background-position: -144px -93px;
|
|
346
|
-
}
|
|
347
|
-
.umap-search h3:before {
|
|
348
|
-
background-image: url('./img/16.svg');
|
|
349
|
-
background-position: -27px -117px;
|
|
350
|
-
}
|
|
351
|
-
.umap-share h3:before {
|
|
352
|
-
background-image: url('./img/16.svg');
|
|
353
|
-
background-position: -4px -119px;
|
|
354
|
-
}
|
|
355
|
-
.dark .umap-tilelayer-switcher-container h3:before {
|
|
356
|
-
background-image: url('./img/16-white.svg');
|
|
357
|
-
background-position: -98px -141px;
|
|
358
|
-
}
|
|
359
|
-
.umap-tilelayer-switcher-container h3:before {
|
|
360
|
-
background-image: url('./img/16.svg');
|
|
361
|
-
background-position: -98px -141px;
|
|
362
|
-
}
|
|
363
|
-
.umap-feature-properties.marker:before {
|
|
364
|
-
background-position: -72px -117px;
|
|
365
|
-
}
|
|
366
|
-
.umap-feature-properties.polyline:before {
|
|
367
|
-
background-position: 0 -117px;
|
|
368
|
-
}
|
|
369
|
-
.umap-feature-properties.polygon:before {
|
|
370
|
-
background-position: -24px -117px;
|
|
371
|
-
}
|
|
372
324
|
.umap-toolbar .update-map-permissions,
|
|
373
325
|
.update-map-permissions {
|
|
374
326
|
background-position: -36px -36px;
|
|
@@ -488,8 +440,8 @@ ul.photon-autocomplete {
|
|
|
488
440
|
clear: both;
|
|
489
441
|
}
|
|
490
442
|
.umap-edit-actions li {
|
|
491
|
-
height:
|
|
492
|
-
line-height:
|
|
443
|
+
height: var(--control-size);
|
|
444
|
+
line-height: var(--control-size);
|
|
493
445
|
cursor: pointer;
|
|
494
446
|
margin-bottom: 5px;
|
|
495
447
|
border-radius: 2px;
|
|
@@ -499,8 +451,8 @@ ul.photon-autocomplete {
|
|
|
499
451
|
background-image: url('./img/24-white.svg');
|
|
500
452
|
background-repeat: no-repeat;
|
|
501
453
|
display: table-cell;
|
|
502
|
-
width:
|
|
503
|
-
height:
|
|
454
|
+
width: var(--control-size);
|
|
455
|
+
height: var(--control-size);
|
|
504
456
|
}
|
|
505
457
|
.umap-edit-actions li span {
|
|
506
458
|
display: table-cell;
|
|
@@ -628,7 +580,7 @@ ul.photon-autocomplete {
|
|
|
628
580
|
background-color: var(--color-darkGray);
|
|
629
581
|
padding: 0 10px;
|
|
630
582
|
text-align: left;
|
|
631
|
-
line-height:
|
|
583
|
+
line-height: var(--control-size);
|
|
632
584
|
cursor: auto;
|
|
633
585
|
border-bottom: 1px solid #222;
|
|
634
586
|
z-index: 1000;
|
|
@@ -713,7 +665,7 @@ ul.photon-autocomplete {
|
|
|
713
665
|
display: inline-block; /* Prevents underline on hover. */
|
|
714
666
|
}
|
|
715
667
|
.umap-edit-enabled .leaflet-top {
|
|
716
|
-
top:
|
|
668
|
+
top: 46px;
|
|
717
669
|
}
|
|
718
670
|
.umap-caption-bar-enabled .umap-caption-bar {
|
|
719
671
|
display: block;
|
|
@@ -836,80 +788,15 @@ ul.photon-autocomplete {
|
|
|
836
788
|
}
|
|
837
789
|
|
|
838
790
|
|
|
839
|
-
|
|
840
|
-
/* ********************************* */
|
|
841
|
-
/* Datalayers Control */
|
|
842
|
-
/* ********************************* */
|
|
843
|
-
|
|
844
|
-
.leaflet-control-browse .umap-browse-toggle {
|
|
845
|
-
background-image: url('./img/24.svg');
|
|
846
|
-
width: 36px;
|
|
847
|
-
height: 36px;
|
|
848
|
-
background-position: -36px -72px;
|
|
849
|
-
background-size: 180px;
|
|
850
|
-
}
|
|
851
|
-
.leaflet-control-browse .umap-browse-actions {
|
|
852
|
-
background-color: #fff;
|
|
853
|
-
padding: 10px;
|
|
854
|
-
display: none;
|
|
855
|
-
line-height: 24px;
|
|
856
|
-
border-radius: 2px;
|
|
857
|
-
}
|
|
858
|
-
.leaflet-control-browse .umap-browse-datalayers {
|
|
859
|
-
max-height: 15em;
|
|
860
|
-
overflow-y: auto;
|
|
861
|
-
}
|
|
862
|
-
.search-result-tools i,
|
|
863
|
-
.leaflet-inplace-toolbar a,
|
|
864
|
-
.umap-browse-features i,
|
|
865
|
-
.umap-caption i,
|
|
866
|
-
.umap-browse-datalayers i {
|
|
867
|
-
background-repeat: no-repeat;
|
|
868
|
-
background-image: url('./img/16.svg');
|
|
869
|
-
display: inline;
|
|
870
|
-
padding: 0 10px;
|
|
871
|
-
cursor: pointer;
|
|
872
|
-
height: 24px;
|
|
873
|
-
line-height: 24px;
|
|
874
|
-
vertical-align: middle;
|
|
875
|
-
}
|
|
876
|
-
.dark .umap-browse-datalayers i {
|
|
877
|
-
background-image: url('./img/16-white.svg');
|
|
878
|
-
}
|
|
879
|
-
.umap-browse-datalayers li[draggable] .drag-handle {
|
|
880
|
-
float: right;
|
|
881
|
-
background-position: -72px -72px;
|
|
882
|
-
margin-right: 5px;
|
|
883
|
-
cursor: move;
|
|
884
|
-
}
|
|
885
|
-
.leaflet-inplace-toolbar a {
|
|
886
|
-
background-image: url('./img/16-white.svg');
|
|
887
|
-
background-color: var(--color-darkGray)!important;
|
|
888
|
-
}
|
|
889
791
|
.leaflet-toolbar-tip {
|
|
890
792
|
background-color: var(--color-darkGray);
|
|
891
793
|
}
|
|
892
|
-
.leaflet-inplace-toolbar a:hover {
|
|
893
|
-
background-color: #353c3e!important;
|
|
894
|
-
}
|
|
895
|
-
.leaflet-control-browse .umap-browse-datalayers .off i {
|
|
896
|
-
cursor: inherit;
|
|
897
|
-
}
|
|
898
794
|
.layer-toggle {
|
|
899
795
|
background-position: -49px -31px;
|
|
900
796
|
}
|
|
901
797
|
.off .layer-toggle {
|
|
902
798
|
background-position: -73px -31px;
|
|
903
799
|
}
|
|
904
|
-
.feature-zoom_to {
|
|
905
|
-
background-position: -1px -54px;
|
|
906
|
-
}
|
|
907
|
-
.layer-zoom_to {
|
|
908
|
-
background-position: -1px -54px;
|
|
909
|
-
}
|
|
910
|
-
.layer-table-edit {
|
|
911
|
-
background-position: -50px -1px;
|
|
912
|
-
}
|
|
913
800
|
.feature-delete,
|
|
914
801
|
.layer-delete {
|
|
915
802
|
background-position: -122px -49px;
|
|
@@ -921,17 +808,10 @@ ul.photon-autocomplete {
|
|
|
921
808
|
.umap-toggle-edit {
|
|
922
809
|
background-position: -44px -48px;
|
|
923
810
|
}
|
|
924
|
-
.readonly .layer-table-edit,
|
|
925
|
-
.off .layer-table-edit {
|
|
926
|
-
background-position: -74px -1px;
|
|
927
|
-
}
|
|
928
811
|
.readonly .layer-edit,
|
|
929
812
|
.off .layer-edit {
|
|
930
813
|
background-position: -50px -73px;
|
|
931
814
|
}
|
|
932
|
-
.off .layer-zoom_to {
|
|
933
|
-
background-position: -25px -54px;
|
|
934
|
-
}
|
|
935
815
|
.readonly .layer-delete,
|
|
936
816
|
.off .layer-delete {
|
|
937
817
|
background-position: -122px -121px;
|
|
@@ -958,96 +838,108 @@ ul.photon-autocomplete {
|
|
|
958
838
|
.umap-extract-shape-from-multi{
|
|
959
839
|
background-position: -119px 2px;
|
|
960
840
|
}
|
|
961
|
-
.umap-
|
|
962
|
-
.leaflet-control-browse .umap-browse-actions .layer-title {
|
|
841
|
+
.umap-browser .feature-title {
|
|
963
842
|
width: inherit;
|
|
964
843
|
cursor: inherit;
|
|
965
844
|
padding-left: 6px;
|
|
966
845
|
}
|
|
967
|
-
.umap-
|
|
846
|
+
.umap-browser .feature-title {
|
|
968
847
|
font-size: 12px;
|
|
969
848
|
cursor: pointer;
|
|
970
849
|
}
|
|
971
|
-
.
|
|
972
|
-
|
|
850
|
+
.show-on-edit {
|
|
851
|
+
display: none!important;
|
|
973
852
|
}
|
|
974
|
-
.
|
|
975
|
-
|
|
976
|
-
display: none;
|
|
853
|
+
.umap-edit-enabled .show-on-edit {
|
|
854
|
+
display: inline-block!important;
|
|
977
855
|
}
|
|
978
|
-
.
|
|
979
|
-
display:
|
|
856
|
+
.umap-edit-enabled .show-on-edit.inline {
|
|
857
|
+
display: inline!important;
|
|
980
858
|
}
|
|
981
|
-
.
|
|
982
|
-
|
|
983
|
-
background-color: rgb(68, 68, 68);
|
|
984
|
-
color: white;
|
|
985
|
-
display: block;
|
|
986
|
-
height: 24px;
|
|
987
|
-
line-height: 24px;
|
|
988
|
-
margin-top: 14px;
|
|
989
|
-
padding: 0 5px;
|
|
990
|
-
text-align: right;
|
|
991
|
-
min-width: 160px;
|
|
992
|
-
width: 100%;
|
|
993
|
-
border-radius: 2px;
|
|
859
|
+
.umap-edit-enabled .show-on-edit.block {
|
|
860
|
+
display: block!important;
|
|
994
861
|
}
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
862
|
+
.umap-edit-enabled .hide-on-edit {
|
|
863
|
+
display: none!important;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
/* ********************************* */
|
|
868
|
+
/* Browser panel */
|
|
869
|
+
/* ********************************* */
|
|
870
|
+
a.umap-control-browse,
|
|
871
|
+
.umap-control-browse [type="button"] {
|
|
872
|
+
background-position: -36px -72px;
|
|
873
|
+
}
|
|
874
|
+
a.umap-control-caption,
|
|
875
|
+
.umap-control-caption [type="button"] {
|
|
876
|
+
background-position: -72px -72px;
|
|
877
|
+
}
|
|
878
|
+
.leaflet-inplace-toolbar a {
|
|
998
879
|
background-repeat: no-repeat;
|
|
999
|
-
background-
|
|
1000
|
-
|
|
880
|
+
background-image: url('./img/16.svg');
|
|
881
|
+
display: inline;
|
|
882
|
+
padding: 0 10px;
|
|
883
|
+
cursor: pointer;
|
|
1001
884
|
height: 24px;
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
float: left;
|
|
1005
|
-
}
|
|
1006
|
-
a.add-datalayer:before {
|
|
1007
|
-
background-position: -20px -20px;
|
|
885
|
+
line-height: 24px;
|
|
886
|
+
vertical-align: middle;
|
|
1008
887
|
}
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
background-color: rgb(99, 99, 99);
|
|
888
|
+
.umap-browser .datalayer i {
|
|
889
|
+
cursor: pointer;
|
|
1012
890
|
}
|
|
1013
|
-
.umap-
|
|
891
|
+
.umap-browser ul {
|
|
1014
892
|
display: none;
|
|
1015
893
|
}
|
|
894
|
+
.show-list ul {
|
|
895
|
+
display: block;
|
|
896
|
+
}
|
|
1016
897
|
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
/* ********************************* */
|
|
1021
|
-
|
|
898
|
+
.umap-browser .off .feature {
|
|
899
|
+
display: none;
|
|
900
|
+
}
|
|
1022
901
|
.umap-facet-search .formbox,
|
|
1023
|
-
.umap-
|
|
1024
|
-
|
|
1025
|
-
margin-bottom: 14px;
|
|
902
|
+
.umap-browser .datalayer {
|
|
903
|
+
margin-bottom: 2px;
|
|
1026
904
|
border-radius: 2px;
|
|
1027
905
|
}
|
|
1028
|
-
.umap-
|
|
906
|
+
.umap-browser .datalayer ul {
|
|
907
|
+
border: 1px solid #d3d3d3;
|
|
908
|
+
}
|
|
909
|
+
.umap-browser.dark .datalayer ul {
|
|
910
|
+
border: 1px solid #232729;
|
|
911
|
+
}
|
|
912
|
+
.umap-browser h5, .umap-facet-search h5 {
|
|
1029
913
|
margin-bottom: 0;
|
|
1030
914
|
overflow: hidden;
|
|
1031
915
|
padding-left: 5px;
|
|
1032
916
|
height: 30px;
|
|
1033
917
|
line-height: 30px;
|
|
1034
|
-
background-color:
|
|
1035
|
-
|
|
918
|
+
background-color: var(--color-lightGray);
|
|
919
|
+
}
|
|
920
|
+
.umap-browser .off h5 {
|
|
921
|
+
color: #b3b3b3;
|
|
1036
922
|
}
|
|
1037
|
-
.umap-
|
|
923
|
+
.umap-browser.dark h5 {
|
|
924
|
+
background-color: #232729;
|
|
925
|
+
color: white;
|
|
926
|
+
}
|
|
927
|
+
.umap-browser h5 span {
|
|
1038
928
|
margin-left: 10px;
|
|
1039
929
|
}
|
|
1040
|
-
.umap-
|
|
930
|
+
.umap-browser li, .umap-facet-search li {
|
|
1041
931
|
padding: 2px 0;
|
|
1042
932
|
white-space: nowrap;
|
|
1043
933
|
overflow: hidden;
|
|
1044
934
|
text-overflow: ellipsis;
|
|
1045
935
|
}
|
|
1046
|
-
.umap-
|
|
1047
|
-
|
|
1048
|
-
|
|
936
|
+
.umap-browser .datalayer li:nth-child(even) {
|
|
937
|
+
background-color: #efefef;
|
|
938
|
+
}
|
|
939
|
+
.umap-browser.dark .datalayer li:nth-child(even) {
|
|
940
|
+
background-color: #2c3233;
|
|
1049
941
|
}
|
|
1050
|
-
.umap-
|
|
942
|
+
.umap-browser .datalayer .feature-color {
|
|
1051
943
|
box-shadow: 0 0 2px 0 black inset;
|
|
1052
944
|
cursor: inherit;
|
|
1053
945
|
-moz-box-sizing:border-box;
|
|
@@ -1060,62 +952,50 @@ a.add-datalayer:hover,
|
|
|
1060
952
|
text-align: center;
|
|
1061
953
|
margin-left: 5px;
|
|
1062
954
|
}
|
|
1063
|
-
.umap-
|
|
955
|
+
.umap-browser.dark .datalayer .feature-color {
|
|
956
|
+
box-shadow: 0 0 2px 0 #999 inset;
|
|
957
|
+
}
|
|
958
|
+
.umap-browser .datalayer .feature-color img {
|
|
1064
959
|
width: 24px;
|
|
1065
960
|
}
|
|
1066
|
-
.umap-
|
|
961
|
+
.umap-browser .datalayer .feature-color span {
|
|
1067
962
|
font-style: normal;
|
|
1068
963
|
font-weight: bold;
|
|
1069
964
|
}
|
|
1070
|
-
.umap-
|
|
1071
|
-
.umap-
|
|
965
|
+
.umap-browser .polygon .feature-color,
|
|
966
|
+
.umap-browser .polyline .feature-color {
|
|
1072
967
|
box-shadow: 0 0 2px 0 black inset;
|
|
1073
968
|
background-image: url('./img/24.svg');
|
|
1074
969
|
background-size: 500%;
|
|
1075
970
|
}
|
|
1076
|
-
.umap-
|
|
971
|
+
.umap-browser .polyline .feature-color {
|
|
1077
972
|
background-position: -72px -23px;
|
|
1078
973
|
}
|
|
1079
|
-
.umap-
|
|
974
|
+
.umap-browser .polygon .feature-color {
|
|
1080
975
|
background-position: -48px -25px;
|
|
1081
976
|
}
|
|
1082
|
-
.
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
display: inline-block!important;
|
|
977
|
+
.umap-browser .datalayer-toggle-list {
|
|
978
|
+
float: right;
|
|
979
|
+
margin-right: 5px;
|
|
980
|
+
background-position: -145px -70px;
|
|
1087
981
|
}
|
|
1088
|
-
.umap-
|
|
1089
|
-
|
|
982
|
+
.umap-browser .show-list .datalayer-toggle-list {
|
|
983
|
+
background-position: -145px -45px;
|
|
1090
984
|
}
|
|
1091
|
-
.
|
|
1092
|
-
|
|
985
|
+
.datalayer-name {
|
|
986
|
+
cursor: pointer;
|
|
1093
987
|
}
|
|
1094
|
-
.umap-
|
|
1095
|
-
|
|
1096
|
-
margin-bottom: 14px;
|
|
988
|
+
.umap-caption h3 {
|
|
989
|
+
margin-bottom: 0;
|
|
1097
990
|
}
|
|
1098
|
-
.
|
|
1099
|
-
|
|
1100
|
-
margin-right: 5px;
|
|
991
|
+
.umap-caption .umap-map-owner {
|
|
992
|
+
padding-left: 31px;
|
|
1101
993
|
}
|
|
1102
994
|
|
|
1103
|
-
|
|
1104
995
|
/* ********************************* */
|
|
1105
996
|
/* Table Editor */
|
|
1106
997
|
/* ********************************* */
|
|
1107
|
-
#umap-ui-container.umap-table-editor {
|
|
1108
|
-
padding-left: 0;
|
|
1109
|
-
padding-right: 0;
|
|
1110
|
-
}
|
|
1111
|
-
#umap-ui-container.umap-table-editor .toolbox li {
|
|
1112
|
-
float: left;
|
|
1113
|
-
}
|
|
1114
998
|
|
|
1115
|
-
.umap-table-editor .umap-close-link {
|
|
1116
|
-
right: auto;
|
|
1117
|
-
left: 20px;
|
|
1118
|
-
}
|
|
1119
999
|
.umap-table-editor .table {
|
|
1120
1000
|
display: table;
|
|
1121
1001
|
width: 100%;
|
|
@@ -1170,33 +1050,6 @@ a.add-datalayer:hover,
|
|
|
1170
1050
|
.umap-table-editor .thead .tcell:hover span {
|
|
1171
1051
|
display: none;
|
|
1172
1052
|
}
|
|
1173
|
-
.remotelayer .layer-table-edit {
|
|
1174
|
-
display: none !important;
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
/* ********************************* */
|
|
1178
|
-
/* Icons */
|
|
1179
|
-
/* ********************************* */
|
|
1180
|
-
.umap-icon-16 {
|
|
1181
|
-
background-repeat: no-repeat;
|
|
1182
|
-
background-image: url('./img/16.svg');
|
|
1183
|
-
display: inline-block;
|
|
1184
|
-
height: 20px;
|
|
1185
|
-
padding: 0 10px;
|
|
1186
|
-
vertical-align: middle;
|
|
1187
|
-
}
|
|
1188
|
-
.umap-add {
|
|
1189
|
-
background-position: -28px -27px;
|
|
1190
|
-
}
|
|
1191
|
-
.umap-list {
|
|
1192
|
-
background-position: -28px -99px;
|
|
1193
|
-
}
|
|
1194
|
-
.umap-list-white {
|
|
1195
|
-
background-position: -92px -168px;
|
|
1196
|
-
}
|
|
1197
|
-
.umap-caption {
|
|
1198
|
-
background-position: -99px -28px;
|
|
1199
|
-
}
|
|
1200
1053
|
|
|
1201
1054
|
/* ********************************* */
|
|
1202
1055
|
/* Tilelayer switcher */
|
|
@@ -1659,9 +1512,9 @@ span.popup-icon {
|
|
|
1659
1512
|
/* *************************** */
|
|
1660
1513
|
|
|
1661
1514
|
.leaflet-control-zoom a, .leaflet-control-zoom a:hover {
|
|
1662
|
-
height:
|
|
1663
|
-
width:
|
|
1664
|
-
line-height:
|
|
1515
|
+
height: var(--control-size);
|
|
1516
|
+
width: var(--control-size);
|
|
1517
|
+
line-height: var(--control-size);
|
|
1665
1518
|
}
|
|
1666
1519
|
.leaflet-container .leaflet-control-zoom {
|
|
1667
1520
|
margin-left: 10px;
|
|
@@ -1741,13 +1594,20 @@ span.popup-icon {
|
|
|
1741
1594
|
.leaflet-inplace-toolbar {
|
|
1742
1595
|
z-index: 10000!important;
|
|
1743
1596
|
}
|
|
1597
|
+
.leaflet-inplace-toolbar a {
|
|
1598
|
+
background-image: url('./img/16-white.svg');
|
|
1599
|
+
background-color: var(--color-darkGray)!important;
|
|
1600
|
+
}
|
|
1601
|
+
.leaflet-inplace-toolbar a:hover {
|
|
1602
|
+
background-color: #353c3e!important;
|
|
1603
|
+
}
|
|
1744
1604
|
.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
|
|
1745
1605
|
border-width: 1px;
|
|
1746
1606
|
}
|
|
1747
1607
|
.leaflet-touch .leaflet-bar a {
|
|
1748
|
-
width:
|
|
1749
|
-
height:
|
|
1750
|
-
line-height:
|
|
1608
|
+
width: var(--control-size);
|
|
1609
|
+
height: var(--control-size);
|
|
1610
|
+
line-height: var(--control-size);
|
|
1751
1611
|
}
|
|
1752
1612
|
/* Links are blue by default */
|
|
1753
1613
|
.leaflet-container a {
|