umap-project 2.9.0b0__py3-none-any.whl → 2.9.2__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/admin.py +15 -2
- umap/locale/br/LC_MESSAGES/django.mo +0 -0
- umap/locale/br/LC_MESSAGES/django.po +111 -67
- umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
- umap/locale/cs_CZ/LC_MESSAGES/django.po +112 -67
- umap/locale/el/LC_MESSAGES/django.mo +0 -0
- umap/locale/el/LC_MESSAGES/django.po +132 -87
- umap/locale/en/LC_MESSAGES/django.po +11 -10
- umap/locale/es/LC_MESSAGES/django.mo +0 -0
- umap/locale/es/LC_MESSAGES/django.po +117 -71
- umap/locale/fr/LC_MESSAGES/django.mo +0 -0
- umap/locale/fr/LC_MESSAGES/django.po +11 -10
- umap/locale/gl/LC_MESSAGES/django.mo +0 -0
- umap/locale/gl/LC_MESSAGES/django.po +219 -173
- umap/locale/it/LC_MESSAGES/django.mo +0 -0
- umap/locale/it/LC_MESSAGES/django.po +145 -100
- umap/locale/nl/LC_MESSAGES/django.mo +0 -0
- umap/locale/nl/LC_MESSAGES/django.po +198 -152
- umap/locale/pt/LC_MESSAGES/django.mo +0 -0
- umap/locale/pt/LC_MESSAGES/django.po +118 -73
- umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- umap/locale/zh_TW/LC_MESSAGES/django.po +112 -67
- umap/middleware.py +30 -1
- umap/models.py +20 -10
- umap/settings/base.py +2 -1
- umap/static/umap/base.css +4 -1
- umap/static/umap/css/bar.css +32 -0
- umap/static/umap/css/contextmenu.css +14 -2
- umap/static/umap/css/form.css +5 -10
- umap/static/umap/css/icon.css +39 -3
- umap/static/umap/css/panel.css +18 -1
- umap/static/umap/css/popup.css +0 -1
- umap/static/umap/img/16-white.svg +3 -3
- umap/static/umap/img/16.svg +1 -1
- umap/static/umap/img/24-white.svg +17 -16
- umap/static/umap/img/24.svg +29 -18
- umap/static/umap/img/providers/twitter-oauth2.png +0 -0
- umap/static/umap/img/source/16-white.svg +4 -4
- umap/static/umap/img/source/16.svg +1 -1
- umap/static/umap/img/source/24-white.svg +20 -18
- umap/static/umap/img/source/24.svg +30 -19
- umap/static/umap/js/modules/browser.js +2 -2
- umap/static/umap/js/modules/caption.js +4 -4
- umap/static/umap/js/modules/data/features.js +80 -32
- umap/static/umap/js/modules/data/layer.js +37 -50
- umap/static/umap/js/modules/form/builder.js +23 -22
- umap/static/umap/js/modules/form/fields.js +13 -5
- umap/static/umap/js/modules/formatter.js +6 -2
- umap/static/umap/js/modules/help.js +17 -23
- umap/static/umap/js/modules/importer.js +5 -2
- umap/static/umap/js/modules/permissions.js +6 -2
- umap/static/umap/js/modules/rendering/layers/classified.js +1 -1
- umap/static/umap/js/modules/rendering/map.js +1 -21
- umap/static/umap/js/modules/rendering/ui.js +20 -38
- umap/static/umap/js/modules/rules.js +1 -1
- umap/static/umap/js/modules/saving.js +5 -0
- umap/static/umap/js/modules/schema.js +4 -1
- umap/static/umap/js/modules/sync/engine.js +39 -14
- umap/static/umap/js/modules/sync/updaters.js +7 -6
- umap/static/umap/js/modules/sync/websocket.js +48 -40
- umap/static/umap/js/modules/ui/bar.js +84 -0
- umap/static/umap/js/modules/ui/base.js +11 -0
- umap/static/umap/js/modules/ui/contextmenu.js +9 -2
- umap/static/umap/js/modules/ui/panel.js +5 -1
- umap/static/umap/js/modules/umap.js +85 -44
- umap/static/umap/js/umap.controls.js +11 -341
- umap/static/umap/locale/am_ET.js +17 -5
- umap/static/umap/locale/am_ET.json +17 -5
- umap/static/umap/locale/ar.js +17 -5
- umap/static/umap/locale/ar.json +17 -5
- umap/static/umap/locale/ast.js +17 -5
- umap/static/umap/locale/ast.json +17 -5
- umap/static/umap/locale/bg.js +17 -5
- umap/static/umap/locale/bg.json +17 -5
- umap/static/umap/locale/br.js +20 -15
- umap/static/umap/locale/br.json +20 -15
- umap/static/umap/locale/ca.js +8 -4
- umap/static/umap/locale/ca.json +8 -4
- umap/static/umap/locale/cs_CZ.js +8 -4
- umap/static/umap/locale/cs_CZ.json +8 -4
- umap/static/umap/locale/da.js +17 -5
- umap/static/umap/locale/da.json +17 -5
- umap/static/umap/locale/de.js +8 -4
- umap/static/umap/locale/de.json +8 -4
- umap/static/umap/locale/el.js +54 -50
- umap/static/umap/locale/el.json +54 -50
- umap/static/umap/locale/en.js +9 -4
- umap/static/umap/locale/en.json +9 -4
- umap/static/umap/locale/en_US.json +17 -5
- umap/static/umap/locale/es.js +13 -9
- umap/static/umap/locale/es.json +13 -9
- umap/static/umap/locale/et.js +17 -5
- umap/static/umap/locale/et.json +17 -5
- umap/static/umap/locale/eu.js +8 -4
- umap/static/umap/locale/eu.json +8 -4
- umap/static/umap/locale/fa_IR.js +8 -4
- umap/static/umap/locale/fa_IR.json +8 -4
- umap/static/umap/locale/fi.js +17 -5
- umap/static/umap/locale/fi.json +17 -5
- umap/static/umap/locale/fr.js +9 -4
- umap/static/umap/locale/fr.json +9 -4
- umap/static/umap/locale/gl.js +13 -9
- umap/static/umap/locale/gl.json +13 -9
- umap/static/umap/locale/he.js +17 -5
- umap/static/umap/locale/he.json +17 -5
- umap/static/umap/locale/hr.js +17 -5
- umap/static/umap/locale/hr.json +17 -5
- umap/static/umap/locale/hu.js +8 -4
- umap/static/umap/locale/hu.json +8 -4
- umap/static/umap/locale/id.js +17 -5
- umap/static/umap/locale/id.json +17 -5
- umap/static/umap/locale/is.js +17 -5
- umap/static/umap/locale/is.json +17 -5
- umap/static/umap/locale/it.js +31 -27
- umap/static/umap/locale/it.json +31 -27
- umap/static/umap/locale/ja.js +17 -5
- umap/static/umap/locale/ja.json +17 -5
- umap/static/umap/locale/ko.js +17 -5
- umap/static/umap/locale/ko.json +17 -5
- umap/static/umap/locale/lt.js +17 -5
- umap/static/umap/locale/lt.json +17 -5
- umap/static/umap/locale/ms.js +8 -4
- umap/static/umap/locale/ms.json +8 -4
- umap/static/umap/locale/nl.js +132 -127
- umap/static/umap/locale/nl.json +132 -127
- umap/static/umap/locale/no.js +17 -5
- umap/static/umap/locale/no.json +17 -5
- umap/static/umap/locale/pl.js +8 -4
- umap/static/umap/locale/pl.json +8 -4
- umap/static/umap/locale/pl_PL.json +17 -5
- umap/static/umap/locale/pt.js +38 -33
- umap/static/umap/locale/pt.json +38 -33
- umap/static/umap/locale/pt_BR.js +17 -5
- umap/static/umap/locale/pt_BR.json +17 -5
- umap/static/umap/locale/pt_PT.js +8 -4
- umap/static/umap/locale/pt_PT.json +8 -4
- umap/static/umap/locale/ro.js +17 -5
- umap/static/umap/locale/ro.json +17 -5
- umap/static/umap/locale/ru.js +17 -5
- umap/static/umap/locale/ru.json +17 -5
- umap/static/umap/locale/sk_SK.js +17 -5
- umap/static/umap/locale/sk_SK.json +17 -5
- umap/static/umap/locale/sl.js +17 -5
- umap/static/umap/locale/sl.json +17 -5
- umap/static/umap/locale/sr.js +17 -5
- umap/static/umap/locale/sr.json +17 -5
- umap/static/umap/locale/sv.js +17 -5
- umap/static/umap/locale/sv.json +17 -5
- umap/static/umap/locale/th_TH.js +8 -4
- umap/static/umap/locale/th_TH.json +8 -4
- umap/static/umap/locale/tr.js +17 -5
- umap/static/umap/locale/tr.json +17 -5
- umap/static/umap/locale/uk_UA.js +17 -5
- umap/static/umap/locale/uk_UA.json +17 -5
- umap/static/umap/locale/vi.js +17 -5
- umap/static/umap/locale/vi.json +17 -5
- umap/static/umap/locale/vi_VN.json +17 -5
- umap/static/umap/locale/zh.js +17 -5
- umap/static/umap/locale/zh.json +17 -5
- umap/static/umap/locale/zh_CN.json +17 -5
- umap/static/umap/locale/zh_TW.Big5.json +17 -5
- umap/static/umap/locale/zh_TW.js +14 -10
- umap/static/umap/locale/zh_TW.json +14 -10
- umap/static/umap/map.css +17 -68
- umap/static/umap/nav.css +4 -0
- umap/static/umap/vars.css +1 -0
- umap/static/umap/vendors/dompurify/purify.es.js +138 -354
- umap/static/umap/vendors/dompurify/purify.es.mjs.map +1 -1
- umap/static/umap/vendors/editable/Leaflet.Editable.js +1 -0
- umap/sync/app.py +19 -13
- umap/sync/payloads.py +8 -1
- umap/templates/auth/user_form.html +2 -2
- umap/templates/umap/content_footer.html +1 -1
- umap/templates/umap/css.html +0 -2
- umap/templates/umap/js.html +0 -1
- umap/templates/umap/messages.html +5 -1
- umap/templates/umap/search_bar.html +1 -0
- umap/tests/integration/test_anonymous_owned_map.py +2 -2
- umap/tests/integration/test_basics.py +2 -5
- umap/tests/integration/test_categorized_layer.py +4 -8
- umap/tests/integration/test_choropleth.py +1 -1
- umap/tests/integration/test_conditional_rules.py +3 -3
- umap/tests/integration/test_draw_polygon.py +11 -19
- umap/tests/integration/test_draw_polyline.py +6 -14
- umap/tests/integration/test_edit_datalayer.py +10 -10
- umap/tests/integration/test_edit_map.py +27 -1
- umap/tests/integration/test_edit_marker.py +5 -5
- umap/tests/integration/test_edit_polygon.py +5 -5
- umap/tests/integration/test_features_id_generation.py +2 -6
- umap/tests/integration/test_import.py +93 -29
- umap/tests/integration/test_owned_map.py +1 -1
- umap/tests/integration/test_save.py +2 -2
- umap/tests/integration/test_tableeditor.py +7 -7
- umap/tests/integration/test_view_marker.py +10 -0
- umap/tests/integration/test_websocket_sync.py +128 -32
- umap/utils.py +4 -1
- umap/views.py +1 -10
- {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/METADATA +13 -13
- {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/RECORD +203 -205
- umap/static/umap/vendors/toolbar/leaflet.toolbar.css +0 -1
- umap/static/umap/vendors/toolbar/leaflet.toolbar.js +0 -1
- {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/WHEEL +0 -0
- {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/entry_points.txt +0 -0
- {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,342 +1,3 @@
|
|
|
1
|
-
U.BaseAction = L.ToolbarAction.extend({
|
|
2
|
-
initialize: function (map) {
|
|
3
|
-
this.map = map
|
|
4
|
-
if (this.options.label) {
|
|
5
|
-
this.options.tooltip = this.map._umap.help.displayLabel(
|
|
6
|
-
this.options.label,
|
|
7
|
-
(withKbdTag = false)
|
|
8
|
-
)
|
|
9
|
-
}
|
|
10
|
-
this.options.toolbarIcon = {
|
|
11
|
-
className: this.options.className,
|
|
12
|
-
tooltip: this.options.tooltip,
|
|
13
|
-
}
|
|
14
|
-
L.ToolbarAction.prototype.initialize.call(this)
|
|
15
|
-
if (this.options.helpMenu && !U.Help.MENU_ACTIONS[this.options.className])
|
|
16
|
-
U.Help.MENU_ACTIONS[this.options.className] = this
|
|
17
|
-
},
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
U.ImportAction = U.BaseAction.extend({
|
|
21
|
-
options: {
|
|
22
|
-
helpMenu: true,
|
|
23
|
-
className: 'upload-data dark',
|
|
24
|
-
label: 'IMPORT_PANEL',
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
addHooks: function () {
|
|
28
|
-
this.map._umap.importer.open()
|
|
29
|
-
},
|
|
30
|
-
})
|
|
31
|
-
|
|
32
|
-
U.EditLayersAction = U.BaseAction.extend({
|
|
33
|
-
options: {
|
|
34
|
-
helpMenu: true,
|
|
35
|
-
className: 'umap-control-browse dark',
|
|
36
|
-
tooltip: L._('Manage layers'),
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
addHooks: function () {
|
|
40
|
-
this.map._umap.editDatalayers()
|
|
41
|
-
},
|
|
42
|
-
})
|
|
43
|
-
|
|
44
|
-
U.EditCaptionAction = U.BaseAction.extend({
|
|
45
|
-
options: {
|
|
46
|
-
helpMenu: true,
|
|
47
|
-
className: 'umap-control-caption dark',
|
|
48
|
-
tooltip: L._('Edit map name and caption'),
|
|
49
|
-
},
|
|
50
|
-
|
|
51
|
-
addHooks: function () {
|
|
52
|
-
this.map._umap.editCaption()
|
|
53
|
-
},
|
|
54
|
-
})
|
|
55
|
-
|
|
56
|
-
U.EditPropertiesAction = U.BaseAction.extend({
|
|
57
|
-
options: {
|
|
58
|
-
helpMenu: true,
|
|
59
|
-
className: 'update-map-settings dark',
|
|
60
|
-
tooltip: L._('Map advanced properties'),
|
|
61
|
-
},
|
|
62
|
-
|
|
63
|
-
addHooks: function () {
|
|
64
|
-
this.map._umap.edit()
|
|
65
|
-
},
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
U.ChangeTileLayerAction = U.BaseAction.extend({
|
|
69
|
-
options: {
|
|
70
|
-
helpMenu: true,
|
|
71
|
-
className: 'dark update-map-tilelayers',
|
|
72
|
-
tooltip: L._('Change tilelayers'),
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
addHooks: function () {
|
|
76
|
-
this.map.updateTileLayers()
|
|
77
|
-
},
|
|
78
|
-
})
|
|
79
|
-
|
|
80
|
-
U.UpdateExtentAction = U.BaseAction.extend({
|
|
81
|
-
options: {
|
|
82
|
-
className: 'update-map-extent dark',
|
|
83
|
-
tooltip: L._('Save this center and zoom'),
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
addHooks: function () {
|
|
87
|
-
this.map._umap.setCenterAndZoom()
|
|
88
|
-
},
|
|
89
|
-
})
|
|
90
|
-
|
|
91
|
-
U.UpdatePermsAction = U.BaseAction.extend({
|
|
92
|
-
options: {
|
|
93
|
-
className: 'update-map-permissions dark',
|
|
94
|
-
tooltip: L._('Update permissions and editors'),
|
|
95
|
-
},
|
|
96
|
-
|
|
97
|
-
addHooks: function () {
|
|
98
|
-
this.map._umap.permissions.edit()
|
|
99
|
-
},
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
U.DrawMarkerAction = U.BaseAction.extend({
|
|
103
|
-
options: {
|
|
104
|
-
helpMenu: true,
|
|
105
|
-
className: 'umap-draw-marker dark',
|
|
106
|
-
label: 'DRAW_MARKER',
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
addHooks: function () {
|
|
110
|
-
this.map.editTools.startMarker()
|
|
111
|
-
},
|
|
112
|
-
})
|
|
113
|
-
|
|
114
|
-
U.DrawPolylineAction = U.BaseAction.extend({
|
|
115
|
-
options: {
|
|
116
|
-
helpMenu: true,
|
|
117
|
-
className: 'umap-draw-polyline dark',
|
|
118
|
-
label: 'DRAW_LINE',
|
|
119
|
-
},
|
|
120
|
-
|
|
121
|
-
addHooks: function () {
|
|
122
|
-
this.map.editTools.startPolyline()
|
|
123
|
-
},
|
|
124
|
-
})
|
|
125
|
-
|
|
126
|
-
U.DrawPolygonAction = U.BaseAction.extend({
|
|
127
|
-
options: {
|
|
128
|
-
helpMenu: true,
|
|
129
|
-
className: 'umap-draw-polygon dark',
|
|
130
|
-
label: 'DRAW_POLYGON',
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
addHooks: function () {
|
|
134
|
-
this.map.editTools.startPolygon()
|
|
135
|
-
},
|
|
136
|
-
})
|
|
137
|
-
|
|
138
|
-
U.AddPolylineShapeAction = U.BaseAction.extend({
|
|
139
|
-
options: {
|
|
140
|
-
className: 'umap-draw-polyline-multi dark',
|
|
141
|
-
tooltip: L._('Add a line to the current multi'),
|
|
142
|
-
},
|
|
143
|
-
|
|
144
|
-
addHooks: function () {
|
|
145
|
-
// FIXME: smells bad
|
|
146
|
-
this.map._umap.editedFeature.ui.editor.newShape()
|
|
147
|
-
},
|
|
148
|
-
})
|
|
149
|
-
|
|
150
|
-
U.AddPolygonShapeAction = U.AddPolylineShapeAction.extend({
|
|
151
|
-
options: {
|
|
152
|
-
className: 'umap-draw-polygon-multi dark',
|
|
153
|
-
tooltip: L._('Add a polygon to the current multi'),
|
|
154
|
-
},
|
|
155
|
-
})
|
|
156
|
-
|
|
157
|
-
U.BaseFeatureAction = L.ToolbarAction.extend({
|
|
158
|
-
initialize: function (map, feature, latlng) {
|
|
159
|
-
this.map = map
|
|
160
|
-
this.feature = feature
|
|
161
|
-
this.latlng = latlng
|
|
162
|
-
L.ToolbarAction.prototype.initialize.call(this)
|
|
163
|
-
this.postInit()
|
|
164
|
-
},
|
|
165
|
-
|
|
166
|
-
postInit: () => {},
|
|
167
|
-
|
|
168
|
-
hideToolbar: function () {
|
|
169
|
-
this.map.removeLayer(this.toolbar)
|
|
170
|
-
},
|
|
171
|
-
|
|
172
|
-
addHooks: function () {
|
|
173
|
-
this.onClick({ latlng: this.latlng })
|
|
174
|
-
this.hideToolbar()
|
|
175
|
-
},
|
|
176
|
-
})
|
|
177
|
-
|
|
178
|
-
U.CreateHoleAction = U.BaseFeatureAction.extend({
|
|
179
|
-
options: {
|
|
180
|
-
toolbarIcon: {
|
|
181
|
-
className: 'umap-new-hole',
|
|
182
|
-
tooltip: L._('Start a hole here'),
|
|
183
|
-
},
|
|
184
|
-
},
|
|
185
|
-
|
|
186
|
-
onClick: function (event) {
|
|
187
|
-
this.feature.ui.startHole(event)
|
|
188
|
-
},
|
|
189
|
-
})
|
|
190
|
-
|
|
191
|
-
U.ToggleEditAction = U.BaseFeatureAction.extend({
|
|
192
|
-
options: {
|
|
193
|
-
toolbarIcon: {
|
|
194
|
-
className: 'umap-toggle-edit',
|
|
195
|
-
tooltip: L._('Toggle edit mode (⇧+Click)'),
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
|
|
199
|
-
onClick: function (event) {
|
|
200
|
-
if (this.feature._toggleEditing) {
|
|
201
|
-
this.feature._toggleEditing(event) // Path
|
|
202
|
-
} else {
|
|
203
|
-
this.feature.edit(event) // Marker
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
})
|
|
207
|
-
|
|
208
|
-
U.DeleteFeatureAction = U.BaseFeatureAction.extend({
|
|
209
|
-
options: {
|
|
210
|
-
toolbarIcon: {
|
|
211
|
-
className: 'umap-delete-all',
|
|
212
|
-
tooltip: L._('Delete this feature'),
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
|
|
216
|
-
postInit: function () {
|
|
217
|
-
if (!this.feature.isMulti())
|
|
218
|
-
this.options.toolbarIcon.className = 'umap-delete-one-of-one'
|
|
219
|
-
},
|
|
220
|
-
|
|
221
|
-
onClick: function (e) {
|
|
222
|
-
this.feature.confirmDelete(e)
|
|
223
|
-
},
|
|
224
|
-
})
|
|
225
|
-
|
|
226
|
-
U.DeleteShapeAction = U.BaseFeatureAction.extend({
|
|
227
|
-
options: {
|
|
228
|
-
toolbarIcon: {
|
|
229
|
-
className: 'umap-delete-one-of-multi',
|
|
230
|
-
tooltip: L._('Delete this shape'),
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
|
|
234
|
-
onClick: function (e) {
|
|
235
|
-
this.feature.ui.enableEdit().deleteShapeAt(e.latlng)
|
|
236
|
-
},
|
|
237
|
-
})
|
|
238
|
-
|
|
239
|
-
U.ExtractShapeFromMultiAction = U.BaseFeatureAction.extend({
|
|
240
|
-
options: {
|
|
241
|
-
toolbarIcon: {
|
|
242
|
-
className: 'umap-extract-shape-from-multi',
|
|
243
|
-
tooltip: L._('Extract shape to separate feature'),
|
|
244
|
-
},
|
|
245
|
-
},
|
|
246
|
-
|
|
247
|
-
onClick: function (e) {
|
|
248
|
-
this.feature.ui.isolateShape(e.latlng)
|
|
249
|
-
},
|
|
250
|
-
})
|
|
251
|
-
|
|
252
|
-
U.BaseVertexAction = U.BaseFeatureAction.extend({
|
|
253
|
-
initialize: function (map, feature, latlng, vertex) {
|
|
254
|
-
this.vertex = vertex
|
|
255
|
-
U.BaseFeatureAction.prototype.initialize.call(this, map, feature, latlng)
|
|
256
|
-
},
|
|
257
|
-
})
|
|
258
|
-
|
|
259
|
-
U.DeleteVertexAction = U.BaseVertexAction.extend({
|
|
260
|
-
options: {
|
|
261
|
-
toolbarIcon: {
|
|
262
|
-
className: 'umap-delete-vertex',
|
|
263
|
-
tooltip: L._('Delete this vertex (Alt+Click)'),
|
|
264
|
-
},
|
|
265
|
-
},
|
|
266
|
-
|
|
267
|
-
onClick: function () {
|
|
268
|
-
this.vertex.delete()
|
|
269
|
-
},
|
|
270
|
-
})
|
|
271
|
-
|
|
272
|
-
U.SplitLineAction = U.BaseVertexAction.extend({
|
|
273
|
-
options: {
|
|
274
|
-
toolbarIcon: {
|
|
275
|
-
className: 'umap-split-line',
|
|
276
|
-
tooltip: L._('Split line'),
|
|
277
|
-
},
|
|
278
|
-
},
|
|
279
|
-
|
|
280
|
-
onClick: function () {
|
|
281
|
-
this.vertex.split()
|
|
282
|
-
},
|
|
283
|
-
})
|
|
284
|
-
|
|
285
|
-
U.ContinueLineAction = U.BaseVertexAction.extend({
|
|
286
|
-
options: {
|
|
287
|
-
toolbarIcon: {
|
|
288
|
-
className: 'umap-continue-line',
|
|
289
|
-
tooltip: L._('Continue line'),
|
|
290
|
-
},
|
|
291
|
-
},
|
|
292
|
-
|
|
293
|
-
onClick: function () {
|
|
294
|
-
this.vertex.continue()
|
|
295
|
-
},
|
|
296
|
-
})
|
|
297
|
-
|
|
298
|
-
// Leaflet.Toolbar doesn't allow twice same toolbar class…
|
|
299
|
-
U.SettingsToolbar = L.Toolbar.Control.extend({})
|
|
300
|
-
U.DrawToolbar = L.Toolbar.Control.extend({
|
|
301
|
-
initialize: function (options) {
|
|
302
|
-
L.Toolbar.Control.prototype.initialize.call(this, options)
|
|
303
|
-
this.map = this.options.map
|
|
304
|
-
this.map.on('seteditedfeature', this.redraw, this)
|
|
305
|
-
},
|
|
306
|
-
|
|
307
|
-
appendToContainer: function (container) {
|
|
308
|
-
this.options.actions = []
|
|
309
|
-
if (this.map._umap.properties.enableMarkerDraw) {
|
|
310
|
-
this.options.actions.push(U.DrawMarkerAction)
|
|
311
|
-
}
|
|
312
|
-
if (this.map._umap.properties.enablePolylineDraw) {
|
|
313
|
-
this.options.actions.push(U.DrawPolylineAction)
|
|
314
|
-
if (
|
|
315
|
-
this.map._umap.editedFeature &&
|
|
316
|
-
this.map._umap.editedFeature instanceof U.LineString
|
|
317
|
-
) {
|
|
318
|
-
this.options.actions.push(U.AddPolylineShapeAction)
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
if (this.map._umap.properties.enablePolygonDraw) {
|
|
322
|
-
this.options.actions.push(U.DrawPolygonAction)
|
|
323
|
-
if (
|
|
324
|
-
this.map._umap.editedFeature &&
|
|
325
|
-
this.map._umap.editedFeature instanceof U.Polygon
|
|
326
|
-
) {
|
|
327
|
-
this.options.actions.push(U.AddPolygonShapeAction)
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
L.Toolbar.Control.prototype.appendToContainer.call(this, container)
|
|
331
|
-
},
|
|
332
|
-
|
|
333
|
-
redraw: function () {
|
|
334
|
-
const container = this._control.getContainer()
|
|
335
|
-
container.innerHTML = ''
|
|
336
|
-
this.appendToContainer(container)
|
|
337
|
-
},
|
|
338
|
-
})
|
|
339
|
-
|
|
340
1
|
U.EditControl = L.Control.extend({
|
|
341
2
|
options: {
|
|
342
3
|
position: 'topright',
|
|
@@ -588,12 +249,12 @@ U.TileLayerChooser = L.Control.extend({
|
|
|
588
249
|
},
|
|
589
250
|
|
|
590
251
|
openSwitcher: function (options = {}) {
|
|
591
|
-
const container = L.DomUtil.create('div', 'umap-
|
|
252
|
+
const container = L.DomUtil.create('div', 'umap-edit-tilelayers')
|
|
592
253
|
L.DomUtil.createTitle(container, L._('Change tilelayers'), 'icon-tilelayer')
|
|
593
254
|
this._tilelayers_container = L.DomUtil.create('ul', '', container)
|
|
594
255
|
this.buildList(options)
|
|
595
256
|
const panel = options.edit ? this.map._umap.editPanel : this.map._umap.panel
|
|
596
|
-
panel.open({ content: container })
|
|
257
|
+
panel.open({ content: container, highlight: 'tilelayers' })
|
|
597
258
|
},
|
|
598
259
|
|
|
599
260
|
buildList: function (options) {
|
|
@@ -1029,15 +690,24 @@ U.Editable = L.Editable.extend({
|
|
|
1029
690
|
onEscape: function () {
|
|
1030
691
|
this.once('editable:drawing:end', (event) => {
|
|
1031
692
|
this._umap.tooltip.close()
|
|
693
|
+
// When hitting Escape before adding a marker,
|
|
694
|
+
// it tries to edit an unconnected marker.
|
|
695
|
+
if (event?.layer?.feature?.datalayer === null) return
|
|
1032
696
|
// Leaflet.Editable will delete the drawn shape if invalid
|
|
1033
697
|
// (eg. line has only one drawn point)
|
|
1034
698
|
// So let's check if the layer has no more shape
|
|
1035
699
|
if (!event.layer.feature.hasGeom()) {
|
|
1036
700
|
event.layer.feature.del()
|
|
1037
701
|
} else {
|
|
702
|
+
event.layer.feature.onCommit()
|
|
1038
703
|
event.layer.feature.edit()
|
|
1039
704
|
}
|
|
1040
705
|
})
|
|
1041
706
|
this.stopDrawing()
|
|
1042
707
|
},
|
|
708
|
+
|
|
709
|
+
createVertexIcon: (options) =>
|
|
710
|
+
L.Browser.mobile && L.Browser.touch
|
|
711
|
+
? L.divIcon({ iconSize: new L.Point(20, 20), ...options })
|
|
712
|
+
: L.divIcon({ iconSize: new L.Point(12, 12), ...options }),
|
|
1043
713
|
})
|
umap/static/umap/locale/am_ET.js
CHANGED
|
@@ -19,7 +19,6 @@ const locale = {
|
|
|
19
19
|
"Add a new property": "አዲስ ባህርይ ጨምር",
|
|
20
20
|
"Add a polygon to the current multi": "ላሁኑ ብዝሀ ፖሊጎን ጨምር",
|
|
21
21
|
"Add image URL": "Add image URL",
|
|
22
|
-
"Add": "Add",
|
|
23
22
|
"Advanced actions": "ተጨማሪ ተግባራት",
|
|
24
23
|
"Advanced properties": "ተጨማሪ ባህርያት",
|
|
25
24
|
"All data and settings of the map": "All data and settings of the map",
|
|
@@ -120,7 +119,6 @@ const locale = {
|
|
|
120
119
|
"Display the locate control": "Display the locate control",
|
|
121
120
|
"Display the measure control": "Display the measure control",
|
|
122
121
|
"Display the search control": "Display the search control",
|
|
123
|
-
"Display the star map button": "Display the star map button",
|
|
124
122
|
"Display the tile layers control": "Display the tile layers control",
|
|
125
123
|
"Display the zoom control": "Display the zoom control",
|
|
126
124
|
"Do you want to display a caption bar?": "የካፕሽን ባሩን ማሳየት ትፈልጋለህ?",
|
|
@@ -301,7 +299,6 @@ const locale = {
|
|
|
301
299
|
"Restore this version": "ይህንን እትም መልስ",
|
|
302
300
|
"Save current edits": "የአሁኑን እርማቶች አስቀምጥ/አድን",
|
|
303
301
|
"Save map": "Save map",
|
|
304
|
-
"Save this center and zoom": "ይህንን ዙም እና መሀከል አስቀምጥ/አድን",
|
|
305
302
|
"Save this location as new feature": "Save this location as new feature",
|
|
306
303
|
"Save": "አድን/አስቀምጥ",
|
|
307
304
|
"Saved center and zoom": "Saved center and zoom",
|
|
@@ -516,11 +513,26 @@ const locale = {
|
|
|
516
513
|
"show/hide all layers": "show/hide all layers",
|
|
517
514
|
"zoom to data extent": "zoom to data extent",
|
|
518
515
|
"download visible data": "download visible data",
|
|
519
|
-
"{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
|
|
520
516
|
"Import helpers": "Import helpers",
|
|
521
517
|
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
|
|
522
518
|
"Wikipedia": "Wikipedia",
|
|
523
|
-
"Save draft": "Save draft"
|
|
519
|
+
"Save draft": "Save draft",
|
|
520
|
+
"No data has been found for import": "No data has been found for import",
|
|
521
|
+
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
|
|
522
|
+
"Disconnected": "Disconnected",
|
|
523
|
+
"You must be logged in": "You must be logged in",
|
|
524
|
+
"on hover": "on hover",
|
|
525
|
+
"Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
|
|
526
|
+
"Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
|
|
527
|
+
"Import failed: invalid data": "Import failed: invalid data",
|
|
528
|
+
"Anonymous": "Anonymous",
|
|
529
|
+
"created at {date}": "created at {date}",
|
|
530
|
+
"modified at {date}": "modified at {date}",
|
|
531
|
+
"Default zoom": "Default zoom",
|
|
532
|
+
"Default latitude": "Default latitude",
|
|
533
|
+
"Default longitude": "Default longitude",
|
|
534
|
+
"Edit map default view": "Edit map default view",
|
|
535
|
+
"Use current center and zoom": "Use current center and zoom"
|
|
524
536
|
}
|
|
525
537
|
L.registerLocale("am_ET", locale)
|
|
526
538
|
L.setLocale("am_ET")
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"Add a new property": "አዲስ ባህርይ ጨምር",
|
|
20
20
|
"Add a polygon to the current multi": "ላሁኑ ብዝሀ ፖሊጎን ጨምር",
|
|
21
21
|
"Add image URL": "Add image URL",
|
|
22
|
-
"Add": "Add",
|
|
23
22
|
"Advanced actions": "ተጨማሪ ተግባራት",
|
|
24
23
|
"Advanced properties": "ተጨማሪ ባህርያት",
|
|
25
24
|
"All data and settings of the map": "All data and settings of the map",
|
|
@@ -120,7 +119,6 @@
|
|
|
120
119
|
"Display the locate control": "Display the locate control",
|
|
121
120
|
"Display the measure control": "Display the measure control",
|
|
122
121
|
"Display the search control": "Display the search control",
|
|
123
|
-
"Display the star map button": "Display the star map button",
|
|
124
122
|
"Display the tile layers control": "Display the tile layers control",
|
|
125
123
|
"Display the zoom control": "Display the zoom control",
|
|
126
124
|
"Do you want to display a caption bar?": "የካፕሽን ባሩን ማሳየት ትፈልጋለህ?",
|
|
@@ -301,7 +299,6 @@
|
|
|
301
299
|
"Restore this version": "ይህንን እትም መልስ",
|
|
302
300
|
"Save current edits": "የአሁኑን እርማቶች አስቀምጥ/አድን",
|
|
303
301
|
"Save map": "Save map",
|
|
304
|
-
"Save this center and zoom": "ይህንን ዙም እና መሀከል አስቀምጥ/አድን",
|
|
305
302
|
"Save this location as new feature": "Save this location as new feature",
|
|
306
303
|
"Save": "አድን/አስቀምጥ",
|
|
307
304
|
"Saved center and zoom": "Saved center and zoom",
|
|
@@ -516,9 +513,24 @@
|
|
|
516
513
|
"show/hide all layers": "show/hide all layers",
|
|
517
514
|
"zoom to data extent": "zoom to data extent",
|
|
518
515
|
"download visible data": "download visible data",
|
|
519
|
-
"{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
|
|
520
516
|
"Import helpers": "Import helpers",
|
|
521
517
|
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
|
|
522
518
|
"Wikipedia": "Wikipedia",
|
|
523
|
-
"Save draft": "Save draft"
|
|
519
|
+
"Save draft": "Save draft",
|
|
520
|
+
"No data has been found for import": "No data has been found for import",
|
|
521
|
+
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
|
|
522
|
+
"Disconnected": "Disconnected",
|
|
523
|
+
"You must be logged in": "You must be logged in",
|
|
524
|
+
"on hover": "on hover",
|
|
525
|
+
"Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
|
|
526
|
+
"Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
|
|
527
|
+
"Import failed: invalid data": "Import failed: invalid data",
|
|
528
|
+
"Anonymous": "Anonymous",
|
|
529
|
+
"created at {date}": "created at {date}",
|
|
530
|
+
"modified at {date}": "modified at {date}",
|
|
531
|
+
"Default zoom": "Default zoom",
|
|
532
|
+
"Default latitude": "Default latitude",
|
|
533
|
+
"Default longitude": "Default longitude",
|
|
534
|
+
"Edit map default view": "Edit map default view",
|
|
535
|
+
"Use current center and zoom": "Use current center and zoom"
|
|
524
536
|
}
|
umap/static/umap/locale/ar.js
CHANGED
|
@@ -19,7 +19,6 @@ const locale = {
|
|
|
19
19
|
"Add a new property": "Add a new property",
|
|
20
20
|
"Add a polygon to the current multi": "Add a polygon to the current multi",
|
|
21
21
|
"Add image URL": "Add image URL",
|
|
22
|
-
"Add": "Add",
|
|
23
22
|
"Advanced actions": "Advanced actions",
|
|
24
23
|
"Advanced properties": "Advanced properties",
|
|
25
24
|
"All data and settings of the map": "All data and settings of the map",
|
|
@@ -120,7 +119,6 @@ const locale = {
|
|
|
120
119
|
"Display the locate control": "Display the locate control",
|
|
121
120
|
"Display the measure control": "Display the measure control",
|
|
122
121
|
"Display the search control": "Display the search control",
|
|
123
|
-
"Display the star map button": "Display the star map button",
|
|
124
122
|
"Display the tile layers control": "Display the tile layers control",
|
|
125
123
|
"Display the zoom control": "Display the zoom control",
|
|
126
124
|
"Do you want to display a caption bar?": "Do you want to display a caption bar?",
|
|
@@ -301,7 +299,6 @@ const locale = {
|
|
|
301
299
|
"Restore this version": "Restore this version",
|
|
302
300
|
"Save current edits": "Save current edits",
|
|
303
301
|
"Save map": "Save map",
|
|
304
|
-
"Save this center and zoom": "Save this center and zoom",
|
|
305
302
|
"Save this location as new feature": "Save this location as new feature",
|
|
306
303
|
"Save": "تسجيل",
|
|
307
304
|
"Saved center and zoom": "Saved center and zoom",
|
|
@@ -516,11 +513,26 @@ const locale = {
|
|
|
516
513
|
"show/hide all layers": "show/hide all layers",
|
|
517
514
|
"zoom to data extent": "zoom to data extent",
|
|
518
515
|
"download visible data": "download visible data",
|
|
519
|
-
"{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
|
|
520
516
|
"Import helpers": "Import helpers",
|
|
521
517
|
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
|
|
522
518
|
"Wikipedia": "Wikipedia",
|
|
523
|
-
"Save draft": "Save draft"
|
|
519
|
+
"Save draft": "Save draft",
|
|
520
|
+
"No data has been found for import": "No data has been found for import",
|
|
521
|
+
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
|
|
522
|
+
"Disconnected": "Disconnected",
|
|
523
|
+
"You must be logged in": "You must be logged in",
|
|
524
|
+
"on hover": "on hover",
|
|
525
|
+
"Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
|
|
526
|
+
"Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
|
|
527
|
+
"Import failed: invalid data": "Import failed: invalid data",
|
|
528
|
+
"Anonymous": "Anonymous",
|
|
529
|
+
"created at {date}": "created at {date}",
|
|
530
|
+
"modified at {date}": "modified at {date}",
|
|
531
|
+
"Default zoom": "Default zoom",
|
|
532
|
+
"Default latitude": "Default latitude",
|
|
533
|
+
"Default longitude": "Default longitude",
|
|
534
|
+
"Edit map default view": "Edit map default view",
|
|
535
|
+
"Use current center and zoom": "Use current center and zoom"
|
|
524
536
|
}
|
|
525
537
|
L.registerLocale("ar", locale)
|
|
526
538
|
L.setLocale("ar")
|
umap/static/umap/locale/ar.json
CHANGED
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"Add a new property": "Add a new property",
|
|
20
20
|
"Add a polygon to the current multi": "Add a polygon to the current multi",
|
|
21
21
|
"Add image URL": "Add image URL",
|
|
22
|
-
"Add": "Add",
|
|
23
22
|
"Advanced actions": "Advanced actions",
|
|
24
23
|
"Advanced properties": "Advanced properties",
|
|
25
24
|
"All data and settings of the map": "All data and settings of the map",
|
|
@@ -120,7 +119,6 @@
|
|
|
120
119
|
"Display the locate control": "Display the locate control",
|
|
121
120
|
"Display the measure control": "Display the measure control",
|
|
122
121
|
"Display the search control": "Display the search control",
|
|
123
|
-
"Display the star map button": "Display the star map button",
|
|
124
122
|
"Display the tile layers control": "Display the tile layers control",
|
|
125
123
|
"Display the zoom control": "Display the zoom control",
|
|
126
124
|
"Do you want to display a caption bar?": "Do you want to display a caption bar?",
|
|
@@ -301,7 +299,6 @@
|
|
|
301
299
|
"Restore this version": "Restore this version",
|
|
302
300
|
"Save current edits": "Save current edits",
|
|
303
301
|
"Save map": "Save map",
|
|
304
|
-
"Save this center and zoom": "Save this center and zoom",
|
|
305
302
|
"Save this location as new feature": "Save this location as new feature",
|
|
306
303
|
"Save": "تسجيل",
|
|
307
304
|
"Saved center and zoom": "Saved center and zoom",
|
|
@@ -516,9 +513,24 @@
|
|
|
516
513
|
"show/hide all layers": "show/hide all layers",
|
|
517
514
|
"zoom to data extent": "zoom to data extent",
|
|
518
515
|
"download visible data": "download visible data",
|
|
519
|
-
"{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
|
|
520
516
|
"Import helpers": "Import helpers",
|
|
521
517
|
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
|
|
522
518
|
"Wikipedia": "Wikipedia",
|
|
523
|
-
"Save draft": "Save draft"
|
|
519
|
+
"Save draft": "Save draft",
|
|
520
|
+
"No data has been found for import": "No data has been found for import",
|
|
521
|
+
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
|
|
522
|
+
"Disconnected": "Disconnected",
|
|
523
|
+
"You must be logged in": "You must be logged in",
|
|
524
|
+
"on hover": "on hover",
|
|
525
|
+
"Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
|
|
526
|
+
"Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
|
|
527
|
+
"Import failed: invalid data": "Import failed: invalid data",
|
|
528
|
+
"Anonymous": "Anonymous",
|
|
529
|
+
"created at {date}": "created at {date}",
|
|
530
|
+
"modified at {date}": "modified at {date}",
|
|
531
|
+
"Default zoom": "Default zoom",
|
|
532
|
+
"Default latitude": "Default latitude",
|
|
533
|
+
"Default longitude": "Default longitude",
|
|
534
|
+
"Edit map default view": "Edit map default view",
|
|
535
|
+
"Use current center and zoom": "Use current center and zoom"
|
|
524
536
|
}
|
umap/static/umap/locale/ast.js
CHANGED
|
@@ -19,7 +19,6 @@ const locale = {
|
|
|
19
19
|
"Add a new property": "Add a new property",
|
|
20
20
|
"Add a polygon to the current multi": "Add a polygon to the current multi",
|
|
21
21
|
"Add image URL": "Add image URL",
|
|
22
|
-
"Add": "Add",
|
|
23
22
|
"Advanced actions": "Advanced actions",
|
|
24
23
|
"Advanced properties": "Advanced properties",
|
|
25
24
|
"All data and settings of the map": "All data and settings of the map",
|
|
@@ -120,7 +119,6 @@ const locale = {
|
|
|
120
119
|
"Display the locate control": "Display the locate control",
|
|
121
120
|
"Display the measure control": "Display the measure control",
|
|
122
121
|
"Display the search control": "Display the search control",
|
|
123
|
-
"Display the star map button": "Display the star map button",
|
|
124
122
|
"Display the tile layers control": "Display the tile layers control",
|
|
125
123
|
"Display the zoom control": "Display the zoom control",
|
|
126
124
|
"Do you want to display a caption bar?": "Do you want to display a caption bar?",
|
|
@@ -301,7 +299,6 @@ const locale = {
|
|
|
301
299
|
"Restore this version": "Restore this version",
|
|
302
300
|
"Save current edits": "Save current edits",
|
|
303
301
|
"Save map": "Save map",
|
|
304
|
-
"Save this center and zoom": "Save this center and zoom",
|
|
305
302
|
"Save this location as new feature": "Save this location as new feature",
|
|
306
303
|
"Save": "Save",
|
|
307
304
|
"Saved center and zoom": "Saved center and zoom",
|
|
@@ -516,11 +513,26 @@ const locale = {
|
|
|
516
513
|
"show/hide all layers": "show/hide all layers",
|
|
517
514
|
"zoom to data extent": "zoom to data extent",
|
|
518
515
|
"download visible data": "download visible data",
|
|
519
|
-
"{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
|
|
520
516
|
"Import helpers": "Import helpers",
|
|
521
517
|
"Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
|
|
522
518
|
"Wikipedia": "Wikipedia",
|
|
523
|
-
"Save draft": "Save draft"
|
|
519
|
+
"Save draft": "Save draft",
|
|
520
|
+
"No data has been found for import": "No data has been found for import",
|
|
521
|
+
"Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
|
|
522
|
+
"Disconnected": "Disconnected",
|
|
523
|
+
"You must be logged in": "You must be logged in",
|
|
524
|
+
"on hover": "on hover",
|
|
525
|
+
"Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
|
|
526
|
+
"Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
|
|
527
|
+
"Import failed: invalid data": "Import failed: invalid data",
|
|
528
|
+
"Anonymous": "Anonymous",
|
|
529
|
+
"created at {date}": "created at {date}",
|
|
530
|
+
"modified at {date}": "modified at {date}",
|
|
531
|
+
"Default zoom": "Default zoom",
|
|
532
|
+
"Default latitude": "Default latitude",
|
|
533
|
+
"Default longitude": "Default longitude",
|
|
534
|
+
"Edit map default view": "Edit map default view",
|
|
535
|
+
"Use current center and zoom": "Use current center and zoom"
|
|
524
536
|
}
|
|
525
537
|
L.registerLocale("ast", locale)
|
|
526
538
|
L.setLocale("ast")
|