umap-project 1.4.3__py3-none-any.whl → 1.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (134) 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 +29 -28
  4. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/cs_CZ/LC_MESSAGES/django.po +35 -35
  6. umap/locale/en/LC_MESSAGES/django.po +28 -28
  7. umap/migrations/0010_alter_map_edit_status_alter_map_share_status.py +23 -0
  8. umap/migrations/0011_alter_map_edit_status_alter_map_share_status.py +24 -0
  9. umap/models.py +10 -2
  10. umap/settings/base.py +2 -0
  11. umap/static/umap/base.css +4 -4
  12. umap/static/umap/img/16-white.svg +18 -3
  13. umap/static/umap/img/logo_small.svg +14 -0
  14. umap/static/umap/img/source/16-white.svg +19 -5
  15. umap/static/umap/js/umap.controls.js +122 -132
  16. umap/static/umap/js/umap.core.js +13 -6
  17. umap/static/umap/js/umap.features.js +41 -15
  18. umap/static/umap/js/umap.forms.js +55 -5
  19. umap/static/umap/js/umap.js +59 -100
  20. umap/static/umap/js/umap.layer.js +69 -26
  21. umap/static/umap/js/umap.permissions.js +5 -0
  22. umap/static/umap/js/umap.popup.js +3 -6
  23. umap/static/umap/js/umap.xhr.js +2 -1
  24. umap/static/umap/locale/am_ET.js +14 -7
  25. umap/static/umap/locale/am_ET.json +14 -7
  26. umap/static/umap/locale/ar.js +14 -7
  27. umap/static/umap/locale/ar.json +14 -7
  28. umap/static/umap/locale/ast.js +14 -7
  29. umap/static/umap/locale/ast.json +14 -7
  30. umap/static/umap/locale/bg.js +14 -7
  31. umap/static/umap/locale/bg.json +14 -7
  32. umap/static/umap/locale/br.js +149 -142
  33. umap/static/umap/locale/br.json +149 -142
  34. umap/static/umap/locale/ca.js +14 -7
  35. umap/static/umap/locale/ca.json +14 -7
  36. umap/static/umap/locale/cs_CZ.js +42 -35
  37. umap/static/umap/locale/cs_CZ.json +42 -35
  38. umap/static/umap/locale/da.js +14 -7
  39. umap/static/umap/locale/da.json +14 -7
  40. umap/static/umap/locale/de.js +14 -7
  41. umap/static/umap/locale/de.json +14 -7
  42. umap/static/umap/locale/el.js +14 -7
  43. umap/static/umap/locale/el.json +14 -7
  44. umap/static/umap/locale/en.js +14 -7
  45. umap/static/umap/locale/en.json +14 -7
  46. umap/static/umap/locale/en_US.json +14 -7
  47. umap/static/umap/locale/es.js +14 -7
  48. umap/static/umap/locale/es.json +14 -7
  49. umap/static/umap/locale/et.js +14 -7
  50. umap/static/umap/locale/et.json +14 -7
  51. umap/static/umap/locale/eu.js +7 -7
  52. umap/static/umap/locale/eu.json +7 -7
  53. umap/static/umap/locale/fa_IR.js +14 -7
  54. umap/static/umap/locale/fa_IR.json +14 -7
  55. umap/static/umap/locale/fi.js +14 -7
  56. umap/static/umap/locale/fi.json +14 -7
  57. umap/static/umap/locale/fr.js +14 -7
  58. umap/static/umap/locale/fr.json +14 -7
  59. umap/static/umap/locale/gl.js +14 -7
  60. umap/static/umap/locale/gl.json +14 -7
  61. umap/static/umap/locale/he.js +14 -7
  62. umap/static/umap/locale/he.json +14 -7
  63. umap/static/umap/locale/hr.js +14 -7
  64. umap/static/umap/locale/hr.json +14 -7
  65. umap/static/umap/locale/hu.js +14 -7
  66. umap/static/umap/locale/hu.json +14 -7
  67. umap/static/umap/locale/id.js +14 -7
  68. umap/static/umap/locale/id.json +14 -7
  69. umap/static/umap/locale/is.js +14 -7
  70. umap/static/umap/locale/is.json +14 -7
  71. umap/static/umap/locale/it.js +14 -7
  72. umap/static/umap/locale/it.json +14 -7
  73. umap/static/umap/locale/ja.js +14 -7
  74. umap/static/umap/locale/ja.json +14 -7
  75. umap/static/umap/locale/ko.js +14 -7
  76. umap/static/umap/locale/ko.json +14 -7
  77. umap/static/umap/locale/lt.js +14 -7
  78. umap/static/umap/locale/lt.json +14 -7
  79. umap/static/umap/locale/ms.js +14 -7
  80. umap/static/umap/locale/ms.json +14 -7
  81. umap/static/umap/locale/nl.js +14 -7
  82. umap/static/umap/locale/nl.json +14 -7
  83. umap/static/umap/locale/no.js +14 -7
  84. umap/static/umap/locale/no.json +14 -7
  85. umap/static/umap/locale/pl.js +14 -7
  86. umap/static/umap/locale/pl.json +14 -7
  87. umap/static/umap/locale/pl_PL.json +14 -7
  88. umap/static/umap/locale/pt.js +14 -7
  89. umap/static/umap/locale/pt.json +14 -7
  90. umap/static/umap/locale/pt_BR.js +14 -7
  91. umap/static/umap/locale/pt_BR.json +14 -7
  92. umap/static/umap/locale/pt_PT.js +14 -7
  93. umap/static/umap/locale/pt_PT.json +14 -7
  94. umap/static/umap/locale/ro.js +14 -7
  95. umap/static/umap/locale/ro.json +14 -7
  96. umap/static/umap/locale/ru.js +14 -7
  97. umap/static/umap/locale/ru.json +14 -7
  98. umap/static/umap/locale/sk_SK.js +14 -7
  99. umap/static/umap/locale/sk_SK.json +14 -7
  100. umap/static/umap/locale/sl.js +14 -7
  101. umap/static/umap/locale/sl.json +14 -7
  102. umap/static/umap/locale/sr.js +14 -7
  103. umap/static/umap/locale/sr.json +14 -7
  104. umap/static/umap/locale/sv.js +38 -31
  105. umap/static/umap/locale/sv.json +38 -31
  106. umap/static/umap/locale/th_TH.js +14 -7
  107. umap/static/umap/locale/th_TH.json +14 -7
  108. umap/static/umap/locale/tr.js +14 -7
  109. umap/static/umap/locale/tr.json +14 -7
  110. umap/static/umap/locale/uk_UA.js +14 -7
  111. umap/static/umap/locale/uk_UA.json +14 -7
  112. umap/static/umap/locale/vi.js +14 -7
  113. umap/static/umap/locale/vi.json +14 -7
  114. umap/static/umap/locale/vi_VN.json +14 -7
  115. umap/static/umap/locale/zh.js +14 -7
  116. umap/static/umap/locale/zh.json +14 -7
  117. umap/static/umap/locale/zh_CN.json +14 -7
  118. umap/static/umap/locale/zh_TW.Big5.json +14 -7
  119. umap/static/umap/locale/zh_TW.js +14 -7
  120. umap/static/umap/locale/zh_TW.json +14 -7
  121. umap/static/umap/map.css +119 -47
  122. umap/static/umap/test/DataLayer.js +32 -6
  123. umap/static/umap/test/Permissions.js +2 -2
  124. umap/static/umap/test/Util.js +26 -7
  125. umap/static/umap/vendors/leaflet/leaflet-src.js +7156 -7156
  126. umap/static/umap/vendors/togeojson/togeojson.js +2 -406
  127. umap/tests/test_map.py +16 -0
  128. umap/tests/test_views.py +18 -0
  129. umap/views.py +4 -2
  130. {umap_project-1.4.3.dist-info → umap_project-1.5.0.dist-info}/METADATA +3 -3
  131. {umap_project-1.4.3.dist-info → umap_project-1.5.0.dist-info}/RECORD +134 -131
  132. {umap_project-1.4.3.dist-info → umap_project-1.5.0.dist-info}/WHEEL +0 -0
  133. {umap_project-1.4.3.dist-info → umap_project-1.5.0.dist-info}/entry_points.txt +0 -0
  134. {umap_project-1.4.3.dist-info → umap_project-1.5.0.dist-info}/licenses/LICENSE +0 -0
@@ -10,6 +10,10 @@ L.U.Layer = {
10
10
  },
11
11
 
12
12
  postUpdate: function () {},
13
+
14
+ hasDataVisible: function () {
15
+ return !!Object.keys(this._layers).length
16
+ },
13
17
  }
14
18
 
15
19
  L.U.Layer.Default = L.FeatureGroup.extend({
@@ -53,6 +57,17 @@ L.U.Layer.Cluster = L.MarkerClusterGroup.extend({
53
57
  }
54
58
  L.MarkerClusterGroup.prototype.initialize.call(this, options)
55
59
  this._markerCluster = L.U.MarkerCluster
60
+ this._layers = []
61
+ },
62
+
63
+ addLayer: function (layer) {
64
+ this._layers.push(layer)
65
+ return L.MarkerClusterGroup.prototype.addLayer.call(this, layer)
66
+ },
67
+
68
+ removeLayer: function (layer) {
69
+ this._layers.splice(this._layers.indexOf(layer), 1)
70
+ return L.MarkerClusterGroup.prototype.removeLayer.call(this, layer)
56
71
  },
57
72
 
58
73
  getEditableOptions: function () {
@@ -237,11 +252,31 @@ L.U.DataLayer = L.Evented.extend({
237
252
  this.connectToMap()
238
253
  if (this.displayedOnLoad()) this.show()
239
254
  if (!this.umap_id) this.isDirty = true
255
+
256
+ // Retrocompat
257
+ if (this.options.remoteData && this.options.remoteData.from) {
258
+ this.options.fromZoom = this.options.remoteData.from
259
+ }
260
+ if (this.options.remoteData && this.options.remoteData.to) {
261
+ this.options.toZoom = this.options.remoteData.to
262
+ }
263
+
240
264
  this.onceLoaded(function () {
241
- this.map.on('moveend', this.fetchRemoteData, this)
265
+ this.map.on('moveend', this.onMoveEnd, this)
266
+ this.map.on('zoomend', this.onZoomEnd, this)
242
267
  })
243
268
  },
244
269
 
270
+ onMoveEnd: function (e) {
271
+ if (this.isRemoteLayer()) this.fetchRemoteData()
272
+ },
273
+
274
+ onZoomEnd: function (e) {
275
+ if (this._forcedVisibility) return
276
+ if (!this.showAtZoom() && this.isVisible()) this.hide()
277
+ if (this.showAtZoom() && !this.isVisible()) this.show()
278
+ },
279
+
245
280
  displayedOnLoad: function () {
246
281
  return (
247
282
  (this.map.datalayersOnLoad &&
@@ -265,6 +300,10 @@ L.U.DataLayer = L.Evented.extend({
265
300
  this.parentPane.appendChild(this.pane)
266
301
  },
267
302
 
303
+ hasDataVisible: function () {
304
+ return this.layer.hasDataVisible()
305
+ },
306
+
268
307
  resetLayer: function (force) {
269
308
  if (this.layer && this.options.type === this.layer._type && !force) return
270
309
  const visible = this.isVisible()
@@ -273,12 +312,7 @@ L.U.DataLayer = L.Evented.extend({
273
312
  if (visible) this.map.removeLayer(this.layer)
274
313
  const Class = L.U.Layer[this.options.type] || L.U.Layer.Default
275
314
  this.layer = new Class(this)
276
- const filterKeys = this.map.getFilterKeys(),
277
- filter = this.map.options.filter
278
- this.eachLayer(function (layer) {
279
- if (filter && !layer.matchFilter(filter, filterKeys)) return
280
- this.layer.addLayer(layer)
281
- })
315
+ this.eachLayer((feature) => this.showFeature(feature))
282
316
  if (visible) this.map.addLayer(this.layer)
283
317
  this.propagateRemote()
284
318
  },
@@ -335,6 +369,7 @@ L.U.DataLayer = L.Evented.extend({
335
369
  this.backupData()
336
370
  this._geojson = null
337
371
  }
372
+ this.fire('datachanged')
338
373
  },
339
374
 
340
375
  backupData: function () {
@@ -351,17 +386,17 @@ L.U.DataLayer = L.Evented.extend({
351
386
  }
352
387
  },
353
388
 
389
+ showAtZoom: function () {
390
+ const from = parseInt(this.options.fromZoom, 10),
391
+ to = parseInt(this.options.toZoom, 10),
392
+ zoom = this.map.getZoom()
393
+ if (isNaN(from) || isNaN(to)) return false
394
+ return (zoom >= from && zoom <= to)
395
+ },
396
+
354
397
  fetchRemoteData: function () {
355
398
  if (!this.isRemoteLayer()) return
356
- const from = parseInt(this.options.remoteData.from, 10),
357
- to = parseInt(this.options.remoteData.to, 10)
358
- if (
359
- (!isNaN(from) && this.map.getZoom() < from) ||
360
- (!isNaN(to) && this.map.getZoom() > to)
361
- ) {
362
- this.clear()
363
- return
364
- }
399
+ if (!this.showAtZoom()) return
365
400
  if (!this.options.remoteData.dynamic && this.hasDataLoaded()) return
366
401
  if (!this.isVisible()) return
367
402
  let url = this.map.localizeUrl(this.options.remoteData.url)
@@ -457,15 +492,23 @@ L.U.DataLayer = L.Evented.extend({
457
492
  return this.options.type === 'Cluster'
458
493
  },
459
494
 
495
+ showFeature: function (feature) {
496
+ const filterKeys = this.map.getFilterKeys(),
497
+ filter = this.map.options.filter
498
+ if (filter && !feature.matchFilter(filter, filterKeys)) return
499
+ if (!feature.matchFacets()) return
500
+ this.layer.addLayer(feature)
501
+ },
502
+
460
503
  addLayer: function (feature) {
461
504
  const id = L.stamp(feature)
462
505
  feature.connectToDataLayer(this)
463
506
  this._index.push(id)
464
507
  this._layers[id] = feature
465
- this.layer.addLayer(feature)
466
508
  this.indexProperties(feature)
467
- if (this.hasDataLoaded()) this.fire('datachanged')
468
509
  this.map.features_index[feature.getSlug()] = feature
510
+ this.showFeature(feature)
511
+ if (this.hasDataLoaded()) this.fire('datachanged')
469
512
  },
470
513
 
471
514
  removeLayer: function (feature) {
@@ -840,6 +883,8 @@ L.U.DataLayer = L.Evented.extend({
840
883
  'options.smoothFactor',
841
884
  'options.dashArray',
842
885
  'options.zoomTo',
886
+ 'options.fromZoom',
887
+ 'options.toZoom',
843
888
  'options.labelKey',
844
889
  ]
845
890
 
@@ -880,11 +925,8 @@ L.U.DataLayer = L.Evented.extend({
880
925
  { handler: 'Url', label: L._('Url'), helpEntries: 'formatURL' },
881
926
  ],
882
927
  ['options.remoteData.format', { handler: 'DataFormat', label: L._('Format') }],
883
- [
884
- 'options.remoteData.from',
885
- { label: L._('From zoom'), helpText: L._('Optional.') },
886
- ],
887
- ['options.remoteData.to', { label: L._('To zoom'), helpText: L._('Optional.') }],
928
+ 'options.fromZoom',
929
+ 'options.toZoom',
888
930
  [
889
931
  'options.remoteData.dynamic',
890
932
  { handler: 'Switch', label: L._('Dynamic'), helpEntries: 'dynamicRemoteData' },
@@ -976,9 +1018,7 @@ L.U.DataLayer = L.Evented.extend({
976
1018
  buildVersionsFieldset: function (container) {
977
1019
  const appendVersion = function (data) {
978
1020
  const date = new Date(parseInt(data.at, 10))
979
- const content = `${date.toLocaleString(L.lang)} (${
980
- parseInt(data.size) / 1000
981
- }Kb)`
1021
+ const content = `${date.toLocaleString(L.lang)} (${parseInt(data.size) / 1000}Kb)`
982
1022
  const el = L.DomUtil.create('div', 'umap-datalayer-version', versionsContainer)
983
1023
  const a = L.DomUtil.create('a', '', el)
984
1024
  L.DomUtil.add('span', '', el, content)
@@ -1041,6 +1081,9 @@ L.U.DataLayer = L.Evented.extend({
1041
1081
  },
1042
1082
 
1043
1083
  toggle: function () {
1084
+ // From now on, do not try to how/hide
1085
+ // automatically this layer.
1086
+ this._forcedVisibility = true
1044
1087
  if (!this.isVisible()) this.show()
1045
1088
  else this.hide()
1046
1089
  },
@@ -160,6 +160,7 @@ L.U.MapPermissions = L.Class.extend({
160
160
  this.commit()
161
161
  this.isDirty = false
162
162
  this.map.continueSaving()
163
+ this.map.fire('postsync')
163
164
  },
164
165
  })
165
166
  },
@@ -194,4 +195,8 @@ L.U.MapPermissions = L.Class.extend({
194
195
  commit: function () {
195
196
  L.Util.extend(this.map.options.permissions, this.options)
196
197
  },
198
+
199
+ getShareStatusDisplay: function () {
200
+ return Object.fromEntries(this.map.options.share_statuses)[this.options.share_status]
201
+ }
197
202
  })
@@ -63,8 +63,8 @@ L.U.Popup.Panel = L.U.Popup.extend({
63
63
  return button
64
64
  },
65
65
 
66
- update: function () {
67
- this.feature.map.ui.openPanel({
66
+ onAdd: function (map) {
67
+ map.ui.openPanel({
68
68
  data: { html: this._content },
69
69
  actions: [this.allButton()],
70
70
  })
@@ -72,12 +72,9 @@ L.U.Popup.Panel = L.U.Popup.extend({
72
72
 
73
73
  onRemove: function (map) {
74
74
  map.ui.closePanel()
75
- L.U.Popup.prototype.onRemove.call(this, map)
76
75
  },
77
76
 
78
- _initLayout: function () {
79
- this._container = L.DomUtil.create('span')
80
- },
77
+ update: function () {},
81
78
  _updateLayout: function () {},
82
79
  _updatePosition: function () {},
83
80
  _adjustPan: function () {},
@@ -95,7 +95,8 @@ L.U.Xhr = L.Evented.extend({
95
95
  // 0 === request cut by user or CORS
96
96
  self.ui.alert({
97
97
  content: L._(
98
- 'Issue reaching that URL (network problem or CORS protection)'
98
+ 'Issue reaching that URL (network problem or CORS protection): {url}',
99
+ { url: settings.uri }
99
100
  ),
100
101
  level: 'error',
101
102
  })
@@ -164,7 +164,6 @@ const locale = {
164
164
  "Edit map settings": "የካርታውን ሁነቶች አርም",
165
165
  "Edit properties in a table": "በሰንጠረዡ ውስጥ ያሉትን ባህርያት አርም",
166
166
  "Edit this feature": "ይህንን ፊቸር አርም",
167
- "Editing": "በማረም ላይ",
168
167
  "Embed and share this map": "ይህንን ካርታ አካትት እና ሼር አድርግ",
169
168
  "Embed the map": "ካርታውን አካትት",
170
169
  "Empty": "ባዶ",
@@ -349,14 +348,10 @@ const locale = {
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,12 +388,24 @@ const locale = {
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
403
410
  L.registerLocale("am_ET", locale)
404
411
  L.setLocale("am_ET")
@@ -164,7 +164,6 @@
164
164
  "Edit map settings": "የካርታውን ሁነቶች አርም",
165
165
  "Edit properties in a table": "በሰንጠረዡ ውስጥ ያሉትን ባህርያት አርም",
166
166
  "Edit this feature": "ይህንን ፊቸር አርም",
167
- "Editing": "በማረም ላይ",
168
167
  "Embed and share this map": "ይህንን ካርታ አካትት እና ሼር አድርግ",
169
168
  "Embed the map": "ካርታውን አካትት",
170
169
  "Empty": "ባዶ",
@@ -349,14 +348,10 @@
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,10 +388,22 @@
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
@@ -164,7 +164,6 @@ const locale = {
164
164
  "Edit map settings": "Edit map settings",
165
165
  "Edit properties in a table": "Edit properties in a table",
166
166
  "Edit this feature": "Edit this feature",
167
- "Editing": "Editing",
168
167
  "Embed and share this map": "Embed and share this map",
169
168
  "Embed the map": "Embed the map",
170
169
  "Empty": "Empty",
@@ -349,14 +348,10 @@ const locale = {
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,12 +388,24 @@ const locale = {
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
403
410
  L.registerLocale("ar", locale)
404
411
  L.setLocale("ar")
@@ -164,7 +164,6 @@
164
164
  "Edit map settings": "Edit map settings",
165
165
  "Edit properties in a table": "Edit properties in a table",
166
166
  "Edit this feature": "Edit this feature",
167
- "Editing": "Editing",
168
167
  "Embed and share this map": "Embed and share this map",
169
168
  "Embed the map": "Embed the map",
170
169
  "Empty": "Empty",
@@ -349,14 +348,10 @@
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,10 +388,22 @@
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
@@ -164,7 +164,6 @@ const locale = {
164
164
  "Edit map settings": "Edit map settings",
165
165
  "Edit properties in a table": "Edit properties in a table",
166
166
  "Edit this feature": "Edit this feature",
167
- "Editing": "Editing",
168
167
  "Embed and share this map": "Embed and share this map",
169
168
  "Embed the map": "Embed the map",
170
169
  "Empty": "Empty",
@@ -349,14 +348,10 @@ const locale = {
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,12 +388,24 @@ const locale = {
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
403
410
  L.registerLocale("ast", locale)
404
411
  L.setLocale("ast")
@@ -164,7 +164,6 @@
164
164
  "Edit map settings": "Edit map settings",
165
165
  "Edit properties in a table": "Edit properties in a table",
166
166
  "Edit this feature": "Edit this feature",
167
- "Editing": "Editing",
168
167
  "Embed and share this map": "Embed and share this map",
169
168
  "Embed the map": "Embed the map",
170
169
  "Empty": "Empty",
@@ -349,14 +348,10 @@
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,10 +388,22 @@
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
@@ -164,7 +164,6 @@ const locale = {
164
164
  "Edit map settings": "Редактиране на настройките на картата",
165
165
  "Edit properties in a table": "Edit properties in a table",
166
166
  "Edit this feature": "Редактирайте тази характеристика",
167
- "Editing": "За редактиране",
168
167
  "Embed and share this map": "Вграждане и споделяне тази карта",
169
168
  "Embed the map": "Вграждане на карта",
170
169
  "Empty": "Празно",
@@ -349,14 +348,10 @@ const locale = {
349
348
  "Open current feature on load": "Open current feature on load",
350
349
  "Permalink": "Permalink",
351
350
  "The name of the property to use as feature unique identifier.": "The name of the property to use as feature unique identifier.",
352
- "Advanced filter keys": "Advanced filter keys",
353
- "Comma separated list of properties to use for checkbox filtering": "Comma separated list of properties to use for checkbox filtering",
354
- "Data filters": "Data filters",
355
351
  "Do you want to display caption menus?": "Do you want to display caption menus?",
356
352
  "Example: key1,key2,key3": "Example: key1,key2,key3",
357
353
  "Invalid latitude or longitude": "Invalid latitude or longitude",
358
354
  "Invalide property name: {name}": "Invalide property name: {name}",
359
- "No results for these filters": "No results for these filters",
360
355
  "Permanent credits": "Permanent credits",
361
356
  "Permanent credits background": "Permanent credits background",
362
357
  "Select data": "Select data",
@@ -393,12 +388,24 @@ const locale = {
393
388
  "Send me the link": "Send me the link",
394
389
  "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
395
390
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.",
396
- "Issue reaching that URL (network problem or CORS protection)": "Issue reaching that URL (network problem or CORS protection)",
397
391
  "Toggle edit mode (⇧+Click)": "Toggle edit mode (⇧+Click)",
398
392
  "icon opacity": "icon opacity",
399
393
  "*single star for italic*": "*single star for italic*",
400
394
  "--- for a horizontal rule": "--- for a horizontal rule",
401
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")"
395
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"{name} in {place}\")",
396
+ "Cancel all": "Cancel all",
397
+ "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)": "Comma separated list of properties to use for facet search (eg.: mykey,otherkey). To control label, add it after a | (eg.: mykey|My Key,otherkey|Other Key)",
398
+ "Default view": "Default view",
399
+ "Facet keys": "Facet keys",
400
+ "Facet search": "Facet search",
401
+ "Feature properties": "Feature properties",
402
+ "Issue reaching that URL (network problem or CORS protection): {url}": "Issue reaching that URL (network problem or CORS protection): {url}",
403
+ "Latest feature": "Latest feature",
404
+ "Layers bounds": "Layers bounds",
405
+ "No results for these facets": "No results for these facets",
406
+ "Saved center and zoom": "Saved center and zoom",
407
+ "User location": "User location",
408
+ "Visibility: {status}": "Visibility: {status}"
402
409
  }
403
410
  L.registerLocale("bg", locale)
404
411
  L.setLocale("bg")