Commit graph

179 commits

Author SHA1 Message Date
504a210707 Translation sync 2021-05-28 12:42:59 +02:00
acaee1a8f4 Add some explanation in the popups for slow roads 2021-05-28 12:33:36 +02:00
1487411a25 Sync translations 2021-05-27 21:20:04 +02:00
ba835dd2fa Translation sync 2021-05-20 17:00:41 +02:00
3e2fa65414 Sync translations, remove some unneeded translation 2021-05-19 22:43:28 +02:00
4e1a2b1607 Merge the translations into the layers 2021-05-19 22:40:25 +02:00
40a79ab6a6 Formatting all the JSON files 2021-05-19 22:38:41 +02:00
8361cfac7a Remove need to translate an svg 2021-05-19 22:37:10 +02:00
66af5fad61 Add color type 2021-05-19 22:36:51 +02:00
3ddf7c660e Merge branch 'master' of github.com:pietervdvn/MapComplete 2021-05-18 00:45:32 +02:00
041c6eab35 Add ground floor and first floor as options in defibrillator theme 2021-05-18 00:45:28 +02:00
4fb70c49fc Add layer icons 2021-05-17 17:27:28 +02:00
554fefd708 Add various small assets and improvements 2021-05-17 17:10:24 +02:00
ebc89385ea Attempt to update icon based on survey date, small translation update 2021-05-17 00:16:54 +02:00
Joost
beeea810d4
simplified way to answer "24/7" open 2021-05-16 21:16:40 +02:00
36a6dfb6cd Add checked icon 2021-05-16 15:41:12 +02:00
122bc7ba48 Update defibrillator layer with changes by @JoostSchouppe 2021-05-16 15:40:55 +02:00
d547b9f968 Fix metatagging and calculated tags in heterogenous data settings 2021-05-16 15:34:44 +02:00
Léo Villeveygoux
cb6d9095de Add french translation for sport_pitches 2021-05-16 04:54:07 +02:00
d336eafaa3 Add some failsafes: don't let those special renderings render if they are not defined 2021-05-10 23:46:50 +02:00
fbd984f6f9 Add badge status to lock 2021-05-04 17:31:41 +02:00
f2281b2cd3 Color and icon updates 2021-05-03 22:22:01 +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
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
0aad17e63c Add living_street explanation, tweaked zoom levels 2021-04-25 13:22:50 +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
20386b7c0b Styling tweaks for speelplekken theme 2021-04-23 12:59:09 +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
0153d4d262 Merge master 2021-04-22 03:54:14 +02:00
8cc061c68f Small tweaks to themes 2021-04-21 17:42:28 +02:00
Win Olario
8de1662be1
Update bike_repair_station.json
Minor corrections to improve English sentence phrasings.
2021-04-21 14:20:46 +08: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
b6b22526dd Automatically place the label below the icon 2021-04-11 00:09:19 +02:00
12b92d286b Refactoring of labels, better exposure 2021-04-10 23:53:13 +02:00
2ad72ae346 Merge develop 2021-04-10 16:12:40 +02:00
244bbebb0b Merge license info files together 2021-04-10 13:57:16 +02:00
febc455216 Small rewriting of some licenses 2021-04-10 03:58:54 +02:00
f10e7f008f Add more licenses, fix themes as per validation rules 2021-04-10 03:19:26 +02:00
954a948cf3 More license info 2021-04-10 01:18:17 +02:00
5df2bedcaf Removed todo's 2021-04-09 03:03:23 +02:00
a16745d0d1 Add more license information 2021-04-09 02:56:48 +02:00
f11930892e More attribution information 2021-04-09 00:19:32 +02:00
39711373cd Small improvement in preset layout 2021-04-08 13:34:35 +02:00
2aad1e1577 Got usage confirmation in email 2021-04-08 13:34:11 +02:00