umap-project 3.0.3__py3-none-any.whl → 3.0.5__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/locale/el/LC_MESSAGES/django.mo +0 -0
- umap/locale/el/LC_MESSAGES/django.po +136 -56
- umap/locale/en/LC_MESSAGES/django.po +18 -18
- umap/locale/es/LC_MESSAGES/django.mo +0 -0
- umap/locale/es/LC_MESSAGES/django.po +136 -56
- umap/locale/nl/LC_MESSAGES/django.mo +0 -0
- umap/locale/nl/LC_MESSAGES/django.po +1 -1
- umap/models.py +1 -0
- umap/settings/base.py +1 -0
- umap/static/umap/css/bar.css +1 -1
- umap/static/umap/css/form.css +44 -44
- umap/static/umap/css/tooltip.css +13 -0
- umap/static/umap/js/modules/autocomplete.js +7 -8
- umap/static/umap/js/modules/browser.js +89 -94
- umap/static/umap/js/modules/caption.js +6 -4
- umap/static/umap/js/modules/data/features.js +1 -19
- umap/static/umap/js/modules/data/layer.js +100 -61
- umap/static/umap/js/modules/facets.js +1 -1
- umap/static/umap/js/modules/form/fields.js +1 -1
- umap/static/umap/js/modules/importer.js +1 -1
- umap/static/umap/js/modules/managers.js +46 -0
- umap/static/umap/js/modules/permissions.js +1 -1
- umap/static/umap/js/modules/rendering/controls.js +251 -0
- umap/static/umap/js/modules/rendering/layers/heat.js +5 -0
- umap/static/umap/js/modules/rendering/map.js +21 -10
- umap/static/umap/js/modules/rendering/ui.js +0 -1
- umap/static/umap/js/modules/rules.js +56 -46
- umap/static/umap/js/modules/schema.js +5 -1
- umap/static/umap/js/modules/share.js +2 -2
- umap/static/umap/js/modules/slideshow.js +1 -1
- umap/static/umap/js/modules/sync/engine.js +23 -9
- umap/static/umap/js/modules/ui/bar.js +2 -2
- umap/static/umap/js/modules/ui/base.js +13 -0
- umap/static/umap/js/modules/umap.js +70 -113
- umap/static/umap/js/umap.controls.js +0 -310
- umap/static/umap/js/umap.core.js +0 -40
- umap/static/umap/locale/am_ET.js +8 -3
- umap/static/umap/locale/am_ET.json +8 -3
- umap/static/umap/locale/ar.js +8 -3
- umap/static/umap/locale/ar.json +8 -3
- umap/static/umap/locale/ast.js +8 -3
- umap/static/umap/locale/ast.json +8 -3
- umap/static/umap/locale/bg.js +8 -3
- umap/static/umap/locale/bg.json +8 -3
- umap/static/umap/locale/br.js +8 -3
- umap/static/umap/locale/br.json +8 -3
- umap/static/umap/locale/ca.js +27 -22
- umap/static/umap/locale/ca.json +27 -22
- umap/static/umap/locale/cs_CZ.js +5 -2
- umap/static/umap/locale/cs_CZ.json +5 -2
- umap/static/umap/locale/da.js +8 -3
- umap/static/umap/locale/da.json +8 -3
- umap/static/umap/locale/de.js +5 -2
- umap/static/umap/locale/de.json +5 -2
- umap/static/umap/locale/el.js +92 -87
- umap/static/umap/locale/el.json +92 -87
- umap/static/umap/locale/en.js +5 -2
- umap/static/umap/locale/en.json +5 -2
- umap/static/umap/locale/en_US.json +8 -3
- umap/static/umap/locale/es.js +18 -15
- umap/static/umap/locale/es.json +18 -15
- umap/static/umap/locale/et.js +8 -3
- umap/static/umap/locale/et.json +8 -3
- umap/static/umap/locale/eu.js +5 -2
- umap/static/umap/locale/eu.json +5 -2
- umap/static/umap/locale/fa_IR.js +5 -2
- umap/static/umap/locale/fa_IR.json +5 -2
- umap/static/umap/locale/fi.js +8 -3
- umap/static/umap/locale/fi.json +8 -3
- umap/static/umap/locale/fr.js +5 -2
- umap/static/umap/locale/fr.json +5 -2
- umap/static/umap/locale/gl.js +5 -2
- umap/static/umap/locale/gl.json +5 -2
- umap/static/umap/locale/he.js +8 -3
- umap/static/umap/locale/he.json +8 -3
- umap/static/umap/locale/hr.js +8 -3
- umap/static/umap/locale/hr.json +8 -3
- umap/static/umap/locale/hu.js +5 -2
- umap/static/umap/locale/hu.json +5 -2
- umap/static/umap/locale/id.js +8 -3
- umap/static/umap/locale/id.json +8 -3
- umap/static/umap/locale/is.js +8 -3
- umap/static/umap/locale/is.json +8 -3
- umap/static/umap/locale/it.js +5 -2
- umap/static/umap/locale/it.json +5 -2
- umap/static/umap/locale/ja.js +8 -3
- umap/static/umap/locale/ja.json +8 -3
- umap/static/umap/locale/ko.js +8 -3
- umap/static/umap/locale/ko.json +8 -3
- umap/static/umap/locale/lt.js +8 -3
- umap/static/umap/locale/lt.json +8 -3
- umap/static/umap/locale/ms.js +8 -3
- umap/static/umap/locale/ms.json +8 -3
- umap/static/umap/locale/nl.js +7 -4
- umap/static/umap/locale/nl.json +7 -4
- umap/static/umap/locale/no.js +8 -3
- umap/static/umap/locale/no.json +8 -3
- umap/static/umap/locale/pl.js +8 -3
- umap/static/umap/locale/pl.json +8 -3
- umap/static/umap/locale/pl_PL.json +8 -3
- umap/static/umap/locale/pt.js +5 -2
- umap/static/umap/locale/pt.json +5 -2
- umap/static/umap/locale/pt_BR.js +8 -3
- umap/static/umap/locale/pt_BR.json +8 -3
- umap/static/umap/locale/pt_PT.js +5 -2
- umap/static/umap/locale/pt_PT.json +5 -2
- umap/static/umap/locale/ro.js +8 -3
- umap/static/umap/locale/ro.json +8 -3
- umap/static/umap/locale/ru.js +8 -3
- umap/static/umap/locale/ru.json +8 -3
- umap/static/umap/locale/sk_SK.js +8 -3
- umap/static/umap/locale/sk_SK.json +8 -3
- umap/static/umap/locale/sl.js +8 -3
- umap/static/umap/locale/sl.json +8 -3
- umap/static/umap/locale/sr.js +8 -3
- umap/static/umap/locale/sr.json +8 -3
- umap/static/umap/locale/sv.js +8 -3
- umap/static/umap/locale/sv.json +8 -3
- umap/static/umap/locale/th_TH.js +8 -3
- umap/static/umap/locale/th_TH.json +8 -3
- umap/static/umap/locale/tr.js +8 -3
- umap/static/umap/locale/tr.json +8 -3
- umap/static/umap/locale/uk_UA.js +8 -3
- umap/static/umap/locale/uk_UA.json +8 -3
- umap/static/umap/locale/vi.js +8 -3
- umap/static/umap/locale/vi.json +8 -3
- umap/static/umap/locale/vi_VN.json +8 -3
- umap/static/umap/locale/zh.js +8 -3
- umap/static/umap/locale/zh.json +8 -3
- umap/static/umap/locale/zh_CN.json +8 -3
- umap/static/umap/locale/zh_TW.Big5.json +8 -3
- umap/static/umap/locale/zh_TW.js +5 -2
- umap/static/umap/locale/zh_TW.json +5 -2
- umap/static/umap/map.css +11 -33
- umap/static/umap/vars.css +4 -0
- umap/static/umap/vendors/togeojson/togeojson.es.js +350 -177
- umap/static/umap/vendors/togeojson/togeojson.es.mjs.map +1 -1
- umap/templates/umap/design_system.html +355 -0
- umap/tests/base.py +2 -2
- umap/tests/fixtures/heatmap_data.json +1044 -0
- umap/tests/integration/test_browser.py +3 -3
- umap/tests/integration/test_conditional_rules.py +2 -2
- umap/tests/integration/test_datalayer.py +0 -1
- umap/tests/integration/test_edit_map.py +7 -7
- umap/tests/integration/test_facets_browser.py +2 -2
- umap/tests/integration/test_heatmap.py +41 -0
- umap/tests/integration/test_iframe.py +25 -0
- umap/tests/integration/test_import.py +58 -1
- umap/tests/integration/test_map.py +7 -8
- umap/tests/integration/test_optimistic_merge.py +12 -4
- umap/tests/integration/test_querystring.py +1 -1
- umap/tests/integration/test_remote_data.py +79 -0
- umap/tests/integration/test_websocket_sync.py +2 -2
- umap/urls.py +1 -0
- umap/views.py +7 -0
- {umap_project-3.0.3.dist-info → umap_project-3.0.5.dist-info}/METADATA +8 -8
- {umap_project-3.0.3.dist-info → umap_project-3.0.5.dist-info}/RECORD +161 -154
- {umap_project-3.0.3.dist-info → umap_project-3.0.5.dist-info}/WHEEL +0 -0
- {umap_project-3.0.3.dist-info → umap_project-3.0.5.dist-info}/entry_points.txt +0 -0
- {umap_project-3.0.3.dist-info → umap_project-3.0.5.dist-info}/licenses/LICENSE +0 -0
umap/static/umap/locale/vi.js
CHANGED
|
@@ -45,7 +45,6 @@ const locale = {
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Tạo bản đồ với vị trí của bạn",
|
|
48
|
-
"Change map background": "Thay đổi bản đồ nền",
|
|
49
48
|
"Change tilelayers": "Thay đổi titlelayer",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "Choose the data format",
|
|
@@ -457,7 +456,6 @@ const locale = {
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,7 +536,14 @@ const locale = {
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
|
543
548
|
L.registerLocale("vi", locale)
|
|
544
549
|
L.setLocale("vi")
|
umap/static/umap/locale/vi.json
CHANGED
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Tạo bản đồ với vị trí của bạn",
|
|
48
|
-
"Change map background": "Thay đổi bản đồ nền",
|
|
49
48
|
"Change tilelayers": "Thay đổi titlelayer",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "Choose the data format",
|
|
@@ -457,7 +456,6 @@
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,5 +536,12 @@
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Center map on your location",
|
|
48
|
-
"Change map background": "Change map background",
|
|
49
48
|
"Change tilelayers": "Change tilelayers",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "Choose the data format",
|
|
@@ -457,7 +456,6 @@
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,5 +536,12 @@
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
umap/static/umap/locale/zh.js
CHANGED
|
@@ -45,7 +45,6 @@ const locale = {
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Center map on your location",
|
|
48
|
-
"Change map background": "改变地图背景",
|
|
49
48
|
"Change tilelayers": "改变瓦片图层",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "选择数据格式",
|
|
@@ -457,7 +456,6 @@ const locale = {
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,7 +536,14 @@ const locale = {
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
|
543
548
|
L.registerLocale("zh", locale)
|
|
544
549
|
L.setLocale("zh")
|
umap/static/umap/locale/zh.json
CHANGED
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Center map on your location",
|
|
48
|
-
"Change map background": "改变地图背景",
|
|
49
48
|
"Change tilelayers": "改变瓦片图层",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "选择数据格式",
|
|
@@ -457,7 +456,6 @@
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,5 +536,12 @@
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Center map on your location",
|
|
48
|
-
"Change map background": "Change map background",
|
|
49
48
|
"Change tilelayers": "Change tilelayers",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "Choose the data format",
|
|
@@ -457,7 +456,6 @@
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,5 +536,12 @@
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Cache proxied request": "Cache proxied request",
|
|
46
46
|
"Caption": "Caption",
|
|
47
47
|
"Center map on your location": "Center map on your location",
|
|
48
|
-
"Change map background": "Change map background",
|
|
49
48
|
"Change tilelayers": "Change tilelayers",
|
|
50
49
|
"Change": "Change",
|
|
51
50
|
"Choose the data format": "Choose the data format",
|
|
@@ -457,7 +456,6 @@
|
|
|
457
456
|
"Choose this dataset": "Choose this dataset",
|
|
458
457
|
"GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
|
|
459
458
|
"Choose a theme": "Choose a theme",
|
|
460
|
-
"Symplify all geometries to points": "Symplify all geometries to points",
|
|
461
459
|
"Choose this data": "Choose this data",
|
|
462
460
|
"Search admin boundary": "Search admin boundary",
|
|
463
461
|
"Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
|
|
@@ -538,5 +536,12 @@
|
|
|
538
536
|
"Images": "Images",
|
|
539
537
|
"Iframes": "Iframes",
|
|
540
538
|
"Tags": "Tags",
|
|
541
|
-
"Geocode": "Geocode"
|
|
539
|
+
"Geocode": "Geocode",
|
|
540
|
+
"Display the back to home icon": "Display the back to home icon",
|
|
541
|
+
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
542
547
|
}
|
umap/static/umap/locale/zh_TW.js
CHANGED
|
@@ -45,7 +45,6 @@ const locale = {
|
|
|
45
45
|
"Cache proxied request": "快取代理請求",
|
|
46
46
|
"Caption": "標題",
|
|
47
47
|
"Center map on your location": "將您的位置設為地圖中心",
|
|
48
|
-
"Change map background": "更改地圖背景",
|
|
49
48
|
"Change tilelayers": "改變地圖磚圖層",
|
|
50
49
|
"Change": "變動",
|
|
51
50
|
"Choose the data format": "選擇資料格式",
|
|
@@ -540,7 +539,11 @@ const locale = {
|
|
|
540
539
|
"Geocode": "Geocode",
|
|
541
540
|
"Display the back to home icon": "Display the back to home icon",
|
|
542
541
|
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
543
|
-
"Simplify all geometries to points": "Simplify all geometries to points"
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
544
547
|
}
|
|
545
548
|
L.registerLocale("zh_TW", locale)
|
|
546
549
|
L.setLocale("zh_TW")
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"Cache proxied request": "快取代理請求",
|
|
46
46
|
"Caption": "標題",
|
|
47
47
|
"Center map on your location": "將您的位置設為地圖中心",
|
|
48
|
-
"Change map background": "更改地圖背景",
|
|
49
48
|
"Change tilelayers": "改變地圖磚圖層",
|
|
50
49
|
"Change": "變動",
|
|
51
50
|
"Choose the data format": "選擇資料格式",
|
|
@@ -540,5 +539,9 @@
|
|
|
540
539
|
"Geocode": "Geocode",
|
|
541
540
|
"Display the back to home icon": "Display the back to home icon",
|
|
542
541
|
"Do you want to display layer switcher in caption bar?": "Do you want to display layer switcher in caption bar?",
|
|
543
|
-
"Simplify all geometries to points": "Simplify all geometries to points"
|
|
542
|
+
"Simplify all geometries to points": "Simplify all geometries to points",
|
|
543
|
+
"Back to list": "Back to list",
|
|
544
|
+
"Toggle rule": "Toggle rule",
|
|
545
|
+
"Delete rule": "Delete rule",
|
|
546
|
+
"Cannot save layer, please try again in a few minutes.": "Cannot save layer, please try again in a few minutes."
|
|
544
547
|
}
|
umap/static/umap/map.css
CHANGED
|
@@ -96,27 +96,20 @@ html[dir="rtl"] .leaflet-tooltip-pane > * {
|
|
|
96
96
|
background-color: white;
|
|
97
97
|
min-height: initial;
|
|
98
98
|
}
|
|
99
|
-
.leaflet-control.display-on-more
|
|
100
|
-
.umap-control-less {
|
|
99
|
+
.leaflet-control.display-on-more {
|
|
101
100
|
display: none;
|
|
102
101
|
}
|
|
103
|
-
.umap-control-more
|
|
104
|
-
.umap-control-less {
|
|
102
|
+
.umap-control-more {
|
|
105
103
|
background-image: url('./img/24-white.svg');
|
|
106
104
|
background-position: -72px -402px;
|
|
107
|
-
text-indent: -9999px;
|
|
108
105
|
margin-bottom: 0;
|
|
109
106
|
}
|
|
110
|
-
.umap-control-
|
|
107
|
+
.umap-more-controls .umap-control-more {
|
|
111
108
|
background-position: -108px -402px;
|
|
112
109
|
}
|
|
113
|
-
.umap-more-controls .display-on-more
|
|
114
|
-
.umap-more-controls .umap-control-less {
|
|
110
|
+
.umap-more-controls .display-on-more {
|
|
115
111
|
display: block;
|
|
116
112
|
}
|
|
117
|
-
.umap-more-controls .umap-control-more {
|
|
118
|
-
display: none;
|
|
119
|
-
}
|
|
120
113
|
.leaflet-control-embed [type="button"] {
|
|
121
114
|
background-position: 0 -180px;
|
|
122
115
|
}
|
|
@@ -554,12 +547,6 @@ a.umap-control-caption,
|
|
|
554
547
|
.umap-browser .datalayer i {
|
|
555
548
|
cursor: pointer;
|
|
556
549
|
}
|
|
557
|
-
.umap-browser .datalayer ul {
|
|
558
|
-
display: none;
|
|
559
|
-
}
|
|
560
|
-
.umap-browser .show-list ul {
|
|
561
|
-
display: block;
|
|
562
|
-
}
|
|
563
550
|
|
|
564
551
|
.umap-browser .off .feature {
|
|
565
552
|
display: none;
|
|
@@ -574,24 +561,18 @@ a.umap-control-caption,
|
|
|
574
561
|
.umap-browser.dark .datalayer ul {
|
|
575
562
|
border: 1px solid #232729;
|
|
576
563
|
}
|
|
577
|
-
.umap-browser
|
|
564
|
+
.umap-browser .datalayer summary {
|
|
578
565
|
margin-bottom: 0;
|
|
579
566
|
overflow: hidden;
|
|
580
567
|
padding-inline-start: 5px;
|
|
581
568
|
height: 30px;
|
|
582
|
-
line-height: 30px;
|
|
583
569
|
background-color: var(--color-lightGray);
|
|
570
|
+
font-weight: bold;
|
|
584
571
|
}
|
|
585
|
-
.umap-browser .off
|
|
572
|
+
.umap-browser .off summary {
|
|
586
573
|
color: #b3b3b3;
|
|
587
574
|
}
|
|
588
|
-
|
|
589
|
-
background-color: #232729;
|
|
590
|
-
color: white;
|
|
591
|
-
}
|
|
592
|
-
.umap-browser h5 span {
|
|
593
|
-
margin-inline-start: 10px;
|
|
594
|
-
}
|
|
575
|
+
|
|
595
576
|
.umap-browser li {
|
|
596
577
|
padding: 2px 0;
|
|
597
578
|
white-space: nowrap;
|
|
@@ -634,9 +615,6 @@ a.umap-control-caption,
|
|
|
634
615
|
margin-inline-end: 5px;
|
|
635
616
|
background-position: -145px -70px;
|
|
636
617
|
}
|
|
637
|
-
.umap-browser .show-list .datalayer-toggle-list {
|
|
638
|
-
background-position: -145px -45px;
|
|
639
|
-
}
|
|
640
618
|
.umap-browser .filters summary {
|
|
641
619
|
background: none;
|
|
642
620
|
border: 1px solid var(--color-lightGray);
|
|
@@ -669,7 +647,7 @@ a.umap-control-caption,
|
|
|
669
647
|
color: var(--text-color);
|
|
670
648
|
}
|
|
671
649
|
.umap-browser .main-toolbox {
|
|
672
|
-
padding-left:
|
|
650
|
+
padding-left: 1.3rem; /* Align with toolbox below */
|
|
673
651
|
border-top: 1px solid var(--color-mediumGray);
|
|
674
652
|
margin-top: var(--box-margin);
|
|
675
653
|
padding-top: 3px;
|
|
@@ -990,9 +968,9 @@ a.umap-control-caption,
|
|
|
990
968
|
height: var(--control-size);
|
|
991
969
|
line-height: var(--control-size);
|
|
992
970
|
}
|
|
993
|
-
/* Links are
|
|
971
|
+
/* Links are dark cyan by default */
|
|
994
972
|
.leaflet-container a {
|
|
995
|
-
color:
|
|
973
|
+
color: var(--color-veryDarkCyan);
|
|
996
974
|
}
|
|
997
975
|
/* But not in controls */
|
|
998
976
|
.leaflet-bar a {
|
umap/static/umap/vars.css
CHANGED
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
--color-mediumGray: #3e4444;
|
|
7
7
|
--color-darkGray: #323737;
|
|
8
8
|
--color-darkerGray: #2a2e30;
|
|
9
|
+
--color-veryDarkGray: #1e2121;
|
|
9
10
|
--color-light: white;
|
|
10
11
|
--color-dark: black;
|
|
11
12
|
--color-limeGreen: #b9f5d2;
|
|
13
|
+
--color-verySoftCyan: #a1eeeb;
|
|
12
14
|
--color-brightCyan: #46ece6;
|
|
13
15
|
--color-lightCyan: #d4fbf9;
|
|
14
16
|
--color-darkCyan: #009099;
|
|
17
|
+
--color-veryDarkCyan: #046460;
|
|
15
18
|
--color-red: #c60f13;
|
|
16
19
|
--color-darkRed: #5b2a2a;
|
|
17
20
|
|
|
@@ -64,6 +67,7 @@
|
|
|
64
67
|
.dark {
|
|
65
68
|
--background-color: var(--color-darkGray);
|
|
66
69
|
--text-color: #efefef;
|
|
70
|
+
--color-verySoftCyan: #8cdcd9;
|
|
67
71
|
}
|
|
68
72
|
|
|
69
73
|
@media only screen and (max-width:770px) {
|