Commit graph

520 commits

Author SHA1 Message Date
3dcd53f751 Automated documentation updates 2021-05-03 17:48:15 +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
2bf6bac994 Only show woonerf-explantion on living-streets 2021-04-25 22:16:11 +02:00
6b9d0162eb Speelplekken style tweaks 2021-04-25 16:01:33 +02:00
7fa8d5efd0 Add release notes and theme creator name 2021-04-25 14:24:14 +02:00
0aad17e63c Add living_street explanation, tweaked zoom levels 2021-04-25 13:22:50 +02:00
7a91ae3c72 Merge branch 'master' of github.com:pietervdvn/MapComplete 2021-04-25 11:43:29 +02:00
d2fa20ee91 Remove console.log, tweaks to zoomlevels 2021-04-23 20:27:01 +02:00
f4dacab9ef Fix multilayer geojson source 2021-04-23 20:09:27 +02:00
a6e3b41b1d Tweaks to the speelplekken-theme 2021-04-23 18:17:01 +02:00
8a4e4a8ee6 Small asset tweaks 2021-04-23 17:28:23 +02:00
3e3da25edb Small fixes 2021-04-23 17:22:01 +02:00
4d5a786e10 Add more artwork 2021-04-23 16:50:57 +02:00
b2213751c3 Add some more missing translations, small tweaks to scripts 2021-04-23 13:56:16 +02:00
9fc8a7136f Add license info, add some missing translations 2021-04-23 13:07:50 +02:00
01608b8b65 Add logo 2021-04-23 12:59:38 +02:00
20386b7c0b Styling tweaks for speelplekken theme 2021-04-23 12:59:09 +02:00
381705d87e Add margins to last changed rendering 2021-04-23 12:58:25 +02:00
86dd93c593 Add mapillary button in the attribution 2021-04-23 12:56:33 +02:00
6234d26bac Remove ornaments 2021-04-23 12:54:26 +02:00
Mateusz Konieczny
6e17a42a40
fix double dot 2021-04-23 10:29:08 +02:00
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
362abbf079 Fix double questionmarks 2021-04-22 03:55:28 +02:00
0153d4d262 Merge master 2021-04-22 03:54:14 +02:00
0b6b95754d Version bump 2021-04-22 03:43:48 +02:00
2da52501a3 Add capability to load tiled geojsons, eventually as overpass-cache 2021-04-22 03:30:46 +02:00
8cc061c68f Small tweaks to themes 2021-04-21 17:42:28 +02:00
Win Olario
555fdb360a
Fix typo: drinkging to drinking 2021-04-21 21:16:19 +08:00
Win Olario
8de1662be1
Update bike_repair_station.json
Minor corrections to improve English sentence phrasings.
2021-04-21 14:20:46 +08:00
Win Olario
7f932aa97c
restore hailhydrant files from backup 2021-04-21 14:05:19 +08:00
Win Olario
fe438c534a
Create readme.md
A readme for the theme.
2021-04-21 14:02:26 +08:00
95f1bdd797 Small refactoring, add 'last edit by'-rendering 2021-04-21 01:26:36 +02:00
f1443e2f49 Merge master 2021-04-20 12:20:46 +02:00
0d637131fb Unpacking some regexes for more accurate taginfo data 2021-04-20 11:04:22 +02:00
ce9b0eabb1 Move layers to canonical paths, rewrite some regexes as 'or' as to make the taginfo-information more accurate 2021-04-20 10:49:45 +02:00
05b05a958c Add taginfo project file descriptions 2021-04-19 18:17:26 +02:00
12afdcab75 Add better relation support 2021-04-18 14:24:30 +02:00
7b47af8978 Add license info, fix non-updating values after reopening popups 2021-04-17 23:36:46 +02:00
576fd8ff40 Add cache timeout 2021-04-17 15:42:22 +02:00
807628c8d2 Add zero waste question in the fritures theme 2021-04-17 12:46:18 +02:00
349230ce75 Add license information, see #239 2021-04-17 12:16:09 +02:00
0abaf5c139 Merge branch 'pr/hailhydrant' into develop 2021-04-12 16:55:01 +02:00
765f3d5e80 Last small fixes to hailhydrant theme 2021-04-12 16:54:53 +02:00
7872282816 Merge branches 2021-04-12 13:40:33 +02:00
f177a3bad3 Various styling tweaks, fix #243 2021-04-12 13:05:30 +02:00
7d36d151e3 The facade gardens are CC0 2021-04-12 12:26:09 +02:00
Win Olario
70f2f0aa74
Update license_info.json entries 2021-04-12 15:05:43 +08:00
Win Olario
8ee292d24f
Add image to all layers 2021-04-12 14:57:22 +08:00