Commit Graph

1370 Commits

Author SHA1 Message Date
Midgard 6cf0ca9fb6
Recognize fire_hydrant:position=cycleway but don't ask question 2021-06-06 18:33:32 +02:00
Midgard 89e8439f77
Remove trailing newline 2021-06-06 18:32:29 +02:00
Midgard 801c6f2c9d
Disable clustering for hydrants 2021-06-06 18:31:57 +02:00
Midgard 31baca7920
Add license info for fire hydrants layer 2021-05-01 14:36:08 +02:00
Midgard 394baa3eed
Reword "marker at removed hydrant" in Dutch 2021-05-01 14:35:42 +02:00
Midgard 3b757a29c7
Fine-tune conditions and marker stuff 2021-05-01 14:33:36 +02:00
Midgard f98780fac4
Add more icons in question answers, tweak icon size 2021-05-01 14:33:03 +02:00
Midgard 15a91e27ab
Make hydrant icons appear larger, add icon in header 2021-05-01 14:32:28 +02:00
Midgard 54a8b5536c
Improve "problem" icons 2021-05-01 14:31:24 +02:00
Midgard 8bdd2b2151
Finetune hydrant questions 2021-05-01 14:31:22 +02:00
Midgard ed56c1b1e1
Improve icons, use black border 2021-05-01 14:29:04 +02:00
Midgard d527189783
Work on fire hydrants layer 2021-05-01 14:28:55 +02:00
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