Commit graph

2534 commits

Author SHA1 Message Date
Yohan Boniface
2149fd35a3 Better help message for sortKey 2023-06-27 18:39:06 +02:00
David Larlet
14830b867b
Handle CORS errors with an explicit message
Fix #1026
2023-06-27 11:59:38 -04:00
Yohan Boniface
df90340937 Switch 24.png to 24.svg 2023-06-27 14:04:02 +02:00
Yohan Boniface
1a8c6c846b Allow to sort reverse
cf #698
2023-06-26 09:44:21 +02:00
Yohan Boniface
5b151296e2 Move browser tests to Controls.js with others 2023-06-26 09:40:11 +02:00
Yohan Boniface
4c5fb43720
Merge pull request #1171 from umap-project/fullscreen-link-querystring
Fullscreen link should reflect the user choices
2023-06-26 08:10:07 +02:00
Yohan Boniface
d8dc71affc Declare directly fullUrl as a const 2023-06-26 08:09:19 +02:00
Yohan Boniface
75326aa6ee Prevent from using an id when restoring a umap backup
cf #1042
2023-06-26 08:02:15 +02:00
Yohan Boniface
10af29d01c WIP 2023-06-26 07:25:40 +02:00
Yohan Boniface
05a029f261 Fullscreen link should reflect the user choices
But the scollWheelZoom that is forced to true.

fix #390
2023-06-24 11:23:38 +02:00
Yohan Boniface
001b79795a
Merge pull request #1168 from umap-project/invalid-latlng
Be more strict when coordinates are set manually
2023-06-23 21:03:55 +02:00
Yohan Boniface
c8f853cbaf prettier js 2023-06-23 21:02:54 +02:00
Yohan Boniface
93568d6da3 Quick doc about how to upgrade
fix #804
2023-06-23 18:44:06 +02:00
Yohan Boniface
fe80358fd5
Merge pull request #1170 from umap-project/natural-sort
More natural sort of features
2023-06-23 18:12:12 +02:00
Yohan Boniface
ec021c7d02 Move Map.renderShareBox to controls, for consistency 2023-06-23 18:09:35 +02:00
Yohan Boniface
21b6c2f034 More natural sort of features
fix #353

+ a bit of prettier noise, sorry
2023-06-23 18:03:03 +02:00
David Larlet
06cdb55a6c
Merge pull request #1164 from framasoft/fix-custom-templates-settings
🐛 — Fix UMAP_CUSTOM_TEMPLATES setting
2023-06-23 10:16:53 -04:00
Yohan Boniface
cf0c07b1b2
Merge pull request #1169 from umap-project/quick-delete
Add "delete" link in data browser
2023-06-23 15:29:09 +02:00
Yohan Boniface
bea0f441c3
Merge pull request #1160 from umap-project/smart-color
Allow to use properties as color value
2023-06-23 15:26:50 +02:00
Yohan Boniface
31f158abe1
Update umap/static/umap/js/umap.features.js
Co-authored-by: David Larlet <3556+davidbgk@users.noreply.github.com>
2023-06-23 15:26:00 +02:00
Yohan Boniface
c3aa2aeb30
Merge pull request #1162 from umap-project/link-target
Control links target
2023-06-23 15:25:34 +02:00
Yohan Boniface
b267615062 Remove unused vars 2023-06-23 15:24:50 +02:00
Yohan Boniface
1e96515669 Add "delete" link in data browser
fix #692
2023-06-23 14:53:07 +02:00
Yohan Boniface
98f4e69abb getSmartOption => getDynamicOption 2023-06-23 08:15:39 +02:00
Yohan Boniface
41f0c03af1
Merge pull request #1161 from umap-project/i18n-anonymous-url
Allow to set the lang while generating an anonymous_edit_url
2023-06-23 08:13:45 +02:00
Yohan Boniface
d16feca225
Merge pull request #1163 from umap-project/fix-1042
Pass options at datalayer creation when importing from umap file
2023-06-23 08:12:21 +02:00
Yohan Boniface
666fed3d9c Be more strict when coordinates are set manually
cf https://forum.openstreetmap.fr/t/impossible-de-charger-la-carte-carte-acteurs-naturels-batiment/15607/7
2023-06-23 08:07:49 +02:00
Yohan Boniface
74742fbfe8
Merge pull request #1166 from umap-project/locale-var
Expose 'locale' parameter in templates
2023-06-22 19:34:37 +02:00
Yohan Boniface
da1c0addbc Expose 'locale' parameter in templates
fix #183
2023-06-22 07:06:44 +02:00
Luc Didry
1adbadbd57
🐛 — Fix UMAP_CUSTOM_TEMPLATES setting 2023-06-21 13:55:41 +02:00
Yohan Boniface
e7d47b4ce5 Pass options at datalayer creation when importing from umap file
fix #1042

Until now, we create an empty datalayer (which has some defaults),
then we overwrite the options while calling fromGeoJSON method
2023-06-21 13:47:12 +02:00
Yohan Boniface
a1ec50ed8c Allow to define outlinkTarget at layer level 2023-06-21 12:24:29 +02:00
Yohan Boniface
3f8db1191f Allow to control popup links target 2023-06-21 12:19:01 +02:00
Yohan Boniface
2a04af162a Make outlink and outlinkTarget available for each feature
It was only for polygon until then.

cf #323
2023-06-21 12:00:34 +02:00
Yohan Boniface
48c27d56e4 Allow to set the lang while generating an anonymous_edit_url
fix #993
2023-06-21 10:48:29 +02:00
Yohan Boniface
d54d3aa514 Allow to use properties as color value
cf #858
2023-06-21 09:59:37 +02:00
Yohan Boniface
bbf4b72e07
Merge pull request #1158 from umap-project/filter-browsable
Advanced filter should not affect non browsable layers
2023-06-21 06:47:36 +02:00
Yohan Boniface
0aec986c10 Advanced filter should not affect non browsable layers 2023-06-20 21:57:35 +02:00
Yohan Boniface
1620c0567b Create DataLayer.renderLegend 2023-06-20 20:35:17 +02:00
Yohan Boniface
615498d3bf
Merge pull request #1151 from umap-project/ctrl-shift-click
Document Shift-Click and add Ctrl-Shift-click to edit datalayer
2023-06-20 20:24:50 +02:00
Yohan Boniface
2f4fe8a011 Uppercase "Click" 2023-06-20 20:22:17 +02:00
Yohan Boniface
12df0f757e Move L.U.Map.displayCaption to umap.controls.js
Let's be consistent, all other control like actions are there.
2023-06-20 20:21:00 +02:00
Yohan Boniface
3b466c2d19 Use + between keys in help texts 2023-06-20 20:12:38 +02:00
Yohan Boniface
be98f657aa
Merge pull request #1157 from umap-project/overflow-auto
Do not force scroll on popup content
2023-06-20 20:10:49 +02:00
Yohan Boniface
97fe3d7d20 Do not force scroll on popup content
fix #1152
2023-06-20 20:08:29 +02:00
Yohan Boniface
6642d4a4f4 Use ⇧ instead of Shift in help messages 2023-06-20 19:50:11 +02:00
Yohan Boniface
58cf784b7e Make ctrl-shift-click work on MacOS too 2023-06-20 19:15:57 +02:00
David Larlet
5ec7b3e49a
Merge pull request #1154 from umap-project/djlint
Linting and prettifying templates with djLint for consistency
2023-06-20 11:31:44 -04:00
David Larlet
5d38e02f52
Merge pull request #1155 from umap-project/font-display-swap
Set `font-display: swap;` for fonts definition
2023-06-20 11:23:37 -04:00
Yohan Boniface
db8c1f8699
Merge pull request #1153 from umap-project/version-stats
Expose version in /stats/ endpoint
2023-06-20 17:23:03 +02:00