umap-project 2.6.0b1__py3-none-any.whl → 2.6.1__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/decorators.py +2 -3
- umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
- umap/locale/fa_IR/LC_MESSAGES/django.po +9 -9
- umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap/locale/hu/LC_MESSAGES/django.po +18 -18
- umap/models.py +29 -16
- umap/static/umap/js/modules/data/features.js +10 -5
- umap/static/umap/js/modules/data/layer.js +1 -1
- umap/static/umap/js/modules/rendering/ui.js +25 -4
- umap/static/umap/js/modules/rules.js +16 -3
- umap/static/umap/locale/en.js +3 -1
- umap/static/umap/locale/en.json +3 -1
- umap/static/umap/locale/eu.js +8 -6
- umap/static/umap/locale/eu.json +8 -6
- umap/static/umap/locale/fa_IR.js +14 -12
- umap/static/umap/locale/fa_IR.json +14 -12
- umap/static/umap/locale/fr.js +3 -1
- umap/static/umap/locale/fr.json +3 -1
- umap/static/umap/locale/hu.js +14 -12
- umap/static/umap/locale/hu.json +14 -12
- umap/static/umap/map.css +2 -2
- umap/static/umap/vars.css +1 -0
- umap/static/umap/vendors/editable/Leaflet.Editable.js +2079 -1937
- umap/static/umap/vendors/markercluster/MarkerCluster.Default.css +1 -1
- umap/templatetags/umap_tags.py +1 -1
- umap/tests/conftest.py +5 -0
- umap/tests/integration/test_browser.py +20 -0
- umap/tests/integration/test_conditional_rules.py +102 -17
- umap/tests/integration/test_draw_polygon.py +28 -0
- umap/tests/test_datalayer.py +63 -33
- umap/tests/test_map.py +30 -21
- umap/views.py +11 -19
- {umap_project-2.6.0b1.dist-info → umap_project-2.6.1.dist-info}/METADATA +6 -6
- {umap_project-2.6.0b1.dist-info → umap_project-2.6.1.dist-info}/RECORD +38 -38
- {umap_project-2.6.0b1.dist-info → umap_project-2.6.1.dist-info}/WHEEL +0 -0
- {umap_project-2.6.0b1.dist-info → umap_project-2.6.1.dist-info}/entry_points.txt +0 -0
- {umap_project-2.6.0b1.dist-info → umap_project-2.6.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"fill color": "رنگ پرکردن",
|
|
161
161
|
"fill opacity": "شفافیت پرشدگی",
|
|
162
162
|
"fill": "پرکردن",
|
|
163
|
-
"Fit all data": "
|
|
163
|
+
"Fit all data": "گنجیدن همهٔ دادهها",
|
|
164
164
|
"Format": "قالب",
|
|
165
165
|
"From zoom": "از زوم",
|
|
166
166
|
"full backup": "پشتیبان کامل",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"Link to…": "پیوند به…",
|
|
219
219
|
"Link with text: [[http://example.com|text of the link]]": "پیوند با متن:\n[[http://example.com|text of the link]]",
|
|
220
220
|
"Long credits": "یادکردهای بلند",
|
|
221
|
-
"Longitude": "
|
|
221
|
+
"Longitude": "طول جغرافیایی",
|
|
222
222
|
"Make main shape": "شکل اصلی را ایجاد کنید",
|
|
223
223
|
"Manage layers": "مدیریت لایهها",
|
|
224
224
|
"Manual": "دستی",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"max zoom": "بیشینهٔ بزرگنمایی",
|
|
238
238
|
"Measure distances": "اندازهگیری مسافتها",
|
|
239
239
|
"Merge lines": "ادغام خطوط",
|
|
240
|
-
"mi": "
|
|
240
|
+
"mi": "mi",
|
|
241
241
|
"miles": "مایل",
|
|
242
242
|
"min zoom": "کمینهٔ بزرگنمایی",
|
|
243
243
|
"More controls": "دکمههای بیشتر",
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
"Save this center and zoom": "ذخیرهسازی این مرکزیت و بزرگنمایی",
|
|
305
305
|
"Save this location as new feature": "این مکان را به عنوان عنصر جدید ذخیره کنید",
|
|
306
306
|
"Save": "ذخیره",
|
|
307
|
-
"Saved center and zoom": "مرکزیت و بزرگنمایی
|
|
307
|
+
"Saved center and zoom": "مرکزیت و بزرگنمایی ذخیرهشده",
|
|
308
308
|
"Search location": "جستجوی مکان",
|
|
309
309
|
"Search": "جستجو",
|
|
310
310
|
"Secret edit link:": "پیوند محرمانه برای ویرایش:",
|
|
@@ -354,14 +354,14 @@
|
|
|
354
354
|
"Type char or paste emoji": "نویسهای بنویسید یا شکلکی بچسبانید",
|
|
355
355
|
"Type of layer": "نوع لایه",
|
|
356
356
|
"Unable to detect format of file {filename}": "قالب فایل {filename} تشخیص داده نشد",
|
|
357
|
-
"Untitled layer": "لایهٔ
|
|
358
|
-
"Untitled map": "نقشهٔ
|
|
357
|
+
"Untitled layer": "لایهٔ بیعنوان",
|
|
358
|
+
"Untitled map": "نقشهٔ بیعنوان",
|
|
359
359
|
"Update permissions and editors": "روزآمدسازی مجوزها و ویرایشگران",
|
|
360
360
|
"Update permissions": "روزآمدسازی مجوزها",
|
|
361
361
|
"Update who can see and edit the map": "چه کسی میتواند نقشه را ببیند و ویرایش کند",
|
|
362
362
|
"Url": "نشانی اینترنتی",
|
|
363
363
|
"URL": "URL",
|
|
364
|
-
"Use current bounds": "از کرانهای فعلی
|
|
364
|
+
"Use current bounds": "استفاده از کرانهای فعلی",
|
|
365
365
|
"Use placeholders with feature properties between brackets, eg. {name}, they will be dynamically replaced by the corresponding values.": "هر کدام از ویژگیهای عنصر را بین آکولاد قرار دهید و جانگهدار بسازید. مثال: {name}. این جانگهدارها به طور پویا به مقدار متناظرشان تغییر میکنند.",
|
|
366
366
|
"User content credits": "یادکردهای محتوای کاربر",
|
|
367
367
|
"User interface options": "گزینههای رابط کاربری",
|
|
@@ -500,9 +500,11 @@
|
|
|
500
500
|
"Cancel": "لغو",
|
|
501
501
|
"Attach map to a team": "Attach map to a team",
|
|
502
502
|
"Display the polygon inverted": "Display the polygon inverted",
|
|
503
|
-
"Proportional circles": "
|
|
504
|
-
"Property name to compute circles": "
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "
|
|
503
|
+
"Proportional circles": "دایرههای نسبی",
|
|
504
|
+
"Property name to compute circles": "نام ویژگی برای محاسبهٔ دایرهها",
|
|
505
|
+
"Min circle radius": "کمترین شعاع دایره",
|
|
506
|
+
"Max circle radius": "بیشتری شعاع دایره",
|
|
507
|
+
"Display the open browser control": "نمایش دکمهٔ بازکردن مرورگر",
|
|
508
|
+
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
+
"Please zoom in to edit the geometry": "لطفاً برای ویرایش هندسه زوم کنید"
|
|
508
510
|
}
|
umap/static/umap/locale/fr.js
CHANGED
|
@@ -504,7 +504,9 @@ const locale = {
|
|
|
504
504
|
"Property name to compute circles": "Nom de la propriété pour calculer les cercles",
|
|
505
505
|
"Min circle radius": "Rayon minimum",
|
|
506
506
|
"Max circle radius": "Rayon maximum",
|
|
507
|
-
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur"
|
|
507
|
+
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur",
|
|
508
|
+
"Copy as GeoJSON": "Copier le GeoJSON",
|
|
509
|
+
"Please zoom in to edit the geometry": "Zoomer pour éditer la géométrie"
|
|
508
510
|
}
|
|
509
511
|
L.registerLocale("fr", locale)
|
|
510
512
|
L.setLocale("fr")
|
umap/static/umap/locale/fr.json
CHANGED
|
@@ -504,5 +504,7 @@
|
|
|
504
504
|
"Property name to compute circles": "Nom de la propriété pour calculer les cercles",
|
|
505
505
|
"Min circle radius": "Rayon minimum",
|
|
506
506
|
"Max circle radius": "Rayon maximum",
|
|
507
|
-
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur"
|
|
507
|
+
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur",
|
|
508
|
+
"Copy as GeoJSON": "Copier le GeoJSON",
|
|
509
|
+
"Please zoom in to edit the geometry": "Zoomer pour éditer la géométrie"
|
|
508
510
|
}
|
umap/static/umap/locale/hu.js
CHANGED
|
@@ -48,7 +48,7 @@ const locale = {
|
|
|
48
48
|
"by": "- készítette:",
|
|
49
49
|
"Cache proxied request": "Proxy keresztül továbbított gyorsítótárkérés",
|
|
50
50
|
"Cancel edits": "Szerkesztések elvetése",
|
|
51
|
-
"Caption": "
|
|
51
|
+
"Caption": "Leírás",
|
|
52
52
|
"Center map on your location": "A térkép közepének igazítása a saját pozícióhoz",
|
|
53
53
|
"Change map background": "Térkép hátterének módosítása",
|
|
54
54
|
"Change tilelayers": "Mozaikrétegek módosítása",
|
|
@@ -123,7 +123,7 @@ const locale = {
|
|
|
123
123
|
"Display the star map button": "Térképet megcsillagozó gomb megjelenítése",
|
|
124
124
|
"Display the tile layers control": "Mozaikrétegek vezérlő megjelenítése",
|
|
125
125
|
"Display the zoom control": "Nagyítás vezérlő megjelenítése",
|
|
126
|
-
"Do you want to display a caption bar?": "Szeretné megjeleníteni a
|
|
126
|
+
"Do you want to display a caption bar?": "Szeretné megjeleníteni a leírást tartalmazó sávot?",
|
|
127
127
|
"Do you want to display a minimap?": "Szeretne megjeleníteni egy kis térképet?",
|
|
128
128
|
"Do you want to display a panel on load?": "Betöltéskor szeretne-e megjeleníteni egy panelt?",
|
|
129
129
|
"Do you want to display caption menus?": "Szeretné megjeleníteni a térkép címsávmenüjét?",
|
|
@@ -403,12 +403,12 @@ const locale = {
|
|
|
403
403
|
"{distance} miles": "{distance} mf",
|
|
404
404
|
"{distance} NM": "{distance} tengeri mf.",
|
|
405
405
|
"{distance} yd": "{distance} yard",
|
|
406
|
-
"Edit map name and caption": "Térkép nevének és
|
|
406
|
+
"Edit map name and caption": "Térkép nevének és leírásának szerkesztése",
|
|
407
407
|
"Map advanced properties": "Térkép speciális tulajdonságai",
|
|
408
408
|
"Edit map details": "Térkép adatainak szerkesztése",
|
|
409
409
|
"Back to browser": "Vissza a böngészőbe",
|
|
410
410
|
"Toggle size": "Méret átkapcsolása",
|
|
411
|
-
"Display the caption control": "A
|
|
411
|
+
"Display the caption control": "A 'leírás' vezérlő megjelenítése",
|
|
412
412
|
"<empty value>": "<empty value>",
|
|
413
413
|
"Min": "Legalább",
|
|
414
414
|
"Max": "Legfeljebb",
|
|
@@ -427,7 +427,7 @@ const locale = {
|
|
|
427
427
|
"Search map features…": "Térképobjektum keresése…",
|
|
428
428
|
"Reset all": "Minden alaphelyzetbe állítása",
|
|
429
429
|
"Open browser": "Böngésző megnyitása",
|
|
430
|
-
"Open caption": "
|
|
430
|
+
"Open caption": "Leírás megnyitása",
|
|
431
431
|
"Your map has been created with an anonymous account!": "A térképét egy névtelen fiókkal hozták létre.",
|
|
432
432
|
"Real-time collaboration": "Valós idejű együttműködés",
|
|
433
433
|
"Cannot parse data": "Nem lehet elemezni az adatokat",
|
|
@@ -498,13 +498,15 @@ const locale = {
|
|
|
498
498
|
"Expression is empty": "A kifejezés üres",
|
|
499
499
|
"OK": "OK",
|
|
500
500
|
"Cancel": "Mégse",
|
|
501
|
-
"Attach map to a team": "
|
|
502
|
-
"Display the polygon inverted": "
|
|
503
|
-
"Proportional circles": "
|
|
504
|
-
"Property name to compute circles": "
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "
|
|
501
|
+
"Attach map to a team": "Térkép csoporthoz rendelése",
|
|
502
|
+
"Display the polygon inverted": "Poligon inverz megjelenítése",
|
|
503
|
+
"Proportional circles": "Arányos körök",
|
|
504
|
+
"Property name to compute circles": "Tulajdonságnév a körök kiszámításához",
|
|
505
|
+
"Min circle radius": "Kör legkisebb sugara",
|
|
506
|
+
"Max circle radius": "Kör legnagyobb sugara",
|
|
507
|
+
"Display the open browser control": "'Böngésző megnyitása' vezérlő megjelenítése",
|
|
508
|
+
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
+
"Please zoom in to edit the geometry": "Please zoom in to edit the geometry"
|
|
508
510
|
}
|
|
509
511
|
L.registerLocale("hu", locale)
|
|
510
512
|
L.setLocale("hu")
|
umap/static/umap/locale/hu.json
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"by": "- készítette:",
|
|
49
49
|
"Cache proxied request": "Proxy keresztül továbbított gyorsítótárkérés",
|
|
50
50
|
"Cancel edits": "Szerkesztések elvetése",
|
|
51
|
-
"Caption": "
|
|
51
|
+
"Caption": "Leírás",
|
|
52
52
|
"Center map on your location": "A térkép közepének igazítása a saját pozícióhoz",
|
|
53
53
|
"Change map background": "Térkép hátterének módosítása",
|
|
54
54
|
"Change tilelayers": "Mozaikrétegek módosítása",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"Display the star map button": "Térképet megcsillagozó gomb megjelenítése",
|
|
124
124
|
"Display the tile layers control": "Mozaikrétegek vezérlő megjelenítése",
|
|
125
125
|
"Display the zoom control": "Nagyítás vezérlő megjelenítése",
|
|
126
|
-
"Do you want to display a caption bar?": "Szeretné megjeleníteni a
|
|
126
|
+
"Do you want to display a caption bar?": "Szeretné megjeleníteni a leírást tartalmazó sávot?",
|
|
127
127
|
"Do you want to display a minimap?": "Szeretne megjeleníteni egy kis térképet?",
|
|
128
128
|
"Do you want to display a panel on load?": "Betöltéskor szeretne-e megjeleníteni egy panelt?",
|
|
129
129
|
"Do you want to display caption menus?": "Szeretné megjeleníteni a térkép címsávmenüjét?",
|
|
@@ -403,12 +403,12 @@
|
|
|
403
403
|
"{distance} miles": "{distance} mf",
|
|
404
404
|
"{distance} NM": "{distance} tengeri mf.",
|
|
405
405
|
"{distance} yd": "{distance} yard",
|
|
406
|
-
"Edit map name and caption": "Térkép nevének és
|
|
406
|
+
"Edit map name and caption": "Térkép nevének és leírásának szerkesztése",
|
|
407
407
|
"Map advanced properties": "Térkép speciális tulajdonságai",
|
|
408
408
|
"Edit map details": "Térkép adatainak szerkesztése",
|
|
409
409
|
"Back to browser": "Vissza a böngészőbe",
|
|
410
410
|
"Toggle size": "Méret átkapcsolása",
|
|
411
|
-
"Display the caption control": "A
|
|
411
|
+
"Display the caption control": "A 'leírás' vezérlő megjelenítése",
|
|
412
412
|
"<empty value>": "<empty value>",
|
|
413
413
|
"Min": "Legalább",
|
|
414
414
|
"Max": "Legfeljebb",
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
"Search map features…": "Térképobjektum keresése…",
|
|
428
428
|
"Reset all": "Minden alaphelyzetbe állítása",
|
|
429
429
|
"Open browser": "Böngésző megnyitása",
|
|
430
|
-
"Open caption": "
|
|
430
|
+
"Open caption": "Leírás megnyitása",
|
|
431
431
|
"Your map has been created with an anonymous account!": "A térképét egy névtelen fiókkal hozták létre.",
|
|
432
432
|
"Real-time collaboration": "Valós idejű együttműködés",
|
|
433
433
|
"Cannot parse data": "Nem lehet elemezni az adatokat",
|
|
@@ -498,11 +498,13 @@
|
|
|
498
498
|
"Expression is empty": "A kifejezés üres",
|
|
499
499
|
"OK": "OK",
|
|
500
500
|
"Cancel": "Mégse",
|
|
501
|
-
"Attach map to a team": "
|
|
502
|
-
"Display the polygon inverted": "
|
|
503
|
-
"Proportional circles": "
|
|
504
|
-
"Property name to compute circles": "
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "
|
|
501
|
+
"Attach map to a team": "Térkép csoporthoz rendelése",
|
|
502
|
+
"Display the polygon inverted": "Poligon inverz megjelenítése",
|
|
503
|
+
"Proportional circles": "Arányos körök",
|
|
504
|
+
"Property name to compute circles": "Tulajdonságnév a körök kiszámításához",
|
|
505
|
+
"Min circle radius": "Kör legkisebb sugara",
|
|
506
|
+
"Max circle radius": "Kör legnagyobb sugara",
|
|
507
|
+
"Display the open browser control": "'Böngésző megnyitása' vezérlő megjelenítése",
|
|
508
|
+
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
+
"Please zoom in to edit the geometry": "Please zoom in to edit the geometry"
|
|
508
510
|
}
|
umap/static/umap/map.css
CHANGED
|
@@ -1382,8 +1382,8 @@ span.popup-icon {
|
|
|
1382
1382
|
.leaflet-container .leaflet-control-zoom {
|
|
1383
1383
|
margin-inline-start: 10px;
|
|
1384
1384
|
}
|
|
1385
|
-
.leaflet-top {
|
|
1386
|
-
z-index:
|
|
1385
|
+
.leaflet-top, .leaflet-bottom {
|
|
1386
|
+
z-index: var(--zindex-controls);
|
|
1387
1387
|
}
|
|
1388
1388
|
.leaflet-popup-content {
|
|
1389
1389
|
min-width: 200px;
|