umap-project 3.4.0b3__py3-none-any.whl → 3.6.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.
Files changed (222) 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/da/LC_MESSAGES/django.mo +0 -0
  5. umap/locale/da/LC_MESSAGES/django.po +18 -14
  6. umap/locale/de/LC_MESSAGES/django.mo +0 -0
  7. umap/locale/de/LC_MESSAGES/django.po +20 -16
  8. umap/locale/en/LC_MESSAGES/django.po +18 -14
  9. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  10. umap/locale/es/LC_MESSAGES/django.po +20 -16
  11. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  12. umap/locale/fr/LC_MESSAGES/django.po +18 -14
  13. umap/locale/hu/LC_MESSAGES/django.mo +0 -0
  14. umap/locale/hu/LC_MESSAGES/django.po +20 -16
  15. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  16. umap/locale/pl/LC_MESSAGES/django.po +101 -95
  17. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  18. umap/locale/zh_TW/LC_MESSAGES/django.po +20 -16
  19. umap/management/commands/clean_tilelayer.py +0 -1
  20. umap/management/commands/search_maps.py +95 -0
  21. umap/settings/__init__.py +9 -1
  22. umap/settings/base.py +7 -6
  23. umap/static/umap/content.css +0 -3
  24. umap/static/umap/css/bar.css +9 -6
  25. umap/static/umap/css/form.css +25 -9
  26. umap/static/umap/css/icon.css +8 -0
  27. umap/static/umap/css/popup.css +1 -0
  28. umap/static/umap/img/16-white.svg +5 -2
  29. umap/static/umap/img/16.svg +1 -1
  30. umap/static/umap/img/source/16-white.svg +7 -4
  31. umap/static/umap/img/source/16.svg +1 -1
  32. umap/static/umap/js/components/copiable.js +47 -0
  33. umap/static/umap/js/modules/autocomplete.js +32 -67
  34. umap/static/umap/js/modules/browser.js +31 -14
  35. umap/static/umap/js/modules/data/features.js +34 -36
  36. umap/static/umap/js/modules/data/fields.js +199 -23
  37. umap/static/umap/js/modules/data/layer.js +85 -96
  38. umap/static/umap/js/modules/domutils.js +25 -1
  39. umap/static/umap/js/modules/filters.js +24 -50
  40. umap/static/umap/js/modules/form/builder.js +17 -16
  41. umap/static/umap/js/modules/form/fields.js +20 -20
  42. umap/static/umap/js/modules/formatter.js +9 -1
  43. umap/static/umap/js/modules/help.js +12 -13
  44. umap/static/umap/js/modules/importer.js +17 -26
  45. umap/static/umap/js/modules/importers/banfr.js +0 -1
  46. umap/static/umap/js/modules/importers/cadastrefr.js +19 -19
  47. umap/static/umap/js/modules/importers/communesfr.js +7 -8
  48. umap/static/umap/js/modules/importers/datasets.js +14 -14
  49. umap/static/umap/js/modules/importers/geodatamine.js +20 -22
  50. umap/static/umap/js/modules/importers/opendata.js +10 -0
  51. umap/static/umap/js/modules/importers/overpass.js +19 -18
  52. umap/static/umap/js/modules/managers.js +1 -1
  53. umap/static/umap/js/modules/permissions.js +15 -5
  54. umap/static/umap/js/modules/rendering/controls.js +203 -10
  55. umap/static/umap/js/modules/rendering/icon.js +5 -9
  56. umap/static/umap/js/modules/rendering/layers/base.js +1 -1
  57. umap/static/umap/js/modules/rendering/layers/classified.js +16 -11
  58. umap/static/umap/js/modules/rendering/layers/heat.js +1 -0
  59. umap/static/umap/js/modules/rendering/map.js +67 -57
  60. umap/static/umap/js/modules/rendering/popup.js +6 -3
  61. umap/static/umap/js/modules/rendering/template.js +40 -40
  62. umap/static/umap/js/modules/rendering/ui.js +1 -2
  63. umap/static/umap/js/modules/rules.js +34 -41
  64. umap/static/umap/js/modules/schema.js +0 -7
  65. umap/static/umap/js/modules/share.js +36 -69
  66. umap/static/umap/js/modules/slideshow.js +3 -3
  67. umap/static/umap/js/modules/tableeditor.js +0 -1
  68. umap/static/umap/js/modules/ui/bar.js +53 -33
  69. umap/static/umap/js/modules/ui/hash.js +36 -0
  70. umap/static/umap/js/modules/ui/loader.js +26 -0
  71. umap/static/umap/js/modules/ui/panel.js +33 -21
  72. umap/static/umap/js/modules/ui/tooltip.js +1 -1
  73. umap/static/umap/js/modules/umap.js +81 -80
  74. umap/static/umap/js/modules/utils.js +13 -3
  75. umap/static/umap/js/umap.controls.js +16 -179
  76. umap/static/umap/locale/am_ET.js +7 -8
  77. umap/static/umap/locale/am_ET.json +7 -8
  78. umap/static/umap/locale/ar.js +7 -8
  79. umap/static/umap/locale/ar.json +7 -8
  80. umap/static/umap/locale/ast.js +7 -8
  81. umap/static/umap/locale/ast.json +7 -8
  82. umap/static/umap/locale/bg.js +7 -8
  83. umap/static/umap/locale/bg.json +7 -8
  84. umap/static/umap/locale/br.js +44 -36
  85. umap/static/umap/locale/br.json +44 -36
  86. umap/static/umap/locale/ca.js +7 -8
  87. umap/static/umap/locale/ca.json +7 -8
  88. umap/static/umap/locale/cs_CZ.js +7 -8
  89. umap/static/umap/locale/cs_CZ.json +7 -8
  90. umap/static/umap/locale/da.js +8 -9
  91. umap/static/umap/locale/da.json +8 -9
  92. umap/static/umap/locale/de.js +62 -63
  93. umap/static/umap/locale/de.json +62 -63
  94. umap/static/umap/locale/el.js +7 -8
  95. umap/static/umap/locale/el.json +7 -8
  96. umap/static/umap/locale/en.js +7 -8
  97. umap/static/umap/locale/en.json +7 -8
  98. umap/static/umap/locale/en_US.json +7 -8
  99. umap/static/umap/locale/es.js +19 -20
  100. umap/static/umap/locale/es.json +19 -20
  101. umap/static/umap/locale/et.js +7 -8
  102. umap/static/umap/locale/et.json +7 -8
  103. umap/static/umap/locale/eu.js +23 -24
  104. umap/static/umap/locale/eu.json +23 -24
  105. umap/static/umap/locale/fa_IR.js +7 -8
  106. umap/static/umap/locale/fa_IR.json +7 -8
  107. umap/static/umap/locale/fi.js +7 -8
  108. umap/static/umap/locale/fi.json +7 -8
  109. umap/static/umap/locale/fr.js +11 -12
  110. umap/static/umap/locale/fr.json +11 -12
  111. umap/static/umap/locale/gl.js +147 -148
  112. umap/static/umap/locale/gl.json +147 -148
  113. umap/static/umap/locale/he.js +7 -8
  114. umap/static/umap/locale/he.json +7 -8
  115. umap/static/umap/locale/hr.js +7 -8
  116. umap/static/umap/locale/hr.json +7 -8
  117. umap/static/umap/locale/hu.js +8 -9
  118. umap/static/umap/locale/hu.json +8 -9
  119. umap/static/umap/locale/id.js +7 -8
  120. umap/static/umap/locale/id.json +7 -8
  121. umap/static/umap/locale/is.js +7 -8
  122. umap/static/umap/locale/is.json +7 -8
  123. umap/static/umap/locale/it.js +7 -8
  124. umap/static/umap/locale/it.json +7 -8
  125. umap/static/umap/locale/ja.js +7 -8
  126. umap/static/umap/locale/ja.json +7 -8
  127. umap/static/umap/locale/ko.js +7 -8
  128. umap/static/umap/locale/ko.json +7 -8
  129. umap/static/umap/locale/lt.js +7 -8
  130. umap/static/umap/locale/lt.json +7 -8
  131. umap/static/umap/locale/ms.js +7 -8
  132. umap/static/umap/locale/ms.json +7 -8
  133. umap/static/umap/locale/nl.js +7 -8
  134. umap/static/umap/locale/nl.json +7 -8
  135. umap/static/umap/locale/no.js +7 -8
  136. umap/static/umap/locale/no.json +7 -8
  137. umap/static/umap/locale/pl.js +53 -54
  138. umap/static/umap/locale/pl.json +53 -54
  139. umap/static/umap/locale/pl_PL.json +7 -8
  140. umap/static/umap/locale/pt.js +7 -8
  141. umap/static/umap/locale/pt.json +7 -8
  142. umap/static/umap/locale/pt_BR.js +7 -8
  143. umap/static/umap/locale/pt_BR.json +7 -8
  144. umap/static/umap/locale/pt_PT.js +7 -8
  145. umap/static/umap/locale/pt_PT.json +7 -8
  146. umap/static/umap/locale/ro.js +7 -8
  147. umap/static/umap/locale/ro.json +7 -8
  148. umap/static/umap/locale/ru.js +7 -8
  149. umap/static/umap/locale/ru.json +7 -8
  150. umap/static/umap/locale/sk_SK.js +7 -8
  151. umap/static/umap/locale/sk_SK.json +7 -8
  152. umap/static/umap/locale/sl.js +7 -8
  153. umap/static/umap/locale/sl.json +7 -8
  154. umap/static/umap/locale/sr.js +7 -8
  155. umap/static/umap/locale/sr.json +7 -8
  156. umap/static/umap/locale/sv.js +7 -8
  157. umap/static/umap/locale/sv.json +7 -8
  158. umap/static/umap/locale/th_TH.js +7 -8
  159. umap/static/umap/locale/th_TH.json +7 -8
  160. umap/static/umap/locale/tr.js +7 -8
  161. umap/static/umap/locale/tr.json +7 -8
  162. umap/static/umap/locale/uk_UA.js +7 -8
  163. umap/static/umap/locale/uk_UA.json +7 -8
  164. umap/static/umap/locale/vi.js +7 -8
  165. umap/static/umap/locale/vi.json +7 -8
  166. umap/static/umap/locale/vi_VN.json +7 -8
  167. umap/static/umap/locale/zh.js +7 -8
  168. umap/static/umap/locale/zh.json +7 -8
  169. umap/static/umap/locale/zh_CN.json +7 -8
  170. umap/static/umap/locale/zh_TW.Big5.json +7 -8
  171. umap/static/umap/locale/zh_TW.js +20 -21
  172. umap/static/umap/locale/zh_TW.json +20 -21
  173. umap/static/umap/map.css +6 -21
  174. umap/static/umap/unittests/utils.js +7 -7
  175. umap/static/umap/vendors/locatecontrol/L.Control.Locate.esm.js +942 -0
  176. umap/static/umap/vendors/photon/leaflet.photon.esm.js +472 -0
  177. umap/sync/app.py +4 -1
  178. umap/templates/umap/content_footer.html +1 -0
  179. umap/templates/umap/css.html +0 -4
  180. umap/templates/umap/js.html +1 -8
  181. umap/templates/umap/team_form.html +2 -1
  182. umap/tests/integration/conftest.py +3 -2
  183. umap/tests/integration/test_anonymous_owned_map.py +1 -1
  184. umap/tests/integration/test_conditional_rules.py +106 -51
  185. umap/tests/integration/test_draw_polygon.py +4 -0
  186. umap/tests/integration/test_draw_polyline.py +11 -0
  187. umap/tests/integration/test_edit_datalayer.py +1 -1
  188. umap/tests/integration/test_edit_map.py +2 -0
  189. umap/tests/integration/test_fields.py +19 -0
  190. umap/tests/integration/test_filters.py +24 -0
  191. umap/tests/integration/test_iframe.py +1 -1
  192. umap/tests/integration/test_import.py +26 -0
  193. umap/tests/integration/test_map.py +3 -3
  194. umap/tests/integration/test_optimistic_merge.py +7 -1
  195. umap/tests/integration/test_owned_map.py +2 -2
  196. umap/tests/integration/test_popup.py +31 -0
  197. umap/tests/integration/test_remote_data.py +5 -5
  198. umap/tests/integration/test_search.py +41 -0
  199. umap/tests/integration/test_share.py +2 -2
  200. umap/tests/integration/test_team.py +1 -1
  201. umap/tests/integration/test_websocket_sync.py +6 -1
  202. umap/tests/test_search_maps_command.py +44 -0
  203. umap/tests/test_utils.py +4 -1
  204. umap/utils.py +10 -3
  205. umap/views.py +17 -4
  206. {umap_project-3.4.0b3.dist-info → umap_project-3.6.0.dist-info}/METADATA +29 -23
  207. {umap_project-3.4.0b3.dist-info → umap_project-3.6.0.dist-info}/RECORD +210 -214
  208. {umap_project-3.4.0b3.dist-info → umap_project-3.6.0.dist-info}/WHEEL +1 -1
  209. umap/static/umap/js/umap.core.js +0 -93
  210. umap/static/umap/vendors/editinosm/Leaflet.EditInOSM.css +0 -46
  211. umap/static/umap/vendors/editinosm/Leaflet.EditInOSM.js +0 -240
  212. umap/static/umap/vendors/editinosm/edit-in-osm.png +0 -0
  213. umap/static/umap/vendors/hash/leaflet-hash.js +0 -162
  214. umap/static/umap/vendors/loading/Control.Loading.css +0 -26
  215. umap/static/umap/vendors/loading/Control.Loading.js +0 -351
  216. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css +0 -1
  217. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.css.map +0 -1
  218. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js +0 -4
  219. umap/static/umap/vendors/locatecontrol/L.Control.Locate.min.js.map +0 -1
  220. umap/static/umap/vendors/photon/leaflet.photon.js +0 -487
  221. {umap_project-3.4.0b3.dist-info → umap_project-3.6.0.dist-info}/entry_points.txt +0 -0
  222. {umap_project-3.4.0b3.dist-info → umap_project-3.6.0.dist-info}/licenses/LICENSE +0 -0
@@ -99,13 +99,11 @@
99
99
  "Delete this vertex (Alt+Click)": "Delete this vertex (Alt+Click)",
100
100
  "Delete": "Delete",
101
101
  "description": "description",
102
- "Direct link": "Direct link",
103
102
  "Directions from here": "Directions from here",
104
103
  "Display label": "Display label",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "display name",
107
106
  "Display on load": "Display on load",
108
- "Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
109
107
  "Display the embed control": "Display the embed control",
110
108
  "Display the fullscreen control": "Display the fullscreen control",
111
109
  "Display the locate control": "Display the locate control",
@@ -135,7 +133,6 @@
135
133
  "Edit this feature": "Edit this feature",
136
134
  "Edit": "Edit",
137
135
  "Embed and link options": "Embed and link options",
138
- "Embed the map": "Embed the map",
139
136
  "Emoji & Character": "Emoji & Character",
140
137
  "Empty": "Empty",
141
138
  "Equidistant": "Equidistant",
@@ -165,7 +162,6 @@
165
162
  "Help": "Help",
166
163
  "hidden": "hidden",
167
164
  "Hide controls": "Hide controls",
168
- "Home": "Home",
169
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)",
170
166
  "icon opacity": "icon opacity",
171
167
  "Icon shape": "Icon shape",
@@ -239,7 +235,6 @@
239
235
  "No licence has been set": "No licence has been set",
240
236
  "No results": "No results",
241
237
  "no": "no",
242
- "No.": "No.",
243
238
  "None": "None",
244
239
  "Number of desired classes (default 5)": "Number of desired classes (default 5)",
245
240
  "On the bottom": "On the bottom",
@@ -252,7 +247,6 @@
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "Open link in…",
254
249
  "Open share & download panel": "Open share & download panel",
255
- "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",
256
250
  "OpenStreetMap": "OpenStreetMap",
257
251
  "Optional. Same as color if not set.": "Optional. Same as color if not set.",
258
252
  "Optional.": "Optional.",
@@ -295,7 +289,6 @@
295
289
  "settings": "settings",
296
290
  "Shape properties": "Shape properties",
297
291
  "Share and download": "Share and download",
298
- "Share this link to open a customized map view": "Share this link to open a customized map view",
299
292
  "Short credits": "Short credits",
300
293
  "Short link": "Short link",
301
294
  "Show this layer in the caption": "Show this layer in the caption",
@@ -650,5 +643,11 @@
650
643
  "List of values": "List of values",
651
644
  "Yes / No": "Yes / No",
652
645
  "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
646
+ "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap",
647
+ "All layers": "All layers",
648
+ "Comma separated list of values": "Comma separated list of values",
649
+ "Share": "Share",
650
+ "Customized link": "Customized link",
651
+ "Iframe": "Iframe",
652
+ "№": "№"
654
653
  }
@@ -99,13 +99,11 @@ const locale = {
99
99
  "Delete this vertex (Alt+Click)": "Delete this vertex (Alt+Click)",
100
100
  "Delete": "删除",
101
101
  "description": "描述",
102
- "Direct link": "Direct link",
103
102
  "Directions from here": "方向",
104
103
  "Display label": "Display label",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "显示名称",
107
106
  "Display on load": "加载时显示",
108
- "Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
109
107
  "Display the embed control": "Display the embed control",
110
108
  "Display the fullscreen control": "Display the fullscreen control",
111
109
  "Display the locate control": "Display the locate control",
@@ -135,7 +133,6 @@ const locale = {
135
133
  "Edit this feature": "编辑该要素",
136
134
  "Edit": "编辑",
137
135
  "Embed and link options": "Embed and link options",
138
- "Embed the map": "嵌入地图",
139
136
  "Emoji & Character": "Emoji & Character",
140
137
  "Empty": "空",
141
138
  "Equidistant": "Equidistant",
@@ -165,7 +162,6 @@ const locale = {
165
162
  "Help": "帮助",
166
163
  "hidden": "hidden",
167
164
  "Hide controls": "隐藏控件",
168
- "Home": "Home",
169
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)",
170
166
  "icon opacity": "icon opacity",
171
167
  "Icon shape": "Icon shape",
@@ -239,7 +235,6 @@ const locale = {
239
235
  "No licence has been set": "No licence has been set",
240
236
  "No results": "No results",
241
237
  "no": "否",
242
- "No.": "No.",
243
238
  "None": "空",
244
239
  "Number of desired classes (default 5)": "Number of desired classes (default 5)",
245
240
  "On the bottom": "On the bottom",
@@ -252,7 +247,6 @@ const locale = {
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "Open link in…",
254
249
  "Open share & download panel": "Open share & download panel",
255
- "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",
256
250
  "OpenStreetMap": "OpenStreetMap",
257
251
  "Optional. Same as color if not set.": "Optional. Same as color if not set.",
258
252
  "Optional.": "Optional.",
@@ -295,7 +289,6 @@ const locale = {
295
289
  "settings": "settings",
296
290
  "Shape properties": "Shape properties",
297
291
  "Share and download": "Share and download",
298
- "Share this link to open a customized map view": "Share this link to open a customized map view",
299
292
  "Short credits": "Short credits",
300
293
  "Short link": "Short link",
301
294
  "Show this layer in the caption": "Show this layer in the caption",
@@ -650,7 +643,13 @@ const locale = {
650
643
  "List of values": "List of values",
651
644
  "Yes / No": "Yes / No",
652
645
  "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
646
+ "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap",
647
+ "All layers": "All layers",
648
+ "Comma separated list of values": "Comma separated list of values",
649
+ "Share": "Share",
650
+ "Customized link": "Customized link",
651
+ "Iframe": "Iframe",
652
+ "№": "№"
654
653
  }
655
654
  L.registerLocale("zh", locale)
656
655
  L.setLocale("zh")
@@ -99,13 +99,11 @@
99
99
  "Delete this vertex (Alt+Click)": "Delete this vertex (Alt+Click)",
100
100
  "Delete": "删除",
101
101
  "description": "描述",
102
- "Direct link": "Direct link",
103
102
  "Directions from here": "方向",
104
103
  "Display label": "Display label",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "显示名称",
107
106
  "Display on load": "加载时显示",
108
- "Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
109
107
  "Display the embed control": "Display the embed control",
110
108
  "Display the fullscreen control": "Display the fullscreen control",
111
109
  "Display the locate control": "Display the locate control",
@@ -135,7 +133,6 @@
135
133
  "Edit this feature": "编辑该要素",
136
134
  "Edit": "编辑",
137
135
  "Embed and link options": "Embed and link options",
138
- "Embed the map": "嵌入地图",
139
136
  "Emoji & Character": "Emoji & Character",
140
137
  "Empty": "空",
141
138
  "Equidistant": "Equidistant",
@@ -165,7 +162,6 @@
165
162
  "Help": "帮助",
166
163
  "hidden": "hidden",
167
164
  "Hide controls": "隐藏控件",
168
- "Home": "Home",
169
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)",
170
166
  "icon opacity": "icon opacity",
171
167
  "Icon shape": "Icon shape",
@@ -239,7 +235,6 @@
239
235
  "No licence has been set": "No licence has been set",
240
236
  "No results": "No results",
241
237
  "no": "否",
242
- "No.": "No.",
243
238
  "None": "空",
244
239
  "Number of desired classes (default 5)": "Number of desired classes (default 5)",
245
240
  "On the bottom": "On the bottom",
@@ -252,7 +247,6 @@
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "Open link in…",
254
249
  "Open share & download panel": "Open share & download panel",
255
- "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",
256
250
  "OpenStreetMap": "OpenStreetMap",
257
251
  "Optional. Same as color if not set.": "Optional. Same as color if not set.",
258
252
  "Optional.": "Optional.",
@@ -295,7 +289,6 @@
295
289
  "settings": "settings",
296
290
  "Shape properties": "Shape properties",
297
291
  "Share and download": "Share and download",
298
- "Share this link to open a customized map view": "Share this link to open a customized map view",
299
292
  "Short credits": "Short credits",
300
293
  "Short link": "Short link",
301
294
  "Show this layer in the caption": "Show this layer in the caption",
@@ -650,5 +643,11 @@
650
643
  "List of values": "List of values",
651
644
  "Yes / No": "Yes / No",
652
645
  "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
646
+ "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap",
647
+ "All layers": "All layers",
648
+ "Comma separated list of values": "Comma separated list of values",
649
+ "Share": "Share",
650
+ "Customized link": "Customized link",
651
+ "Iframe": "Iframe",
652
+ "№": "№"
654
653
  }
@@ -99,13 +99,11 @@
99
99
  "Delete this vertex (Alt+Click)": "Delete this vertex (Alt+Click)",
100
100
  "Delete": "Delete",
101
101
  "description": "description",
102
- "Direct link": "Direct link",
103
102
  "Directions from here": "Directions from here",
104
103
  "Display label": "Display label",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "display name",
107
106
  "Display on load": "Display on load",
108
- "Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
109
107
  "Display the embed control": "Display the embed control",
110
108
  "Display the fullscreen control": "Display the fullscreen control",
111
109
  "Display the locate control": "Display the locate control",
@@ -135,7 +133,6 @@
135
133
  "Edit this feature": "Edit this feature",
136
134
  "Edit": "Edit",
137
135
  "Embed and link options": "Embed and link options",
138
- "Embed the map": "Embed the map",
139
136
  "Emoji & Character": "Emoji & Character",
140
137
  "Empty": "Empty",
141
138
  "Equidistant": "Equidistant",
@@ -165,7 +162,6 @@
165
162
  "Help": "Help",
166
163
  "hidden": "hidden",
167
164
  "Hide controls": "Hide controls",
168
- "Home": "Home",
169
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)",
170
166
  "icon opacity": "icon opacity",
171
167
  "Icon shape": "Icon shape",
@@ -239,7 +235,6 @@
239
235
  "No licence has been set": "No licence has been set",
240
236
  "No results": "No results",
241
237
  "no": "no",
242
- "No.": "No.",
243
238
  "None": "None",
244
239
  "Number of desired classes (default 5)": "Number of desired classes (default 5)",
245
240
  "On the bottom": "On the bottom",
@@ -252,7 +247,6 @@
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "Open link in…",
254
249
  "Open share & download panel": "Open share & download panel",
255
- "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",
256
250
  "OpenStreetMap": "OpenStreetMap",
257
251
  "Optional. Same as color if not set.": "Optional. Same as color if not set.",
258
252
  "Optional.": "Optional.",
@@ -295,7 +289,6 @@
295
289
  "settings": "settings",
296
290
  "Shape properties": "Shape properties",
297
291
  "Share and download": "Share and download",
298
- "Share this link to open a customized map view": "Share this link to open a customized map view",
299
292
  "Short credits": "Short credits",
300
293
  "Short link": "Short link",
301
294
  "Show this layer in the caption": "Show this layer in the caption",
@@ -650,5 +643,11 @@
650
643
  "List of values": "List of values",
651
644
  "Yes / No": "Yes / No",
652
645
  "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
646
+ "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap",
647
+ "All layers": "All layers",
648
+ "Comma separated list of values": "Comma separated list of values",
649
+ "Share": "Share",
650
+ "Customized link": "Customized link",
651
+ "Iframe": "Iframe",
652
+ "№": "№"
654
653
  }
@@ -99,13 +99,11 @@
99
99
  "Delete this vertex (Alt+Click)": "Delete this vertex (Alt+Click)",
100
100
  "Delete": "Delete",
101
101
  "description": "description",
102
- "Direct link": "Direct link",
103
102
  "Directions from here": "Directions from here",
104
103
  "Display label": "Display label",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "display name",
107
106
  "Display on load": "Display on load",
108
- "Display the control to open OpenStreetMap editor": "Display the control to open OpenStreetMap editor",
109
107
  "Display the embed control": "Display the embed control",
110
108
  "Display the fullscreen control": "Display the fullscreen control",
111
109
  "Display the locate control": "Display the locate control",
@@ -135,7 +133,6 @@
135
133
  "Edit this feature": "Edit this feature",
136
134
  "Edit": "Edit",
137
135
  "Embed and link options": "Embed and link options",
138
- "Embed the map": "Embed the map",
139
136
  "Emoji & Character": "Emoji & Character",
140
137
  "Empty": "Empty",
141
138
  "Equidistant": "Equidistant",
@@ -165,7 +162,6 @@
165
162
  "Help": "Help",
166
163
  "hidden": "hidden",
167
164
  "Hide controls": "Hide controls",
168
- "Home": "Home",
169
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)",
170
166
  "icon opacity": "icon opacity",
171
167
  "Icon shape": "Icon shape",
@@ -239,7 +235,6 @@
239
235
  "No licence has been set": "No licence has been set",
240
236
  "No results": "No results",
241
237
  "no": "no",
242
- "No.": "No.",
243
238
  "None": "None",
244
239
  "Number of desired classes (default 5)": "Number of desired classes (default 5)",
245
240
  "On the bottom": "On the bottom",
@@ -252,7 +247,6 @@
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "Open link in…",
254
249
  "Open share & download panel": "Open share & download panel",
255
- "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",
256
250
  "OpenStreetMap": "OpenStreetMap",
257
251
  "Optional. Same as color if not set.": "Optional. Same as color if not set.",
258
252
  "Optional.": "Optional.",
@@ -295,7 +289,6 @@
295
289
  "settings": "settings",
296
290
  "Shape properties": "Shape properties",
297
291
  "Share and download": "Share and download",
298
- "Share this link to open a customized map view": "Share this link to open a customized map view",
299
292
  "Short credits": "Short credits",
300
293
  "Short link": "Short link",
301
294
  "Show this layer in the caption": "Show this layer in the caption",
@@ -650,5 +643,11 @@
650
643
  "List of values": "List of values",
651
644
  "Yes / No": "Yes / No",
652
645
  "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
646
+ "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap",
647
+ "All layers": "All layers",
648
+ "Comma separated list of values": "Comma separated list of values",
649
+ "Share": "Share",
650
+ "Customized link": "Customized link",
651
+ "Iframe": "Iframe",
652
+ "№": "№"
654
653
  }
@@ -70,7 +70,7 @@ const locale = {
70
70
  "color": "色彩",
71
71
  "Comma separated list of numbers, including min and max values.": "用逗號分隔數字,包括最小與最大值。",
72
72
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "用逗號分隔屬性清單來排序圖徵。要保存排序,在槊面加上減號 (-1),例如 mykey,-otherkey。",
73
- "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the beginning of the header, case insensitive. All other column are imported as properties.": "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the beginning of the header, case insensitive. All other column are imported as properties.",
73
+ "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the beginning of the header, case insensitive. All other column are imported as properties.": "使用逗號、定位鍵或是分號分隔的地理數據。預設座標系為 SRS WGS84。只會匯入地理座標點。匯入時抓取 «lat» «lon» 開頭的欄位資料,不分大小寫。其他欄位則歸入屬性資料。",
74
74
  "Congratulations, your map has been created!": "恭喜您的地圖已經新增完成",
75
75
  "Continue line": "連續線段",
76
76
  "Coordinates": "座標",
@@ -99,13 +99,11 @@ const locale = {
99
99
  "Delete this vertex (Alt+Click)": "刪除頂點 (Alt+Click)",
100
100
  "Delete": "刪除",
101
101
  "description": "描述",
102
- "Direct link": "直接連結",
103
102
  "Directions from here": "從此處開始導航",
104
103
  "Display label": "顯示標籤",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "顯示名稱",
107
106
  "Display on load": "載入時顯示",
108
- "Display the control to open OpenStreetMap editor": "顯示開啟開放街圖編輯器的按鍵",
109
107
  "Display the embed control": "顯示嵌入鍵",
110
108
  "Display the fullscreen control": "顯示全螢幕鍵",
111
109
  "Display the locate control": "顯示定位鍵",
@@ -135,7 +133,6 @@ const locale = {
135
133
  "Edit this feature": "編輯此圖徵",
136
134
  "Edit": "編輯",
137
135
  "Embed and link options": "嵌入與連結選項",
138
- "Embed the map": "嵌入地圖",
139
136
  "Emoji & Character": "表情符號和字元",
140
137
  "Empty": "空白",
141
138
  "Equidistant": "等距",
@@ -165,7 +162,6 @@ const locale = {
165
162
  "Help": "幫助",
166
163
  "hidden": "隱藏",
167
164
  "Hide controls": "隱藏控制列",
168
- "Home": "首頁",
169
165
  "How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "在不同縮放比例下,多邊形的精簡程度 (精簡越多有較好的效率、多邊形越平滑,精簡越少圖形越精確)",
170
166
  "icon opacity": "圖示透明度",
171
167
  "Icon shape": "圖示圖形",
@@ -239,7 +235,6 @@ const locale = {
239
235
  "No licence has been set": "尚未設定授權條例",
240
236
  "No results": "沒有結果",
241
237
  "no": "否",
242
- "No.": "無。",
243
238
  "None": "以上皆非",
244
239
  "Number of desired classes (default 5)": "偏好的類別數量 (預設為 5)",
245
240
  "On the bottom": "在底部",
@@ -252,7 +247,6 @@ const locale = {
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "開啓連結於...",
254
249
  "Open share & download panel": "開啟分享與下載面板",
255
- "Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "在地圖編輯器中打開此地圖,提供更多準確資料給 OpenStreetMap",
256
250
  "OpenStreetMap": "開放街圖",
257
251
  "Optional. Same as color if not set.": "可選,若您未選取顏色,則採用預設值",
258
252
  "Optional.": "可選",
@@ -295,7 +289,6 @@ const locale = {
295
289
  "settings": "設定",
296
290
  "Shape properties": "形狀屬性",
297
291
  "Share and download": "分享與下載",
298
- "Share this link to open a customized map view": "分享這連結來開啟客製化地圖檢視",
299
292
  "Short credits": "簡短工作人員名單",
300
293
  "Short link": "短網址",
301
294
  "Show this layer in the caption": "在標題顯示此圖層",
@@ -623,7 +616,7 @@ const locale = {
623
616
  "[key=\"value\"][key2=\"value2\"] (eg. [boundary=\"educational\"][name=\"Académie de Lyon\"])": "[key=\"value\"][key2=\"value2\"] (eg. [boundary=\"educational\"][name=\"Académie de Lyon\"])",
624
617
  "Field Name": "欄位名稱",
625
618
  "Field Type": "欄位類型",
626
- "Manage field": "管理篩選",
619
+ "Manage field": "管理欄位",
627
620
  "Add filter for this field": "新增篩選到這一欄位",
628
621
  "Name cannot be empty.": "名稱無法是空白的。",
629
622
  "Are you sure you want to delete this field on all the data?": "你確定要刪除所有資料當中的這個欄位?",
@@ -639,18 +632,24 @@ const locale = {
639
632
  "See on Wikipedia": "在維基百科上檢視",
640
633
  "Anonymous map: update who can see and edit it": "暱名地圖,任何人都可以檢視與編輯",
641
634
  "Login": "登入",
642
- "Manage filters": "Manage filters",
643
- "Map (all layers)": "Map (all layers)",
644
- "Add a filter for this field": "Add a filter for this field",
645
- "Short text": "Short text",
646
- "Text": "Text",
647
- "Number": "Number",
648
- "Date": "Date",
649
- "Date and time": "Date and time",
650
- "List of values": "List of values",
651
- "Yes / No": "Yes / No",
652
- "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
635
+ "Manage filters": "管理篩選",
636
+ "Map (all layers)": "地圖 (所有圖層)",
637
+ "Add a filter for this field": "新增篩選到這欄位",
638
+ "Short text": "簡短文字",
639
+ "Text": "文字",
640
+ "Number": "數值",
641
+ "Date": "日期",
642
+ "Date and time": "日期與時間",
643
+ "List of values": "變數列表",
644
+ "Yes / No": " / ",
645
+ "Select field to compute intensity": "選擇欄位運算強度",
646
+ "Optional intensity field to compute heatmap": "選擇性強度欄位來計算熱力圖",
647
+ "All layers": "所有圖層",
648
+ "Comma separated list of values": "逗號分隔清單的值",
649
+ "Share": "分享",
650
+ "Customized link": "自訂連結",
651
+ "Iframe": "內崁頁面",
652
+ "№": "№"
654
653
  }
655
654
  L.registerLocale("zh_TW", locale)
656
655
  L.setLocale("zh_TW")
@@ -70,7 +70,7 @@
70
70
  "color": "色彩",
71
71
  "Comma separated list of numbers, including min and max values.": "用逗號分隔數字,包括最小與最大值。",
72
72
  "Comma separated list of properties to use for sorting features. To reverse the sort, put a minus sign (-) before. Eg. mykey,-otherkey.": "用逗號分隔屬性清單來排序圖徵。要保存排序,在槊面加上減號 (-1),例如 mykey,-otherkey。",
73
- "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the beginning of the header, case insensitive. All other column are imported as properties.": "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the beginning of the header, case insensitive. All other column are imported as properties.",
73
+ "Comma, tab or semi-colon separated values. SRS WGS84 is implied. Only Point geometries are imported. The import will look at the column headers for any mention of «lat» and «lon» at the beginning of the header, case insensitive. All other column are imported as properties.": "使用逗號、定位鍵或是分號分隔的地理數據。預設座標系為 SRS WGS84。只會匯入地理座標點。匯入時抓取 «lat» «lon» 開頭的欄位資料,不分大小寫。其他欄位則歸入屬性資料。",
74
74
  "Congratulations, your map has been created!": "恭喜您的地圖已經新增完成",
75
75
  "Continue line": "連續線段",
76
76
  "Coordinates": "座標",
@@ -99,13 +99,11 @@
99
99
  "Delete this vertex (Alt+Click)": "刪除頂點 (Alt+Click)",
100
100
  "Delete": "刪除",
101
101
  "description": "描述",
102
- "Direct link": "直接連結",
103
102
  "Directions from here": "從此處開始導航",
104
103
  "Display label": "顯示標籤",
105
104
  "Display measure": "Display measure",
106
105
  "display name": "顯示名稱",
107
106
  "Display on load": "載入時顯示",
108
- "Display the control to open OpenStreetMap editor": "顯示開啟開放街圖編輯器的按鍵",
109
107
  "Display the embed control": "顯示嵌入鍵",
110
108
  "Display the fullscreen control": "顯示全螢幕鍵",
111
109
  "Display the locate control": "顯示定位鍵",
@@ -135,7 +133,6 @@
135
133
  "Edit this feature": "編輯此圖徵",
136
134
  "Edit": "編輯",
137
135
  "Embed and link options": "嵌入與連結選項",
138
- "Embed the map": "嵌入地圖",
139
136
  "Emoji & Character": "表情符號和字元",
140
137
  "Empty": "空白",
141
138
  "Equidistant": "等距",
@@ -165,7 +162,6 @@
165
162
  "Help": "幫助",
166
163
  "hidden": "隱藏",
167
164
  "Hide controls": "隱藏控制列",
168
- "Home": "首頁",
169
165
  "How much to simplify the polyline on each zoom level (more = better performance and smoother look, less = more accurate)": "在不同縮放比例下,多邊形的精簡程度 (精簡越多有較好的效率、多邊形越平滑,精簡越少圖形越精確)",
170
166
  "icon opacity": "圖示透明度",
171
167
  "Icon shape": "圖示圖形",
@@ -239,7 +235,6 @@
239
235
  "No licence has been set": "尚未設定授權條例",
240
236
  "No results": "沒有結果",
241
237
  "no": "否",
242
- "No.": "無。",
243
238
  "None": "以上皆非",
244
239
  "Number of desired classes (default 5)": "偏好的類別數量 (預設為 5)",
245
240
  "On the bottom": "在底部",
@@ -252,7 +247,6 @@
252
247
  "Open current feature on load": "Open current feature on load",
253
248
  "Open link in…": "開啓連結於...",
254
249
  "Open share & download panel": "開啟分享與下載面板",
255
- "Open this map extent in a map editor to provide more accurate data to OpenStreetMap": "在地圖編輯器中打開此地圖,提供更多準確資料給 OpenStreetMap",
256
250
  "OpenStreetMap": "開放街圖",
257
251
  "Optional. Same as color if not set.": "可選,若您未選取顏色,則採用預設值",
258
252
  "Optional.": "可選",
@@ -295,7 +289,6 @@
295
289
  "settings": "設定",
296
290
  "Shape properties": "形狀屬性",
297
291
  "Share and download": "分享與下載",
298
- "Share this link to open a customized map view": "分享這連結來開啟客製化地圖檢視",
299
292
  "Short credits": "簡短工作人員名單",
300
293
  "Short link": "短網址",
301
294
  "Show this layer in the caption": "在標題顯示此圖層",
@@ -623,7 +616,7 @@
623
616
  "[key=\"value\"][key2=\"value2\"] (eg. [boundary=\"educational\"][name=\"Académie de Lyon\"])": "[key=\"value\"][key2=\"value2\"] (eg. [boundary=\"educational\"][name=\"Académie de Lyon\"])",
624
617
  "Field Name": "欄位名稱",
625
618
  "Field Type": "欄位類型",
626
- "Manage field": "管理篩選",
619
+ "Manage field": "管理欄位",
627
620
  "Add filter for this field": "新增篩選到這一欄位",
628
621
  "Name cannot be empty.": "名稱無法是空白的。",
629
622
  "Are you sure you want to delete this field on all the data?": "你確定要刪除所有資料當中的這個欄位?",
@@ -639,16 +632,22 @@
639
632
  "See on Wikipedia": "在維基百科上檢視",
640
633
  "Anonymous map: update who can see and edit it": "暱名地圖,任何人都可以檢視與編輯",
641
634
  "Login": "登入",
642
- "Manage filters": "Manage filters",
643
- "Map (all layers)": "Map (all layers)",
644
- "Add a filter for this field": "Add a filter for this field",
645
- "Short text": "Short text",
646
- "Text": "Text",
647
- "Number": "Number",
648
- "Date": "Date",
649
- "Date and time": "Date and time",
650
- "List of values": "List of values",
651
- "Yes / No": "Yes / No",
652
- "Select field to compute intensity": "Select field to compute intensity",
653
- "Optional intensity field to compute heatmap": "Optional intensity field to compute heatmap"
635
+ "Manage filters": "管理篩選",
636
+ "Map (all layers)": "地圖 (所有圖層)",
637
+ "Add a filter for this field": "新增篩選到這欄位",
638
+ "Short text": "簡短文字",
639
+ "Text": "文字",
640
+ "Number": "數值",
641
+ "Date": "日期",
642
+ "Date and time": "日期與時間",
643
+ "List of values": "變數列表",
644
+ "Yes / No": " / ",
645
+ "Select field to compute intensity": "選擇欄位運算強度",
646
+ "Optional intensity field to compute heatmap": "選擇性強度欄位來計算熱力圖",
647
+ "All layers": "所有圖層",
648
+ "Comma separated list of values": "逗號分隔清單的值",
649
+ "Share": "分享",
650
+ "Customized link": "自訂連結",
651
+ "Iframe": "內崁頁面",
652
+ "№": "№"
654
653
  }
umap/static/umap/map.css CHANGED
@@ -155,7 +155,6 @@ html[dir="rtl"] .leaflet-tooltip-pane>* {
155
155
  }
156
156
 
157
157
  .leaflet-measure-control a,
158
- .leaflet-control-locate a,
159
158
  .umap-control a,
160
159
  .umap-control [type="button"] {
161
160
  display: block;
@@ -168,8 +167,7 @@ html[dir="rtl"] .leaflet-tooltip-pane>* {
168
167
  padding: 0;
169
168
  }
170
169
 
171
- .leaflet-measure-control a,
172
- .leaflet-control-locate a {
170
+ .leaflet-measure-control a{
173
171
  background-position: 50% 50%;
174
172
  background-repeat: no-repeat;
175
173
  background-image: url('./img/24.svg');
@@ -205,16 +203,6 @@ html[dir="rtl"] .leaflet-tooltip-pane>* {
205
203
  background-position: -122px -82px;
206
204
  }
207
205
 
208
- .leaflet-control-locate a {
209
- background-position: 0 -108px;
210
- }
211
-
212
- .leaflet-control-locate.active a,
213
- .leaflet-control-locate.requesting a {
214
- background-position: -72px -144px;
215
- box-shadow: 0 0 4px 0 black inset;
216
- }
217
-
218
206
  .leaflet-control-search [type="button"] {
219
207
  background-position: -36px -108px;
220
208
  display: block;
@@ -420,6 +408,11 @@ ul.photon-autocomplete {
420
408
  /* ***************************** */
421
409
  /* Share and download panel */
422
410
  /* ***************************** */
411
+ .downloads {
412
+ columns: 4;
413
+ margin-bottom: var(--box-margin);
414
+ }
415
+
423
416
  .downloads li {
424
417
  height: 1.7em;
425
418
  padding: 0;
@@ -427,10 +420,6 @@ ul.photon-autocomplete {
427
420
  vertical-align: bottom;
428
421
  }
429
422
 
430
- .vspace {
431
- height: 32px;
432
- }
433
-
434
423
  /* *********** */
435
424
  /* Draw */
436
425
  /* *********** */
@@ -492,10 +481,6 @@ ul.photon-autocomplete {
492
481
  vertical-align: middle;
493
482
  }
494
483
 
495
- .leaflet-control-locate-location circle {
496
- animation: none;
497
- }
498
-
499
484
 
500
485
 
501
486
  /* ********************************* */