Commit graph

190 commits

Author SHA1 Message Date
9bbe13beff Fix translations for bookcase theme 2021-06-24 01:20:25 +02:00
7dc9d5cdb9 Translation sync 2021-06-24 01:19:33 +02:00
5e991bdc02 Allow to style special visualisations, no cursor if popups are disabled 2021-06-23 02:41:30 +02:00
a365172e0c Add new direction indicators 2021-06-23 01:58:11 +02:00
64bfc147bd Layer sync, fix climbing:grade:french:min and ~:max in translations 2021-06-19 20:06:28 +02:00
ba8605ec9d Translation sync 2021-06-13 15:10:01 +02:00
061abd4a76 Translation sync 2021-06-10 14:06:28 +02:00
2383d204d7 Translation sync 2021-06-08 16:56:36 +02:00
42aa763459 Translation sync 2021-06-06 14:18:34 +02:00
833e3d8510 Translation sync 2021-06-04 17:23:17 +02:00
38b60526f6 Sync translations 2021-05-30 20:56:09 +02:00
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