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.
Files changed (170) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  3. umap/locale/br/LC_MESSAGES/django.po +71 -57
  4. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/de/LC_MESSAGES/django.po +20 -16
  6. umap/locale/en/LC_MESSAGES/django.po +14 -14
  7. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  8. umap/locale/hu/LC_MESSAGES/django.po +20 -16
  9. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  10. umap/locale/pl/LC_MESSAGES/django.po +32 -27
  11. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  12. umap/locale/zh_TW/LC_MESSAGES/django.po +20 -16
  13. umap/management/commands/clean_tilelayer.py +0 -1
  14. umap/management/commands/search_maps.py +95 -0
  15. umap/settings/__init__.py +9 -1
  16. umap/settings/base.py +7 -6
  17. umap/static/umap/css/icon.css +8 -0
  18. umap/static/umap/img/16-white.svg +5 -2
  19. umap/static/umap/img/16.svg +1 -1
  20. umap/static/umap/img/source/16-white.svg +7 -4
  21. umap/static/umap/img/source/16.svg +1 -1
  22. umap/static/umap/js/modules/autocomplete.js +1 -9
  23. umap/static/umap/js/modules/browser.js +27 -10
  24. umap/static/umap/js/modules/data/features.js +3 -2
  25. umap/static/umap/js/modules/data/fields.js +12 -2
  26. umap/static/umap/js/modules/data/layer.js +13 -9
  27. umap/static/umap/js/modules/domutils.js +4 -0
  28. umap/static/umap/js/modules/filters.js +11 -10
  29. umap/static/umap/js/modules/form/builder.js +17 -16
  30. umap/static/umap/js/modules/form/fields.js +16 -16
  31. umap/static/umap/js/modules/permissions.js +10 -2
  32. umap/static/umap/js/modules/rendering/controls.js +202 -9
  33. umap/static/umap/js/modules/rendering/layers/classified.js +1 -1
  34. umap/static/umap/js/modules/rendering/map.js +45 -35
  35. umap/static/umap/js/modules/rendering/template.js +12 -6
  36. umap/static/umap/js/modules/rules.js +1 -1
  37. umap/static/umap/js/modules/ui/bar.js +2 -1
  38. umap/static/umap/js/modules/ui/hash.js +36 -0
  39. umap/static/umap/js/modules/ui/loader.js +26 -0
  40. umap/static/umap/js/modules/ui/panel.js +7 -0
  41. umap/static/umap/js/modules/umap.js +6 -0
  42. umap/static/umap/js/modules/utils.js +5 -4
  43. umap/static/umap/js/umap.controls.js +0 -182
  44. umap/static/umap/locale/am_ET.js +2 -5
  45. umap/static/umap/locale/am_ET.json +2 -5
  46. umap/static/umap/locale/ar.js +2 -5
  47. umap/static/umap/locale/ar.json +2 -5
  48. umap/static/umap/locale/ast.js +2 -5
  49. umap/static/umap/locale/ast.json +2 -5
  50. umap/static/umap/locale/bg.js +2 -5
  51. umap/static/umap/locale/bg.json +2 -5
  52. umap/static/umap/locale/br.js +40 -43
  53. umap/static/umap/locale/br.json +40 -43
  54. umap/static/umap/locale/ca.js +2 -5
  55. umap/static/umap/locale/ca.json +2 -5
  56. umap/static/umap/locale/cs_CZ.js +0 -3
  57. umap/static/umap/locale/cs_CZ.json +0 -3
  58. umap/static/umap/locale/da.js +1 -4
  59. umap/static/umap/locale/da.json +1 -4
  60. umap/static/umap/locale/de.js +27 -30
  61. umap/static/umap/locale/de.json +27 -30
  62. umap/static/umap/locale/el.js +0 -3
  63. umap/static/umap/locale/el.json +0 -3
  64. umap/static/umap/locale/en.js +0 -3
  65. umap/static/umap/locale/en.json +0 -3
  66. umap/static/umap/locale/en_US.json +2 -5
  67. umap/static/umap/locale/es.js +0 -3
  68. umap/static/umap/locale/es.json +0 -3
  69. umap/static/umap/locale/et.js +0 -3
  70. umap/static/umap/locale/et.json +0 -3
  71. umap/static/umap/locale/eu.js +0 -3
  72. umap/static/umap/locale/eu.json +0 -3
  73. umap/static/umap/locale/fa_IR.js +0 -3
  74. umap/static/umap/locale/fa_IR.json +0 -3
  75. umap/static/umap/locale/fi.js +2 -5
  76. umap/static/umap/locale/fi.json +2 -5
  77. umap/static/umap/locale/fr.js +3 -6
  78. umap/static/umap/locale/fr.json +3 -6
  79. umap/static/umap/locale/gl.js +0 -3
  80. umap/static/umap/locale/gl.json +0 -3
  81. umap/static/umap/locale/he.js +2 -5
  82. umap/static/umap/locale/he.json +2 -5
  83. umap/static/umap/locale/hr.js +2 -5
  84. umap/static/umap/locale/hr.json +2 -5
  85. umap/static/umap/locale/hu.js +7 -10
  86. umap/static/umap/locale/hu.json +7 -10
  87. umap/static/umap/locale/id.js +2 -5
  88. umap/static/umap/locale/id.json +2 -5
  89. umap/static/umap/locale/is.js +0 -3
  90. umap/static/umap/locale/is.json +0 -3
  91. umap/static/umap/locale/it.js +0 -3
  92. umap/static/umap/locale/it.json +0 -3
  93. umap/static/umap/locale/ja.js +2 -5
  94. umap/static/umap/locale/ja.json +2 -5
  95. umap/static/umap/locale/ko.js +2 -5
  96. umap/static/umap/locale/ko.json +2 -5
  97. umap/static/umap/locale/lt.js +2 -5
  98. umap/static/umap/locale/lt.json +2 -5
  99. umap/static/umap/locale/ms.js +0 -3
  100. umap/static/umap/locale/ms.json +0 -3
  101. umap/static/umap/locale/nl.js +0 -3
  102. umap/static/umap/locale/nl.json +0 -3
  103. umap/static/umap/locale/no.js +2 -5
  104. umap/static/umap/locale/no.json +2 -5
  105. umap/static/umap/locale/pl.js +2 -5
  106. umap/static/umap/locale/pl.json +2 -5
  107. umap/static/umap/locale/pl_PL.json +2 -5
  108. umap/static/umap/locale/pt.js +0 -3
  109. umap/static/umap/locale/pt.json +0 -3
  110. umap/static/umap/locale/pt_BR.js +2 -5
  111. umap/static/umap/locale/pt_BR.json +2 -5
  112. umap/static/umap/locale/pt_PT.js +2 -5
  113. umap/static/umap/locale/pt_PT.json +2 -5
  114. umap/static/umap/locale/ro.js +2 -5
  115. umap/static/umap/locale/ro.json +2 -5
  116. umap/static/umap/locale/ru.js +2 -5
  117. umap/static/umap/locale/ru.json +2 -5
  118. umap/static/umap/locale/sk_SK.js +2 -5
  119. umap/static/umap/locale/sk_SK.json +2 -5
  120. umap/static/umap/locale/sl.js +2 -5
  121. umap/static/umap/locale/sl.json +2 -5
  122. umap/static/umap/locale/sr.js +2 -5
  123. umap/static/umap/locale/sr.json +2 -5
  124. umap/static/umap/locale/sv.js +2 -5
  125. umap/static/umap/locale/sv.json +2 -5
  126. umap/static/umap/locale/th_TH.js +2 -5
  127. umap/static/umap/locale/th_TH.json +2 -5
  128. umap/static/umap/locale/tr.js +2 -5
  129. umap/static/umap/locale/tr.json +2 -5
  130. umap/static/umap/locale/uk_UA.js +2 -5
  131. umap/static/umap/locale/uk_UA.json +2 -5
  132. umap/static/umap/locale/vi.js +2 -5
  133. umap/static/umap/locale/vi.json +2 -5
  134. umap/static/umap/locale/vi_VN.json +2 -5
  135. umap/static/umap/locale/zh.js +2 -5
  136. umap/static/umap/locale/zh.json +2 -5
  137. umap/static/umap/locale/zh_CN.json +2 -5
  138. umap/static/umap/locale/zh_TW.Big5.json +2 -5
  139. umap/static/umap/locale/zh_TW.js +1 -4
  140. umap/static/umap/locale/zh_TW.json +1 -4
  141. umap/static/umap/map.css +1 -17
  142. umap/static/umap/vendors/locatecontrol/L.Control.Locate.esm.js +942 -0
  143. umap/static/umap/vendors/photon/leaflet.photon.esm.js +472 -0
  144. umap/sync/app.py +4 -1
  145. umap/templates/umap/css.html +0 -2
  146. umap/templates/umap/js.html +0 -5
  147. umap/templates/umap/team_form.html +2 -1
  148. umap/tests/fixtures/test_upload_data_with_enum.umap +151 -0
  149. umap/tests/integration/test_edit_map.py +2 -0
  150. umap/tests/integration/test_filters.py +24 -0
  151. umap/tests/integration/test_import.py +40 -23
  152. umap/tests/integration/test_map.py +1 -1
  153. umap/tests/integration/test_optimistic_merge.py +7 -1
  154. umap/tests/integration/test_remote_data.py +1 -1
  155. umap/tests/test_search_maps_command.py +44 -0
  156. umap/utils.py +9 -3
  157. umap/views.py +17 -4
  158. {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/METADATA +24 -18
  159. {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/RECORD +162 -163
  160. {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/WHEEL +1 -1
  161. umap/static/umap/vendors/hash/leaflet-hash.js +0 -162
  162. umap/static/umap/vendors/loading/Control.Loading.css +0 -26
  163. umap/static/umap/vendors/loading/Control.Loading.js +0 -351
  164. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css +0 -1
  165. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css.map +0 -1
  166. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js +0 -4
  167. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js.map +0 -1
  168. umap/static/umap/vendors/photon/leaflet.photon.js +0 -487
  169. {umap_project-3.4.2.dist-info → umap_project-3.6.1.dist-info}/entry_points.txt +0 -0
  170. {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
@@ -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
  }
@@ -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")
@@ -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
  }
@@ -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")
@@ -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
  }
@@ -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")
@@ -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
  }