Commit graph

394 commits

Author SHA1 Message Date
8e72b70742 Fix deployment, fix documentation generation, add a small markdown generator 2021-06-15 00:28:59 +02:00
e480c97676 Fixed part of the special renderings 2021-06-14 19:21:33 +02:00
eec762b71f More small fixes to the refactoring 2021-06-14 17:42:26 +02:00
9cc721abad More refactoring and fixes 2021-06-14 02:39:23 +02:00
d7004cd3dc Merge master 2021-06-13 15:15:13 +02:00
3943100e54 More refactoring, stuff kindoff works 2021-06-12 02:58:32 +02:00
3fe581e4af Add another forbidden character 2021-06-11 22:53:34 +02:00
62f471df1e More refactoring, still very broken 2021-06-11 22:51:45 +02:00
3d40378628 Fix bug: fallthrough layers let their features pass again, fixes #349 2021-06-10 16:55:08 +02:00
6415e195d1 Butchering the UI framework 2021-06-10 01:36:20 +02:00
de4c31902e Remove debug logging 2021-06-08 17:23:05 +02:00
ebe3a8138a Fix url 2021-06-08 17:13:25 +02:00
9458128ccf Fix #343, add the poss^Cility to use the test backend (WIP), improve testability of OsmConnection (WIP) 2021-06-08 16:52:31 +02:00
1a04f2e661 Move isPolygon into OsmObject as it is more appropriate there 2021-05-31 20:47:08 +02:00
322f706e68 Small improvement in geolocation handling 2021-05-29 20:30:36 +02:00
a7c98086be Zoom in when the location is known and the button is pressed 2021-05-28 12:33:06 +02:00
6763c682ab Do not zoom to location if it is out of the map bounds 2021-05-27 18:55:37 +02:00
8aa830f15e Properly render a downloaded way, fix #297 2021-05-27 18:55:12 +02:00
95f421a6ae Small fixes 2021-05-20 12:27:33 +02:00
4bb92bc849 Small changes to the geolocation handler 2021-05-19 12:31:09 +02:00
85fa3886aa Small tweaks 2021-05-18 19:48:20 +02:00
208a85a4a9 Robuster handling when old data is loaded after a theme id rename 2021-05-17 17:11:52 +02:00
fa5ed7c690 Attempt to fix the personal layer 2021-05-17 00:17:21 +02:00
d547b9f968 Fix metatagging and calculated tags in heterogenous data settings 2021-05-16 15:34:44 +02:00
6f457a6f0d Do not show out-of-range features on speelplekken layer, fix handling of mutlipolygons in 'inside', better tests 2021-05-14 02:25:30 +02:00
c367bef4c1 Fix #271: url parameters (and thus location, selected feature, ...) are preserved when logging in 2021-05-13 13:16:22 +02:00
cd4a2608a2 Immediately load and show the selected feature 2021-05-13 13:04:17 +02:00
0ad16cfe3f Fix calculated tags 2021-05-13 12:40:19 +02:00
8ca24f4a05 Merge develop branch 2021-05-12 19:13:21 +02:00
Sebastian Kürten
0aafbdb33a Fix problems in CaculatedTags.md via Typescript sources 2021-05-11 11:47:34 +02:00
60dee5e999 Improve documentation 2021-05-11 11:03:28 +02:00
6ac8a5373c Better handling of metatags, more robust error handling when calculating tags 2021-05-10 23:51:03 +02:00
f6cbb44454 Add a contributor counting actor 2021-05-10 23:42:01 +02:00
09db929dea Remove 'id' from XML-tags 2021-05-10 16:03:11 +02:00
2c677ee8a2 Fix bug which blocked uploads 2021-05-09 18:56:51 +02:00
292bad5df7 Stabilize popup 2021-05-07 01:43:32 +02:00
1476ab0407 Experimenting with using the overpass API directly 2021-05-06 03:03:54 +02:00
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
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
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
1c413cd6cc Remove console.trace 2021-04-26 21:10:34 +02:00
2900bdc784 Documentation improvement and warning cleanup 2021-04-25 16:01:46 +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
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
8c1861f98d Do not close the infobox when data is loaded... 2021-04-23 18:16:44 +02:00
3e3da25edb Small fixes 2021-04-23 17:22:01 +02:00
127ad9c947 Small tweaks, better handling in case all goes wrong 2021-04-23 16:51:44 +02:00
a4f8559108 Clear authentication cookies if login fails, due to revoked tokens 2021-04-23 15:20:24 +02:00