Commit graph

26 commits

Author SHA1 Message Date
0df56064fa Merge upstream translations 2023-09-19 14:22:52 +02:00
e86f7d863e Refactoring: further cleanup of the themes 2023-06-20 03:49:16 +02:00
140c813151 Refactoring: move anchor out of iconSize 2023-06-20 02:48:42 +02:00
a6f7b1300a Refactoring: move 'snapToLayer' from 'preciseInput' into the preset, remove 'preferredBackground'. The addNewPointFlow _always_ shows the precise input flow with the basic map; so the preferredBackground became irrelevant 2023-06-20 01:52:15 +02:00
8db80d879a Translation sync 2022-04-13 18:42:40 +02:00
0ec0367529 Translation sync 2022-04-09 17:35:21 +02:00
793d765ead Add contact information to recycling centers 2022-02-22 16:11:00 +01:00
812626456d Fix dead image 2022-02-19 17:44:25 +01:00
b928bcda6f Remove obsolete keys through lint script (once more) 2021-11-07 21:20:05 +01:00
37231969e6 Merge branch 'master' into develop 2021-11-07 15:31:55 +01:00
2a49074ab6 Regenerate translations 2021-11-07 14:37:21 +01:00
e334f806bc Merge branch 'develop' into features/left-right-rendering 2021-10-22 14:01:47 +02:00
d40bf15bc7 Fix translations 2021-10-22 13:47:36 +02:00
a041fbf050 Theme format refactoring: move line properties into a seperate lineRendering configuration 2021-10-20 02:01:27 +02:00
1852eb8e52 Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities 2021-10-19 03:00:57 +02:00
73f76881c4 Use same formatting as weblate for translation files 2021-09-22 16:58:25 +02:00
38b60526f6 Sync translations 2021-05-30 20:56:09 +02:00
504a210707 Translation sync 2021-05-28 12:42:59 +02:00
1487411a25 Sync translations 2021-05-27 21:20:04 +02:00
40a79ab6a6 Formatting all the JSON files 2021-05-19 22:38:41 +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
b2213751c3 Add some more missing translations, small tweaks to scripts 2021-04-23 13:56:16 +02:00
f659bc1141 Add possibility to use a cutom overpass script, add 'grassfields in parks'-layer 2021-03-20 23:45:52 +01:00
778044d0fb More refactoring, stabilizing rotation and direction_gradient 2021-01-04 04:06:21 +01:00
Pieter Vander Vennet
2177db376c More fancyness, less bugs 2020-11-17 16:29:51 +01:00
Pieter Vander Vennet
16612b10ef I should have commited sooner... 2020-11-17 02:22:48 +01:00