umap-project 3.4.2__py3-none-any.whl → 3.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.
- umap/__init__.py +1 -1
- umap/locale/br/LC_MESSAGES/django.mo +0 -0
- umap/locale/br/LC_MESSAGES/django.po +71 -57
- umap/locale/de/LC_MESSAGES/django.mo +0 -0
- umap/locale/de/LC_MESSAGES/django.po +20 -16
- umap/locale/en/LC_MESSAGES/django.po +14 -14
- umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap/locale/hu/LC_MESSAGES/django.po +20 -16
- umap/locale/pl/LC_MESSAGES/django.mo +0 -0
- umap/locale/pl/LC_MESSAGES/django.po +32 -27
- umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- umap/locale/zh_TW/LC_MESSAGES/django.po +20 -16
- umap/management/commands/clean_tilelayer.py +0 -1
- umap/management/commands/search_maps.py +95 -0
- umap/settings/__init__.py +9 -1
- umap/settings/base.py +7 -6
- umap/static/umap/css/icon.css +8 -0
- umap/static/umap/img/16-white.svg +5 -2
- umap/static/umap/img/16.svg +1 -1
- umap/static/umap/img/source/16-white.svg +7 -4
- umap/static/umap/img/source/16.svg +1 -1
- umap/static/umap/js/modules/autocomplete.js +1 -9
- umap/static/umap/js/modules/browser.js +27 -10
- umap/static/umap/js/modules/data/features.js +3 -2
- umap/static/umap/js/modules/data/fields.js +12 -2
- umap/static/umap/js/modules/data/layer.js +13 -9
- umap/static/umap/js/modules/domutils.js +4 -0
- umap/static/umap/js/modules/filters.js +11 -10
- umap/static/umap/js/modules/form/builder.js +17 -16
- umap/static/umap/js/modules/form/fields.js +16 -16
- umap/static/umap/js/modules/permissions.js +10 -2
- umap/static/umap/js/modules/rendering/controls.js +202 -9
- umap/static/umap/js/modules/rendering/layers/classified.js +1 -1
- umap/static/umap/js/modules/rendering/map.js +45 -35
- umap/static/umap/js/modules/rendering/template.js +12 -6
- umap/static/umap/js/modules/rules.js +1 -1
- umap/static/umap/js/modules/ui/bar.js +2 -1
- umap/static/umap/js/modules/ui/hash.js +36 -0
- umap/static/umap/js/modules/ui/loader.js +26 -0
- umap/static/umap/js/modules/ui/panel.js +7 -0
- umap/static/umap/js/modules/umap.js +6 -0
- umap/static/umap/js/modules/utils.js +5 -4
- umap/static/umap/js/umap.controls.js +0 -182
- umap/static/umap/locale/am_ET.js +2 -5
- umap/static/umap/locale/am_ET.json +2 -5
- umap/static/umap/locale/ar.js +2 -5
- umap/static/umap/locale/ar.json +2 -5
- umap/static/umap/locale/ast.js +2 -5
- umap/static/umap/locale/ast.json +2 -5
- umap/static/umap/locale/bg.js +2 -5
- umap/static/umap/locale/bg.json +2 -5
- umap/static/umap/locale/br.js +40 -43
- umap/static/umap/locale/br.json +40 -43
- umap/static/umap/locale/ca.js +2 -5
- umap/static/umap/locale/ca.json +2 -5
- umap/static/umap/locale/cs_CZ.js +0 -3
- umap/static/umap/locale/cs_CZ.json +0 -3
- umap/static/umap/locale/da.js +1 -4
- umap/static/umap/locale/da.json +1 -4
- umap/static/umap/locale/de.js +27 -30
- umap/static/umap/locale/de.json +27 -30
- umap/static/umap/locale/el.js +0 -3
- umap/static/umap/locale/el.json +0 -3
- umap/static/umap/locale/en.js +0 -3
- umap/static/umap/locale/en.json +0 -3
- umap/static/umap/locale/en_US.json +2 -5
- umap/static/umap/locale/es.js +0 -3
- umap/static/umap/locale/es.json +0 -3
- umap/static/umap/locale/et.js +0 -3
- umap/static/umap/locale/et.json +0 -3
- umap/static/umap/locale/eu.js +0 -3
- umap/static/umap/locale/eu.json +0 -3
- umap/static/umap/locale/fa_IR.js +0 -3
- umap/static/umap/locale/fa_IR.json +0 -3
- umap/static/umap/locale/fi.js +2 -5
- umap/static/umap/locale/fi.json +2 -5
- umap/static/umap/locale/fr.js +3 -6
- umap/static/umap/locale/fr.json +3 -6
- umap/static/umap/locale/gl.js +0 -3
- umap/static/umap/locale/gl.json +0 -3
- umap/static/umap/locale/he.js +2 -5
- umap/static/umap/locale/he.json +2 -5
- umap/static/umap/locale/hr.js +2 -5
- umap/static/umap/locale/hr.json +2 -5
- umap/static/umap/locale/hu.js +7 -10
- umap/static/umap/locale/hu.json +7 -10
- umap/static/umap/locale/id.js +2 -5
- umap/static/umap/locale/id.json +2 -5
- umap/static/umap/locale/is.js +0 -3
- umap/static/umap/locale/is.json +0 -3
- umap/static/umap/locale/it.js +0 -3
- umap/static/umap/locale/it.json +0 -3
- umap/static/umap/locale/ja.js +2 -5
- umap/static/umap/locale/ja.json +2 -5
- umap/static/umap/locale/ko.js +2 -5
- umap/static/umap/locale/ko.json +2 -5
- umap/static/umap/locale/lt.js +2 -5
- umap/static/umap/locale/lt.json +2 -5
- umap/static/umap/locale/ms.js +0 -3
- umap/static/umap/locale/ms.json +0 -3
- umap/static/umap/locale/nl.js +0 -3
- umap/static/umap/locale/nl.json +0 -3
- umap/static/umap/locale/no.js +2 -5
- umap/static/umap/locale/no.json +2 -5
- umap/static/umap/locale/pl.js +2 -5
- umap/static/umap/locale/pl.json +2 -5
- umap/static/umap/locale/pl_PL.json +2 -5
- umap/static/umap/locale/pt.js +0 -3
- umap/static/umap/locale/pt.json +0 -3
- umap/static/umap/locale/pt_BR.js +2 -5
- umap/static/umap/locale/pt_BR.json +2 -5
- umap/static/umap/locale/pt_PT.js +2 -5
- umap/static/umap/locale/pt_PT.json +2 -5
- umap/static/umap/locale/ro.js +2 -5
- umap/static/umap/locale/ro.json +2 -5
- umap/static/umap/locale/ru.js +2 -5
- umap/static/umap/locale/ru.json +2 -5
- umap/static/umap/locale/sk_SK.js +2 -5
- umap/static/umap/locale/sk_SK.json +2 -5
- umap/static/umap/locale/sl.js +2 -5
- umap/static/umap/locale/sl.json +2 -5
- umap/static/umap/locale/sr.js +2 -5
- umap/static/umap/locale/sr.json +2 -5
- umap/static/umap/locale/sv.js +2 -5
- umap/static/umap/locale/sv.json +2 -5
- umap/static/umap/locale/th_TH.js +2 -5
- umap/static/umap/locale/th_TH.json +2 -5
- umap/static/umap/locale/tr.js +2 -5
- umap/static/umap/locale/tr.json +2 -5
- umap/static/umap/locale/uk_UA.js +2 -5
- umap/static/umap/locale/uk_UA.json +2 -5
- umap/static/umap/locale/vi.js +2 -5
- umap/static/umap/locale/vi.json +2 -5
- umap/static/umap/locale/vi_VN.json +2 -5
- umap/static/umap/locale/zh.js +2 -5
- umap/static/umap/locale/zh.json +2 -5
- umap/static/umap/locale/zh_CN.json +2 -5
- umap/static/umap/locale/zh_TW.Big5.json +2 -5
- umap/static/umap/locale/zh_TW.js +1 -4
- umap/static/umap/locale/zh_TW.json +1 -4
- umap/static/umap/map.css +1 -17
- umap/static/umap/vendors/locatecontrol/L.Control.Locate.esm.js +942 -0
- umap/static/umap/vendors/photon/leaflet.photon.esm.js +472 -0
- umap/sync/app.py +4 -1
- umap/templates/umap/css.html +0 -2
- umap/templates/umap/js.html +0 -5
- umap/templates/umap/team_form.html +2 -1
- umap/tests/fixtures/test_upload_data_with_enum.umap +151 -0
- umap/tests/integration/test_edit_map.py +2 -0
- umap/tests/integration/test_filters.py +24 -0
- umap/tests/integration/test_import.py +40 -23
- umap/tests/integration/test_map.py +1 -1
- umap/tests/integration/test_optimistic_merge.py +7 -1
- umap/tests/integration/test_remote_data.py +1 -1
- umap/tests/test_search_maps_command.py +44 -0
- umap/utils.py +9 -3
- umap/views.py +17 -4
- {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/METADATA +24 -18
- {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/RECORD +162 -163
- {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/WHEEL +1 -1
- umap/static/umap/vendors/hash/leaflet-hash.js +0 -162
- umap/static/umap/vendors/loading/Control.Loading.css +0 -26
- umap/static/umap/vendors/loading/Control.Loading.js +0 -351
- umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css +0 -1
- umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css.map +0 -1
- umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js +0 -4
- umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js.map +0 -1
- umap/static/umap/vendors/photon/leaflet.photon.js +0 -487
- {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/entry_points.txt +0 -0
- {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -56,170 +56,6 @@ U.TileLayerControl = L.Control.IconLayers.extend({
|
|
|
56
56
|
},
|
|
57
57
|
})
|
|
58
58
|
|
|
59
|
-
/*
|
|
60
|
-
* Take control over L.Control.Locate to be able to
|
|
61
|
-
* call start() before adding the control (and thus the button) to the map.
|
|
62
|
-
*/
|
|
63
|
-
U.Locate = L.Control.Locate.extend({
|
|
64
|
-
initialize: function (map, options) {
|
|
65
|
-
// When calling start(), it will try to add a location marker
|
|
66
|
-
// on the layer, which is normally added in the addTo/onAdd method
|
|
67
|
-
this._layer = this.options.layer = new L.LayerGroup()
|
|
68
|
-
// When calling start(), it will call _activate(), which then adds
|
|
69
|
-
// location related event listeners on the map
|
|
70
|
-
this.map = map
|
|
71
|
-
L.Control.Locate.prototype.initialize.call(this, options)
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
onAdd: function (map) {
|
|
75
|
-
const active = this._active
|
|
76
|
-
const container = L.Control.Locate.prototype.onAdd.call(this, map)
|
|
77
|
-
this._active = active
|
|
78
|
-
return container
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
_activate: function () {
|
|
82
|
-
this._map = this.map
|
|
83
|
-
L.Control.Locate.prototype._activate.call(this)
|
|
84
|
-
},
|
|
85
|
-
|
|
86
|
-
remove: function () {
|
|
87
|
-
// Prevent to call remove if the control is not really added to the map
|
|
88
|
-
// This occurs because we do create the control and call its activate
|
|
89
|
-
// method before adding the control button itself to the map, in the
|
|
90
|
-
// case where the map defaultView is set to "location"
|
|
91
|
-
if (!this._container || !this._container.parentNode) return
|
|
92
|
-
return L.Control.Locate.prototype.remove.call(this)
|
|
93
|
-
},
|
|
94
|
-
})
|
|
95
|
-
|
|
96
|
-
U.Search = L.PhotonSearch.extend({
|
|
97
|
-
initialize: function (map, input, layer, options) {
|
|
98
|
-
this.options.placeholder = L._('Type a place name or coordinates')
|
|
99
|
-
this.options.location_bias_scale = 0.5
|
|
100
|
-
L.PhotonSearch.prototype.initialize.call(this, map, input, options)
|
|
101
|
-
this.options.url = map.options.urls.search
|
|
102
|
-
if (map.options.maxBounds) this.options.bbox = map.options.maxBounds.toBBoxString()
|
|
103
|
-
this.reverse = new L.PhotonReverse({
|
|
104
|
-
handleResults: (geojson) => {
|
|
105
|
-
this.handleResultsWithReverse(geojson)
|
|
106
|
-
},
|
|
107
|
-
})
|
|
108
|
-
this.layer = layer
|
|
109
|
-
},
|
|
110
|
-
|
|
111
|
-
handleResultsWithReverse: function (geojson) {
|
|
112
|
-
const latlng = this.reverse.latlng
|
|
113
|
-
geojson.features.unshift({
|
|
114
|
-
type: 'Feature',
|
|
115
|
-
geometry: { type: 'Point', coordinates: [latlng.lng, latlng.lat] },
|
|
116
|
-
properties: {
|
|
117
|
-
name: L._('Go to "{coords}"', { coords: `${latlng.lat} ${latlng.lng}` }),
|
|
118
|
-
},
|
|
119
|
-
})
|
|
120
|
-
|
|
121
|
-
this.handleResults(geojson)
|
|
122
|
-
},
|
|
123
|
-
|
|
124
|
-
search: function () {
|
|
125
|
-
this.layer.clearLayers()
|
|
126
|
-
const pattern = /^(?<lat>[-+]?\d{1,2}[.,]\d+)\s*[ ,]\s*(?<lng>[-+]?\d{1,3}[.,]\d+)$/
|
|
127
|
-
if (pattern.test(this.input.value)) {
|
|
128
|
-
this.hide()
|
|
129
|
-
const { lat, lng } = pattern.exec(this.input.value).groups
|
|
130
|
-
const latlng = L.latLng(lat, lng)
|
|
131
|
-
if (U.Utils.LatLngIsValid(latlng)) {
|
|
132
|
-
this.reverse.doReverse(latlng)
|
|
133
|
-
} else {
|
|
134
|
-
U.Alert.error(L._('Invalid latitude or longitude'))
|
|
135
|
-
}
|
|
136
|
-
return
|
|
137
|
-
}
|
|
138
|
-
// Only numbers, abort.
|
|
139
|
-
if (/^[\d .,]*$/.test(this.input.value)) return
|
|
140
|
-
// Do normal search
|
|
141
|
-
this.options.includePosition = this.map.getZoom() > 10
|
|
142
|
-
L.PhotonSearch.prototype.search.call(this)
|
|
143
|
-
},
|
|
144
|
-
|
|
145
|
-
onBlur: function (e) {
|
|
146
|
-
// Overrided because we don't want to hide the results on blur.
|
|
147
|
-
this.fire('blur')
|
|
148
|
-
},
|
|
149
|
-
|
|
150
|
-
formatResult: function (feature, el) {
|
|
151
|
-
const [tools, { point, geom }] = U.Utils.loadTemplateWithRefs(`
|
|
152
|
-
<span class="search-result-tools">
|
|
153
|
-
<button type="button" title="${L._('Add this geometry to my map')}" data-ref=geom><i class="icon icon-16 icon-polygon-plus"></i></button>
|
|
154
|
-
<button type="button" title="${L._('Add this place to my map')}" data-ref=point><i class="icon icon-16 icon-marker-plus"></i></button>
|
|
155
|
-
</span>
|
|
156
|
-
`)
|
|
157
|
-
geom.hidden = !['R', 'W'].includes(feature.properties.osm_type)
|
|
158
|
-
point.addEventListener('mousedown', (event) => {
|
|
159
|
-
event.stopPropagation()
|
|
160
|
-
const datalayer = this.map._umap.defaultEditDataLayer()
|
|
161
|
-
const marker = datalayer.makeFeature(feature)
|
|
162
|
-
marker.edit()
|
|
163
|
-
})
|
|
164
|
-
geom.addEventListener('mousedown', async (event) => {
|
|
165
|
-
event.stopPropagation()
|
|
166
|
-
const osm_id = feature.properties.osm_id
|
|
167
|
-
const types = {
|
|
168
|
-
R: 'relation',
|
|
169
|
-
W: 'way',
|
|
170
|
-
N: 'node',
|
|
171
|
-
}
|
|
172
|
-
const osm_type = types[feature.properties.osm_type]
|
|
173
|
-
if (!osm_type || !osm_id) return
|
|
174
|
-
const importer = this.map._umap.importer
|
|
175
|
-
importer.build()
|
|
176
|
-
importer.format = 'geojson'
|
|
177
|
-
importer.raw = await this.getOSMObject(osm_type, osm_id)
|
|
178
|
-
importer.submit()
|
|
179
|
-
})
|
|
180
|
-
el.appendChild(tools)
|
|
181
|
-
this._formatResult(feature, el)
|
|
182
|
-
const path = this.map._umap.getStaticPathFor('target.svg')
|
|
183
|
-
const icon = L.icon({
|
|
184
|
-
iconUrl: path,
|
|
185
|
-
iconSize: [24, 24],
|
|
186
|
-
iconAnchor: [12, 12],
|
|
187
|
-
})
|
|
188
|
-
const coords = feature.geometry.coordinates
|
|
189
|
-
const target = L.marker([coords[1], coords[0]], { icon })
|
|
190
|
-
el.addEventListener('mouseover', (event) => {
|
|
191
|
-
target.addTo(this.layer)
|
|
192
|
-
})
|
|
193
|
-
el.addEventListener('mouseout', (event) => {
|
|
194
|
-
target.removeFrom(this.layer)
|
|
195
|
-
})
|
|
196
|
-
},
|
|
197
|
-
|
|
198
|
-
async getOSMObject(osm_type, osm_id) {
|
|
199
|
-
const url = `https://www.openstreetmap.org/api/0.6/${osm_type}/${osm_id}/full`
|
|
200
|
-
const response = await this.map._umap.request.get(url)
|
|
201
|
-
if (response?.ok) {
|
|
202
|
-
const data = await this.map._umap.formatter.fromOSM(await response.text())
|
|
203
|
-
data.features = data.features.filter(
|
|
204
|
-
(feature) => feature.properties.id === `${osm_type}/${osm_id}`
|
|
205
|
-
)
|
|
206
|
-
return JSON.stringify(data)
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
|
|
210
|
-
setChoice: function (choice) {
|
|
211
|
-
choice = choice || this.RESULTS[this.CURRENT]
|
|
212
|
-
if (choice) {
|
|
213
|
-
const feature = choice.feature
|
|
214
|
-
const zoom = Math.max(this.map.getZoom(), 14) // Never unzoom.
|
|
215
|
-
this.map.setView(
|
|
216
|
-
[feature.geometry.coordinates[1], feature.geometry.coordinates[0]],
|
|
217
|
-
zoom
|
|
218
|
-
)
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
})
|
|
222
|
-
|
|
223
59
|
L.Control.MiniMap.include({
|
|
224
60
|
initialize: function (layer, options) {
|
|
225
61
|
L.Util.setOptions(this, options)
|
|
@@ -238,24 +74,6 @@ L.Control.MiniMap.include({
|
|
|
238
74
|
_cloneLayer: (layer) => new L.TileLayer(layer._url, L.Util.extend({}, layer.options)),
|
|
239
75
|
})
|
|
240
76
|
|
|
241
|
-
L.Control.Loading.include({
|
|
242
|
-
onAdd: function (map) {
|
|
243
|
-
this._container = document.createElement('div')
|
|
244
|
-
this._container.classList.add('umap-loader')
|
|
245
|
-
map.on('baselayerchange', this._layerAdd, this)
|
|
246
|
-
this._addMapListeners(map)
|
|
247
|
-
this._map = map
|
|
248
|
-
},
|
|
249
|
-
|
|
250
|
-
_showIndicator: function () {
|
|
251
|
-
this._map._container.classList.add('umap-loading')
|
|
252
|
-
},
|
|
253
|
-
|
|
254
|
-
_hideIndicator: function () {
|
|
255
|
-
this._map._container.classList.remove('umap-loading')
|
|
256
|
-
},
|
|
257
|
-
})
|
|
258
|
-
|
|
259
77
|
U.Editable = L.Editable.extend({
|
|
260
78
|
initialize: function (umap, options) {
|
|
261
79
|
this._umap = umap
|
umap/static/umap/locale/am_ET.js
CHANGED
|
@@ -104,7 +104,6 @@ const locale = {
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "ስሙን አሳይ",
|
|
106
106
|
"Display on load": "በመጫን ላይ እያለ አሳይ",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Display the fullscreen control",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@ const locale = {
|
|
|
163
162
|
"Help": "እርዳታ",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "መቆጣጠሪያዎቹን ደብቅ",
|
|
166
|
-
"Home": "Home",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "በእያንዳንዱ የዙም መጠን ፖሊላይኑን ምን ያህል ያቃልል (ብዙ = ጥሩ አገልግሎት እና ጥሩ መልክ፣ ትንሽ = ይበልጥ ትክክለኛ)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Icon shape",
|
|
@@ -237,7 +235,6 @@ const locale = {
|
|
|
237
235
|
"No licence has been set": "ምንም ፈቃድ አልተሰጠም",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "አይደለም",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "ምንም",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "On the bottom",
|
|
@@ -250,7 +247,6 @@ const locale = {
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "ለOpernStreetMap ይበልጥ ትክክል ይሆነ መረጃ ለመስጠ የካርታውን ኤክስቴንት በካርታ ማረሚያ ክፈት",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "አማራጭ፣ ካልተመረጠለት እንደቀለሙ የሚሆን",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,7 +648,8 @@ const locale = {
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
|
657
654
|
L.registerLocale("am_ET", locale)
|
|
658
655
|
L.setLocale("am_ET")
|
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "ስሙን አሳይ",
|
|
106
106
|
"Display on load": "በመጫን ላይ እያለ አሳይ",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Display the fullscreen control",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@
|
|
|
163
162
|
"Help": "እርዳታ",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "መቆጣጠሪያዎቹን ደብቅ",
|
|
166
|
-
"Home": "Home",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "በእያንዳንዱ የዙም መጠን ፖሊላይኑን ምን ያህል ያቃልል (ብዙ = ጥሩ አገልግሎት እና ጥሩ መልክ፣ ትንሽ = ይበልጥ ትክክለኛ)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Icon shape",
|
|
@@ -237,7 +235,6 @@
|
|
|
237
235
|
"No licence has been set": "ምንም ፈቃድ አልተሰጠም",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "አይደለም",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "ምንም",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "On the bottom",
|
|
@@ -250,7 +247,6 @@
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "ለOpernStreetMap ይበልጥ ትክክል ይሆነ መረጃ ለመስጠ የካርታውን ኤክስቴንት በካርታ ማረሚያ ክፈት",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "አማራጭ፣ ካልተመረጠለት እንደቀለሙ የሚሆን",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,5 +648,6 @@
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
umap/static/umap/locale/ar.js
CHANGED
|
@@ -104,7 +104,6 @@ const locale = {
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "display name",
|
|
106
106
|
"Display on load": "Display on load",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Display the fullscreen control",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@ const locale = {
|
|
|
163
162
|
"Help": "مساعدة",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "Hide controls",
|
|
166
|
-
"Home": "الصفحة الرئيسية",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Icon shape",
|
|
@@ -237,7 +235,6 @@ const locale = {
|
|
|
237
235
|
"No licence has been set": "No licence has been set",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "لا",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "None",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "في الأسفل",
|
|
@@ -250,7 +247,6 @@ const locale = {
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "Open this map extent in a map editor to provide more accurate data to OpenStreetMap",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "Optional. Same as color if not set.",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,7 +648,8 @@ const locale = {
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
|
657
654
|
L.registerLocale("ar", locale)
|
|
658
655
|
L.setLocale("ar")
|
umap/static/umap/locale/ar.json
CHANGED
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "display name",
|
|
106
106
|
"Display on load": "Display on load",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Display the fullscreen control",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@
|
|
|
163
162
|
"Help": "مساعدة",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "Hide controls",
|
|
166
|
-
"Home": "الصفحة الرئيسية",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Icon shape",
|
|
@@ -237,7 +235,6 @@
|
|
|
237
235
|
"No licence has been set": "No licence has been set",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "لا",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "None",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "في الأسفل",
|
|
@@ -250,7 +247,6 @@
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "Open this map extent in a map editor to provide more accurate data to OpenStreetMap",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "Optional. Same as color if not set.",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,5 +648,6 @@
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
umap/static/umap/locale/ast.js
CHANGED
|
@@ -104,7 +104,6 @@ const locale = {
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "display name",
|
|
106
106
|
"Display on load": "Display on load",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Display the fullscreen control",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@ const locale = {
|
|
|
163
162
|
"Help": "Help",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "Hide controls",
|
|
166
|
-
"Home": "Home",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Icon shape",
|
|
@@ -237,7 +235,6 @@ const locale = {
|
|
|
237
235
|
"No licence has been set": "No licence has been set",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "no",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "None",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "On the bottom",
|
|
@@ -250,7 +247,6 @@ const locale = {
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "Open this map extent in a map editor to provide more accurate data to OpenStreetMap",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "Optional. Same as color if not set.",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,7 +648,8 @@ const locale = {
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
|
657
654
|
L.registerLocale("ast", locale)
|
|
658
655
|
L.setLocale("ast")
|
umap/static/umap/locale/ast.json
CHANGED
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "display name",
|
|
106
106
|
"Display on load": "Display on load",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Display the fullscreen control",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@
|
|
|
163
162
|
"Help": "Help",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "Hide controls",
|
|
166
|
-
"Home": "Home",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Icon shape",
|
|
@@ -237,7 +235,6 @@
|
|
|
237
235
|
"No licence has been set": "No licence has been set",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "no",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "None",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "On the bottom",
|
|
@@ -250,7 +247,6 @@
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "Open this map extent in a map editor to provide more accurate data to OpenStreetMap",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "Optional. Same as color if not set.",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,5 +648,6 @@
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
umap/static/umap/locale/bg.js
CHANGED
|
@@ -104,7 +104,6 @@ const locale = {
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "показвано име",
|
|
106
106
|
"Display on load": "Дисплей на зареждане",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Показване управлението за цял екран",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@ const locale = {
|
|
|
163
162
|
"Help": "Помощ",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "Скрий контролите",
|
|
166
|
-
"Home": "Home",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "Колко да опрости полилинията на всяко ниво увеличение (повече = по-добра производителност и по-гладко на вид, по-малко = по-точно)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Форма на иконата",
|
|
@@ -237,7 +235,6 @@ const locale = {
|
|
|
237
235
|
"No licence has been set": "No licence has been set",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "не",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "Нищо",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "Отдолу",
|
|
@@ -250,7 +247,6 @@ const locale = {
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "Отворете тази карта в степен редактор на карта, за да предостави по-точни данни,OpenStreetMap",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "По избор Същото като цвят, ако не е настроена.",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,7 +648,8 @@ const locale = {
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|
|
657
654
|
L.registerLocale("bg", locale)
|
|
658
655
|
L.setLocale("bg")
|
umap/static/umap/locale/bg.json
CHANGED
|
@@ -104,7 +104,6 @@
|
|
|
104
104
|
"Display measure": "Display measure",
|
|
105
105
|
"display name": "показвано име",
|
|
106
106
|
"Display on load": "Дисплей на зареждане",
|
|
107
|
-
"Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
|
|
108
107
|
"Display the embed control": "Display the embed control",
|
|
109
108
|
"Display the fullscreen control": "Показване управлението за цял екран",
|
|
110
109
|
"Display the locate control": "Display the locate control",
|
|
@@ -163,7 +162,6 @@
|
|
|
163
162
|
"Help": "Помощ",
|
|
164
163
|
"hidden": "hidden",
|
|
165
164
|
"Hide controls": "Скрий контролите",
|
|
166
|
-
"Home": "Home",
|
|
167
165
|
"How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "Колко да опрости полилинията на всяко ниво увеличение (повече = по-добра производителност и по-гладко на вид, по-малко = по-точно)",
|
|
168
166
|
"icon opacity": "icon opacity",
|
|
169
167
|
"Icon shape": "Форма на иконата",
|
|
@@ -237,7 +235,6 @@
|
|
|
237
235
|
"No licence has been set": "No licence has been set",
|
|
238
236
|
"No results": "No results",
|
|
239
237
|
"no": "не",
|
|
240
|
-
"No.": "No.",
|
|
241
238
|
"None": "Нищо",
|
|
242
239
|
"Number of desired classes (default 5)": "Number of desired classes (default 5)",
|
|
243
240
|
"On the bottom": "Отдолу",
|
|
@@ -250,7 +247,6 @@
|
|
|
250
247
|
"Open current feature on load": "Open current feature on load",
|
|
251
248
|
"Open link in…": "Open link in…",
|
|
252
249
|
"Open share & download panel": "Open share & download panel",
|
|
253
|
-
"Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "Отворете тази карта в степен редактор на карта, за да предостави по-точни данни,OpenStreetMap",
|
|
254
250
|
"OpenStreetMap": "OpenStreetMap",
|
|
255
251
|
"Optional. Same as color if not set.": "По избор Същото като цвят, ако не е настроена.",
|
|
256
252
|
"Optional.": "Optional.",
|
|
@@ -652,5 +648,6 @@
|
|
|
652
648
|
"Comma separated list of values": "Comma separated list of values",
|
|
653
649
|
"Share": "Share",
|
|
654
650
|
"Customized link": "Customized link",
|
|
655
|
-
"Iframe": "Iframe"
|
|
651
|
+
"Iframe": "Iframe",
|
|
652
|
+
"№": "№"
|
|
656
653
|
}
|