Commit graph

1369 commits

Author SHA1 Message Date
a0c1bc2137 OsmObjects can now be used as featureSource, load selected object immediately, zoom to selected object on open; fix #191 2021-05-06 01:33:09 +02:00
5ce4140510 Add callback to updateFromOsmAPI 2021-05-05 20:43:36 +02:00
78acb2794e Remove unused imports 2021-05-05 11:30:44 +02:00
3137f2497b Regenerate taginfo docs 2021-05-04 17:47:00 +02:00
b00573c75d Add images to taginfo docs output (fix #247), small output sanitization 2021-05-04 17:46:45 +02:00
fbd984f6f9 Add badge status to lock 2021-05-04 17:31:41 +02:00
1c42f7881e Add shadow 2021-05-03 22:57:30 +02:00
ca60f36acf Add shadow geojson 2021-05-03 22:36:22 +02:00
f2281b2cd3 Color and icon updates 2021-05-03 22:22:01 +02:00
ad1c06adf6 New stats and graphs 2021-05-03 17:56:46 +02:00
3dcd53f751 Automated documentation updates 2021-05-03 17:48:15 +02:00
3b66bce24d Fix bug in generation of the main manifest file 2021-05-03 17:47:58 +02:00
b441e6e8a5 Fixed some typos, fixed legacy loading in non-legacy settings, also show attribution when layer control is disabled 2021-05-03 16:04:35 +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
1c413cd6cc Remove console.trace 2021-04-26 21:10:34 +02:00
2bf6bac994 Only show woonerf-explantion on living-streets 2021-04-25 22:16:11 +02:00
2900bdc784 Documentation improvement and warning cleanup 2021-04-25 16:01:46 +02:00
6b9d0162eb Speelplekken style tweaks 2021-04-25 16:01:33 +02:00
1f4b7b1254 Documentation updates 2021-04-25 16:00:25 +02:00
7fa8d5efd0 Add release notes and theme creator name 2021-04-25 14:24:14 +02:00
67d45e3b32 Version bump 2021-04-25 14:20:14 +02:00
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
591ab349a6 Add LayerIndex convenience function 2021-04-25 13:23:27 +02:00
0aad17e63c Add living_street explanation, tweaked zoom levels 2021-04-25 13:22:50 +02:00
bd6da0fa04 Add new graphs 2021-04-25 12:08:27 +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
8c1861f98d Do not close the infobox when data is loaded... 2021-04-23 18:16:44 +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
5c0e3662c1 Move translation checks to the validation step 2021-04-23 16:52:20 +02:00
127ad9c947 Small tweaks, better handling in case all goes wrong 2021-04-23 16:51:44 +02:00
4d5a786e10 Add more artwork 2021-04-23 16:50:57 +02:00
1a1477ca43 Add override-all option to layers 2021-04-23 16:50:07 +02:00
a4f8559108 Clear authentication cookies if login fails, due to revoked tokens 2021-04-23 15:20:24 +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
bc26805d69 No more metadata file 2021-04-23 12:58:49 +02:00
381705d87e Add margins to last changed rendering 2021-04-23 12:58:25 +02:00
a3a9590352 Add name to changes feature source 2021-04-23 12:56:56 +02:00
86dd93c593 Add mapillary button in the attribution 2021-04-23 12:56:33 +02:00
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
6234d26bac Remove ornaments 2021-04-23 12:54:26 +02:00
fef922c67d
Merge pull request #254 from matkoniecz/patch-1
fix double dot
2021-04-23 10:35:51 +02:00