Commit graph

1358 commits

Author SHA1 Message Date
Midgard
998fd4bd74
Add fire theme with hydrants 2021-05-01 14:24:59 +02:00
Midgard
915b8ba3d8
Only show heritage in Belgium
Because the choices are Belgium-specific
2021-05-01 14:10:19 +02:00
Midgard
4a3537f925 Improve camera direction description
Also show the direction=* tag in camera popup (it was already used for
the icon orientation).
2021-04-28 21:53:59 +02:00
Midgard
122acf8674 Fix issues with camera rotation
This commit fixes at least these issues that I was aware of:
* Cardinal directions (e.g. NE) were not recognized.
* The camera icon did not rotatie when direction=* was used instead of
  camera:direction, but the blue direction visualizer did.

Pietervdvn said he would have liked to convert the code for direction
normalizing to calculatedTags in a JSON file (as documented in
Docs/CalculatedTags.md), but when he saw the oneliners I had to produce
in response, I was allowed to keep it in SimpleMetaTagger.ts for now.
For your amusement, the oneliners are included below.

    "calculatedTags": [
      "_direction:numerical=(dir => dir === undefined ? undefined : ({N: 0, NNE: 22.5, NE: 45, ENE: 67.5, E: 90, ESE: 112.5, SE: 135, SSE: 157.5, S: 180, SSW: 202.5, SW: 225, WSW: 247.5, W: 270, WNW: 292.5, NW: 315, NNW: 337.5}[dir] ?? (isNaN(parseFloat(dir)) ? undefined : ((parseFloat(dir) % 360 + 360) % 360)))))(feat.properties['camera:direction'] ?? feat.properties.direction)",
      "_direction:leftright=feat.properties['_direction:numerical'] === undefined ? undefined : (feat.properties['_direction:numerical'] <= 180 ? 'right' : 'left')"
    ]
2021-04-28 17:21:06 +02:00
Midgard
a6a897b7a0 Fix and update hailhydrant source URLs 2021-04-28 17:21:06 +02:00
pietervdvn
1c413cd6cc Remove console.trace 2021-04-26 21:10:34 +02:00
pietervdvn
2bf6bac994 Only show woonerf-explantion on living-streets 2021-04-25 22:16:11 +02:00
pietervdvn
2900bdc784 Documentation improvement and warning cleanup 2021-04-25 16:01:46 +02:00
pietervdvn
6b9d0162eb Speelplekken style tweaks 2021-04-25 16:01:33 +02:00
pietervdvn
1f4b7b1254 Documentation updates 2021-04-25 16:00:25 +02:00
pietervdvn
7fa8d5efd0 Add release notes and theme creator name 2021-04-25 14:24:14 +02:00
pietervdvn
67d45e3b32 Version bump 2021-04-25 14:20:14 +02:00
pietervdvn
54f01ba554 Add metadata to query, move metatagging of metadata to metatagger, tweaks to the generate caching so that the cached data becomes more stable (and is GIT-friendlier) 2021-04-25 13:25:03 +02:00
pietervdvn
591ab349a6 Add LayerIndex convenience function 2021-04-25 13:23:27 +02:00
pietervdvn
0aad17e63c Add living_street explanation, tweaked zoom levels 2021-04-25 13:22:50 +02:00
pietervdvn
bd6da0fa04 Add new graphs 2021-04-25 12:08:27 +02:00
pietervdvn
7a91ae3c72 Merge branch 'master' of github.com:pietervdvn/MapComplete 2021-04-25 11:43:29 +02:00
pietervdvn
d2fa20ee91 Remove console.log, tweaks to zoomlevels 2021-04-23 20:27:01 +02:00
pietervdvn
f4dacab9ef Fix multilayer geojson source 2021-04-23 20:09:27 +02:00
pietervdvn
a6e3b41b1d Tweaks to the speelplekken-theme 2021-04-23 18:17:01 +02:00
pietervdvn
8c1861f98d Do not close the infobox when data is loaded... 2021-04-23 18:16:44 +02:00
pietervdvn
8a4e4a8ee6 Small asset tweaks 2021-04-23 17:28:23 +02:00
pietervdvn
3e3da25edb Small fixes 2021-04-23 17:22:01 +02:00
pietervdvn
5c0e3662c1 Move translation checks to the validation step 2021-04-23 16:52:20 +02:00
pietervdvn
127ad9c947 Small tweaks, better handling in case all goes wrong 2021-04-23 16:51:44 +02:00
pietervdvn
4d5a786e10 Add more artwork 2021-04-23 16:50:57 +02:00
pietervdvn
1a1477ca43 Add override-all option to layers 2021-04-23 16:50:07 +02:00
pietervdvn
a4f8559108 Clear authentication cookies if login fails, due to revoked tokens 2021-04-23 15:20:24 +02:00
pietervdvn
b2213751c3 Add some more missing translations, small tweaks to scripts 2021-04-23 13:56:16 +02:00
pietervdvn
9fc8a7136f Add license info, add some missing translations 2021-04-23 13:07:50 +02:00
pietervdvn
01608b8b65 Add logo 2021-04-23 12:59:38 +02:00
pietervdvn
20386b7c0b Styling tweaks for speelplekken theme 2021-04-23 12:59:09 +02:00
pietervdvn
bc26805d69 No more metadata file 2021-04-23 12:58:49 +02:00
pietervdvn
381705d87e Add margins to last changed rendering 2021-04-23 12:58:25 +02:00
pietervdvn
a3a9590352 Add name to changes feature source 2021-04-23 12:56:56 +02:00
pietervdvn
86dd93c593 Add mapillary button in the attribution 2021-04-23 12:56:33 +02:00
pietervdvn
141d4db028 Add names to feature sources, fix that old, cached geometries get changed when a newer version is loaded 2021-04-23 12:55:38 +02:00
pietervdvn
6234d26bac Remove ornaments 2021-04-23 12:54:26 +02:00
Pieter Vander Vennet
fef922c67d
Merge pull request #254 from matkoniecz/patch-1
fix double dot
2021-04-23 10:35:51 +02:00
Mateusz Konieczny
6e17a42a40
fix double dot 2021-04-23 10:29:08 +02:00
Pieter Vander Vennet
b90e660a43
Merge pull request #253 from matkoniecz/patch-2
assorted README fixes - typos etc
2021-04-23 10:10:15 +02:00
Mateusz Konieczny
7dc6ba7745
assorted README fixes - typos etc 2021-04-23 09:57:10 +02:00
Pieter Vander Vennet
7f125abaf3
Merge pull request #252 from matkoniecz/patch-1
link mentioned projects
2021-04-23 09:56:02 +02:00
Mateusz Konieczny
83b1284824
link mentioned projects 2021-04-23 09:54:00 +02:00
pietervdvn
c20e2def5b Load timestamp from geojson 2021-04-22 20:08:03 +02:00
pietervdvn
b5862ab8a9 Automatic docs update 2021-04-22 20:07:51 +02:00
pietervdvn
aea55cf474 Merge branch 'develop' 2021-04-22 16:39:26 +02:00
pietervdvn
b8f46f6b54 Small improvements to caching script 2021-04-22 16:01:43 +02:00
pietervdvn
0dec1d0f75 Refactoring of metatagging and extrafunctions to splice out the relation memberships, add calculatedTags and metatags into cache 2021-04-22 13:30:00 +02:00
pietervdvn
06842aebb0 Ad hailhydrant on prominent position 2021-04-22 03:57:50 +02:00