umap-project 3.2.0__py3-none-any.whl → 3.3.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/locale/en/LC_MESSAGES/django.mo +0 -0
- umap/locale/en/LC_MESSAGES/django.po +15 -15
- umap/settings/base.py +2 -0
- umap/static/umap/css/contextmenu.css +58 -2
- umap/static/umap/css/form.css +175 -45
- umap/static/umap/css/icon.css +20 -0
- umap/static/umap/img/16-white.svg +21 -40
- umap/static/umap/img/16.svg +1 -1
- umap/static/umap/img/24-white.svg +9 -9
- umap/static/umap/img/24.svg +23 -10
- umap/static/umap/img/source/16-white.svg +23 -41
- umap/static/umap/img/source/16.svg +1 -1
- umap/static/umap/img/source/24-white.svg +11 -11
- umap/static/umap/img/source/24.svg +25 -12
- umap/static/umap/js/modules/caption.js +8 -0
- umap/static/umap/js/modules/data/features.js +317 -173
- umap/static/umap/js/modules/data/layer.js +17 -18
- umap/static/umap/js/modules/form/builder.js +11 -7
- umap/static/umap/js/modules/form/fields.js +10 -7
- umap/static/umap/js/modules/formatter.js +42 -20
- umap/static/umap/js/modules/importer.js +6 -1
- umap/static/umap/js/modules/importers/opendata.js +125 -37
- umap/static/umap/js/modules/importers/openrouteservice.js +140 -0
- umap/static/umap/js/modules/managers.js +12 -4
- umap/static/umap/js/modules/printer.js +107 -0
- umap/static/umap/js/modules/rendering/controls.js +78 -2
- umap/static/umap/js/modules/rendering/icon.js +113 -82
- umap/static/umap/js/modules/rendering/layers/cluster.js +199 -63
- umap/static/umap/js/modules/rendering/map.js +5 -1
- umap/static/umap/js/modules/rendering/template.js +71 -1
- umap/static/umap/js/modules/rendering/ui.js +98 -34
- umap/static/umap/js/modules/schema.js +24 -0
- umap/static/umap/js/modules/share.js +19 -12
- umap/static/umap/js/modules/ui/bar.js +6 -1
- umap/static/umap/js/modules/ui/base.js +24 -9
- umap/static/umap/js/modules/ui/contextmenu.js +17 -7
- umap/static/umap/js/modules/ui/dialog.js +7 -4
- umap/static/umap/js/modules/umap.js +67 -61
- umap/static/umap/js/umap.controls.js +22 -57
- umap/static/umap/locale/am_ET.js +39 -4
- umap/static/umap/locale/am_ET.json +39 -4
- umap/static/umap/locale/ar.js +39 -4
- umap/static/umap/locale/ar.json +39 -4
- umap/static/umap/locale/ast.js +39 -4
- umap/static/umap/locale/ast.json +39 -4
- umap/static/umap/locale/bg.js +39 -4
- umap/static/umap/locale/bg.json +39 -4
- umap/static/umap/locale/br.js +39 -4
- umap/static/umap/locale/br.json +39 -4
- umap/static/umap/locale/ca.js +39 -4
- umap/static/umap/locale/ca.json +39 -4
- umap/static/umap/locale/cs_CZ.js +39 -4
- umap/static/umap/locale/cs_CZ.json +39 -4
- umap/static/umap/locale/da.js +47 -12
- umap/static/umap/locale/da.json +47 -12
- umap/static/umap/locale/de.js +39 -4
- umap/static/umap/locale/de.json +39 -4
- umap/static/umap/locale/el.js +39 -4
- umap/static/umap/locale/el.json +39 -4
- umap/static/umap/locale/en.js +39 -4
- umap/static/umap/locale/en.json +39 -4
- umap/static/umap/locale/en_US.json +39 -4
- umap/static/umap/locale/es.js +47 -12
- umap/static/umap/locale/es.json +47 -12
- umap/static/umap/locale/et.js +39 -4
- umap/static/umap/locale/et.json +39 -4
- umap/static/umap/locale/eu.js +79 -44
- umap/static/umap/locale/eu.json +79 -44
- umap/static/umap/locale/fa_IR.js +39 -4
- umap/static/umap/locale/fa_IR.json +39 -4
- umap/static/umap/locale/fi.js +39 -4
- umap/static/umap/locale/fi.json +39 -4
- umap/static/umap/locale/fr.js +39 -4
- umap/static/umap/locale/fr.json +39 -4
- umap/static/umap/locale/gl.js +39 -4
- umap/static/umap/locale/gl.json +39 -4
- umap/static/umap/locale/he.js +39 -4
- umap/static/umap/locale/he.json +39 -4
- umap/static/umap/locale/hr.js +39 -4
- umap/static/umap/locale/hr.json +39 -4
- umap/static/umap/locale/hu.js +39 -4
- umap/static/umap/locale/hu.json +39 -4
- umap/static/umap/locale/id.js +39 -4
- umap/static/umap/locale/id.json +39 -4
- umap/static/umap/locale/is.js +39 -4
- umap/static/umap/locale/is.json +39 -4
- umap/static/umap/locale/it.js +39 -4
- umap/static/umap/locale/it.json +39 -4
- umap/static/umap/locale/ja.js +39 -4
- umap/static/umap/locale/ja.json +39 -4
- umap/static/umap/locale/ko.js +39 -4
- umap/static/umap/locale/ko.json +39 -4
- umap/static/umap/locale/lt.js +39 -4
- umap/static/umap/locale/lt.json +39 -4
- umap/static/umap/locale/ms.js +39 -4
- umap/static/umap/locale/ms.json +39 -4
- umap/static/umap/locale/nl.js +39 -4
- umap/static/umap/locale/nl.json +39 -4
- umap/static/umap/locale/no.js +39 -4
- umap/static/umap/locale/no.json +39 -4
- umap/static/umap/locale/pl.js +39 -4
- umap/static/umap/locale/pl.json +39 -4
- umap/static/umap/locale/pl_PL.json +39 -4
- umap/static/umap/locale/pt.js +39 -4
- umap/static/umap/locale/pt.json +39 -4
- umap/static/umap/locale/pt_BR.js +39 -4
- umap/static/umap/locale/pt_BR.json +39 -4
- umap/static/umap/locale/pt_PT.js +39 -4
- umap/static/umap/locale/pt_PT.json +39 -4
- umap/static/umap/locale/ro.js +39 -4
- umap/static/umap/locale/ro.json +39 -4
- umap/static/umap/locale/ru.js +39 -4
- umap/static/umap/locale/ru.json +39 -4
- umap/static/umap/locale/sk_SK.js +39 -4
- umap/static/umap/locale/sk_SK.json +39 -4
- umap/static/umap/locale/sl.js +39 -4
- umap/static/umap/locale/sl.json +39 -4
- umap/static/umap/locale/sr.js +39 -4
- umap/static/umap/locale/sr.json +39 -4
- umap/static/umap/locale/sv.js +39 -4
- umap/static/umap/locale/sv.json +39 -4
- umap/static/umap/locale/th_TH.js +39 -4
- umap/static/umap/locale/th_TH.json +39 -4
- umap/static/umap/locale/tr.js +39 -4
- umap/static/umap/locale/tr.json +39 -4
- umap/static/umap/locale/uk_UA.js +39 -4
- umap/static/umap/locale/uk_UA.json +39 -4
- umap/static/umap/locale/vi.js +39 -4
- umap/static/umap/locale/vi.json +39 -4
- umap/static/umap/locale/vi_VN.json +39 -4
- umap/static/umap/locale/zh.js +39 -4
- umap/static/umap/locale/zh.json +39 -4
- umap/static/umap/locale/zh_CN.json +39 -4
- umap/static/umap/locale/zh_TW.Big5.json +39 -4
- umap/static/umap/locale/zh_TW.js +98 -63
- umap/static/umap/locale/zh_TW.json +98 -63
- umap/static/umap/map.css +90 -41
- umap/static/umap/vars.css +1 -0
- umap/static/umap/vendors/editable/Leaflet.Editable.js +3 -1
- umap/static/umap/vendors/openrouteservice/ors-js-client.js +521 -0
- umap/static/umap/vendors/openrouteservice/ors-js-client.js.map +1 -0
- umap/static/umap/vendors/simple-elevation-chart/elevation.js +63 -0
- umap/static/umap/vendors/simple-elevation-chart/elevation.svg +8 -0
- umap/static/umap/vendors/snapdom/snapdom.min.mjs +3 -0
- umap/storage/staticfiles.py +12 -0
- umap/templates/umap/css.html +0 -4
- umap/templates/umap/js.html +1 -3
- umap/tests/integration/test_basics.py +2 -0
- umap/tests/integration/test_conditional_rules.py +17 -17
- umap/tests/integration/test_datalayer.py +1 -1
- umap/tests/integration/test_draw_polygon.py +3 -5
- umap/tests/integration/test_draw_polyline.py +4 -6
- umap/tests/integration/test_draw_route.py +178 -0
- umap/tests/integration/test_edit_map.py +1 -1
- umap/tests/integration/test_edit_marker.py +7 -7
- umap/tests/integration/test_edit_polygon.py +2 -2
- umap/tests/integration/test_export_map.py +74 -10
- umap/tests/integration/test_map_preview.py +1 -1
- umap/tests/integration/test_share.py +1 -1
- umap/tests/integration/test_tableeditor.py +4 -4
- umap/tests/integration/test_websocket_sync.py +4 -4
- umap/utils.py +5 -1
- umap/views.py +2 -0
- {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/METADATA +8 -8
- {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/RECORD +169 -165
- umap/static/umap/vendors/markercluster/MarkerCluster.Default.css +0 -60
- umap/static/umap/vendors/markercluster/MarkerCluster.css +0 -14
- umap/static/umap/vendors/markercluster/leaflet.markercluster.js +0 -2
- umap/static/umap/vendors/markercluster/leaflet.markercluster.js.map +0 -1
- {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/WHEEL +0 -0
- {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/entry_points.txt +0 -0
- {umap_project-3.2.0.dist-info → umap_project-3.3.0.dist-info}/licenses/LICENSE +0 -0
umap/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION = "3.
|
|
1
|
+
VERSION = "3.3.0"
|
|
Binary file
|
|
@@ -8,7 +8,7 @@ msgid ""
|
|
|
8
8
|
msgstr ""
|
|
9
9
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
|
-
"POT-Creation-Date: 2025-
|
|
11
|
+
"POT-Creation-Date: 2025-08-14 15:22+0000\n"
|
|
12
12
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
@@ -324,7 +324,7 @@ msgstr ""
|
|
|
324
324
|
msgid "%(current_user)s has no starred maps yet."
|
|
325
325
|
msgstr ""
|
|
326
326
|
|
|
327
|
-
#: templates/base.html:
|
|
327
|
+
#: templates/base.html:16
|
|
328
328
|
msgid ""
|
|
329
329
|
"uMap lets you create maps with OpenStreetMap layers in a minute and embed "
|
|
330
330
|
"them in your site."
|
|
@@ -822,61 +822,61 @@ msgstr ""
|
|
|
822
822
|
msgid "View the map"
|
|
823
823
|
msgstr ""
|
|
824
824
|
|
|
825
|
-
#: views.py:
|
|
825
|
+
#: views.py:867
|
|
826
826
|
msgid "See full screen"
|
|
827
827
|
msgstr ""
|
|
828
828
|
|
|
829
|
-
#: views.py:
|
|
829
|
+
#: views.py:1010
|
|
830
830
|
msgid "Map editors updated with success!"
|
|
831
831
|
msgstr ""
|
|
832
832
|
|
|
833
|
-
#: views.py:
|
|
833
|
+
#: views.py:1046
|
|
834
834
|
#, python-format
|
|
835
835
|
msgid "The uMap edit link for your map: %(map_name)s"
|
|
836
836
|
msgstr ""
|
|
837
837
|
|
|
838
|
-
#: views.py:
|
|
838
|
+
#: views.py:1049
|
|
839
839
|
#, python-format
|
|
840
840
|
msgid "Here is your secret edit link: %(link)s"
|
|
841
841
|
msgstr ""
|
|
842
842
|
|
|
843
|
-
#: views.py:
|
|
843
|
+
#: views.py:1056
|
|
844
844
|
#, python-format
|
|
845
845
|
msgid "Can't send email to %(email)s"
|
|
846
846
|
msgstr ""
|
|
847
847
|
|
|
848
|
-
#: views.py:
|
|
848
|
+
#: views.py:1059
|
|
849
849
|
#, python-format
|
|
850
850
|
msgid "Email sent to %(email)s"
|
|
851
851
|
msgstr ""
|
|
852
852
|
|
|
853
|
-
#: views.py:
|
|
853
|
+
#: views.py:1070
|
|
854
854
|
msgid "Only its owner can delete the map."
|
|
855
855
|
msgstr ""
|
|
856
856
|
|
|
857
|
-
#: views.py:
|
|
857
|
+
#: views.py:1076
|
|
858
858
|
msgid "Map successfully deleted."
|
|
859
859
|
msgstr ""
|
|
860
860
|
|
|
861
|
-
#: views.py:
|
|
861
|
+
#: views.py:1102
|
|
862
862
|
#, python-format
|
|
863
863
|
msgid ""
|
|
864
864
|
"Your map has been cloned! If you want to edit this map from another "
|
|
865
865
|
"computer, please use this link: %(anonymous_url)s"
|
|
866
866
|
msgstr ""
|
|
867
867
|
|
|
868
|
-
#: views.py:
|
|
868
|
+
#: views.py:1107
|
|
869
869
|
msgid "Congratulations, your map has been cloned!"
|
|
870
870
|
msgstr ""
|
|
871
871
|
|
|
872
|
-
#: views.py:
|
|
872
|
+
#: views.py:1361
|
|
873
873
|
msgid "Layer successfully deleted."
|
|
874
874
|
msgstr ""
|
|
875
875
|
|
|
876
|
-
#: views.py:
|
|
876
|
+
#: views.py:1383
|
|
877
877
|
msgid "Permissions updated with success!"
|
|
878
878
|
msgstr ""
|
|
879
879
|
|
|
880
|
-
#: views.py:
|
|
880
|
+
#: views.py:1400
|
|
881
881
|
msgid "Generic"
|
|
882
882
|
msgstr ""
|
umap/settings/base.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.umap-contextmenu {
|
|
2
2
|
background-color: var(--background-color);
|
|
3
|
-
padding: calc(var(--box-padding) / 2) calc(var(--box-padding) / 2);
|
|
4
3
|
position: fixed;
|
|
5
4
|
z-index: var(--zindex-contextmenu);
|
|
6
5
|
border-radius: var(--border-radius);
|
|
@@ -8,13 +7,34 @@
|
|
|
8
7
|
display: flex;
|
|
9
8
|
flex-direction: column;
|
|
10
9
|
}
|
|
10
|
+
|
|
11
|
+
.umap-contextmenu>li {
|
|
12
|
+
background-color: var(--background-color);
|
|
13
|
+
padding-left: calc(var(--box-padding) / 2);
|
|
14
|
+
padding-right: calc(var(--box-padding) / 2);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.umap-contextmenu>li:last-of-type {
|
|
18
|
+
padding-bottom: calc(var(--box-padding) / 2);
|
|
19
|
+
border-radius: 0 0 var(--border-radius) var(--border-radius);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.umap-contextmenu>li:first-of-type {
|
|
23
|
+
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.umap-contextmenu>li:first-of-type:not(.dark) {
|
|
27
|
+
padding-top: calc(var(--box-padding) / 2);
|
|
28
|
+
}
|
|
29
|
+
|
|
11
30
|
.umap-contextmenu-rows {
|
|
12
31
|
flex-direction: row;
|
|
13
32
|
align-items: center;
|
|
14
33
|
justify-content: center;
|
|
15
34
|
align-content: center;
|
|
16
35
|
}
|
|
17
|
-
|
|
36
|
+
|
|
37
|
+
.umap-contextmenu:not(.umap-contextmenu-rows)>li+li {
|
|
18
38
|
margin-top: var(--text-margin);
|
|
19
39
|
}
|
|
20
40
|
|
|
@@ -23,6 +43,42 @@
|
|
|
23
43
|
margin-bottom: var(--text-margin);
|
|
24
44
|
}
|
|
25
45
|
|
|
46
|
+
.umap-contextmenu .dark li button .icon:hover,
|
|
26
47
|
.dark.umap-contextmenu li button .icon:hover {
|
|
27
48
|
background-color: var(--color-mediumGray);
|
|
28
49
|
}
|
|
50
|
+
|
|
51
|
+
.umap-contextmenu .icon-bar {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: row;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.umap-contextmenu .icon-bar button {
|
|
57
|
+
padding: 2px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.umap-contextmenu .icon-bar hr {
|
|
61
|
+
transform: rotate(90deg);
|
|
62
|
+
width: 16px;
|
|
63
|
+
margin: auto 0px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.umap-contextmenu.tooltip-bottom-left,
|
|
67
|
+
.umap-contextmenu.tooltip-bottom-left>li:last-of-type {
|
|
68
|
+
border-bottom-left-radius: unset;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.umap-contextmenu.tooltip-bottom-right,
|
|
72
|
+
.umap-contextmenu.tooltip-bottom-right>li:last-of-type {
|
|
73
|
+
border-bottom-right-radius: unset;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.umap-contextmenu.tooltip-top-left,
|
|
77
|
+
.umap-contextmenu.tooltip-top-left>li:first-of-type {
|
|
78
|
+
border-top-left-radius: unset;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.umap-contextmenu.tooltip-top-right,
|
|
82
|
+
.umap-contextmenu.tooltip-top-right>li:first-of-type {
|
|
83
|
+
border-top-right-radius: unset;
|
|
84
|
+
}
|