Commit graph

554 commits

Author SHA1 Message Date
50827d38a8 Add a few comments 2021-06-21 03:11:00 +02:00
b9fb18ee4c Merge master 2021-06-21 00:18:59 +02:00
bc605371f5 Tying the knot: calculatedTags will update every time new data are added to the map. Fixes part of #287 2021-06-20 03:09:26 +02:00
4dda8fdcfa Fix overlapWith-behaviour wrt points 2021-06-20 03:07:58 +02:00
18eb696c23 Documentation format imrovement 2021-06-20 03:07:12 +02:00
106d9927aa Fixed the personal layer 2021-06-19 19:16:20 +02:00
bf7e6376c0 Styling tweaks, better metadata handling at data upload 2021-06-19 18:28:30 +02:00
1609c63f3b Refactoring of Attribute Images, fix more or less decent slideshow. Turns out a few lines of css can get us there! 2021-06-18 01:25:13 +02:00
64ec06bfc8 Fix opening hours input element 2021-06-16 14:23:53 +02:00
94f9a0de56 More fixes to the refactored code 2021-06-15 16:18:58 +02:00
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
a3a9590352 Add name to changes feature source 2021-04-23 12:56:56 +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
c20e2def5b Load timestamp from geojson 2021-04-22 20:08:03 +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
2da52501a3 Add capability to load tiled geojsons, eventually as overpass-cache 2021-04-22 03:30:46 +02:00
c6b4ba43fb Add feature which loads the selected element from overpass to update the tags to the latest version 2021-04-21 01:26:13 +02:00
d7277838e4 Fix small bug: no new countdown will be started if a countdown is already running 2021-04-21 01:25:00 +02:00
33ebc6b9c4 Add metadata to continuation 2021-04-21 01:23:28 +02:00
f1443e2f49 Merge master 2021-04-20 12:20:46 +02:00
05b05a958c Add taginfo project file descriptions 2021-04-19 18:17:26 +02:00
c0fb852d41 Fix length, update docs 2021-04-18 18:23:59 +02:00
12afdcab75 Add better relation support 2021-04-18 14:24:30 +02:00
7b47af8978 Add license info, fix non-updating values after reopening popups 2021-04-17 23:36:46 +02:00
576fd8ff40 Add cache timeout 2021-04-17 15:42:22 +02:00
9874b7d8c8 Fix loading of compressed themes in the custom generator too 2021-04-11 23:43:23 +02:00
61377d907b Erase the hash when an element is unselected 2021-04-06 19:41:41 +02:00
454f30cf3b Add docs on URL-parameters 2021-04-06 18:34:45 +02:00
4d5c250f8f Add HTML rendering options to icons 2021-04-06 18:17:07 +02:00
8097486ffe Small fix to mapillary image loading + addition of test 2021-04-06 16:12:44 +02:00
8c0cae7a8c Merge master 2021-03-29 17:37:58 +02:00
75f33ee580 -Nuke the localstorage if it is full 2021-03-29 14:10:20 +02:00
4342b38e9d Formatting and small cleanups 2021-03-29 02:53:06 +02:00
15a6794e59 Move 'asChanges' into tagsFilter; add 'survey:date' option with automatic date to benches 2021-03-29 02:31:08 +02:00
fa5b92e6e1 Add link to nearby drinking water points with some fancy calculated tag magic 2021-03-29 02:05:11 +02:00
bec1998a6d Fix incorrect imports due to refactoring 2021-03-29 02:04:42 +02:00
cd1171e678 Add substituting tag, remove some old code 2021-03-29 01:20:06 +02:00
120832f241 Move tags into subdirectory 2021-03-29 00:41:53 +02:00
c5a43450d3 Remove console.log 2021-03-26 03:39:55 +01:00
4694cc8e0f Correct caching of image searcher 2021-03-26 03:36:49 +01:00
ac9cca4c51 Fix wikimedia images 2021-03-26 03:33:42 +01:00
ad406b5550 Remove legacy: the minOverlapPercentage can now be built with a calculated tag and isShown 2021-03-26 03:24:58 +01:00
fa238092bc Add opening hours to playgrounds and pitches 2021-03-26 00:14:17 +01:00
1b1ec9f15d Add switch to hide certain features, cleanup of code 2021-03-25 15:19:44 +01:00
0491b52642 Add doc generation 2021-03-24 02:01:04 +01:00
f124d9ded7 Add custom javascript snippets to calculate tags 2021-03-24 01:25:57 +01:00
d8c1f72857 Split TagsFilter into multiple files 2021-03-22 03:05:08 +01:00
59d53e5ec5 Fix generation of docs by injecting dependency 2021-03-22 02:45:22 +01:00
1ffad21c62 Refactoring of tagsFilters, fix conditional 'hideInAnswer' 2021-03-22 02:17:00 +01:00
f176b92a9c Merge branch 'master' into develop 2021-03-22 01:32:47 +01:00
a3e170e157 Disable alidade as it is broken 2021-03-22 01:24:30 +01:00
42ec7a1eb5 Small fixes 2021-03-22 01:06:24 +01:00
0dce7b1f3b Add load time and current time to metatags 2021-03-22 01:04:25 +01:00
14309e29b0 Remove debug output 2021-03-22 00:28:10 +01:00
62dd8d3f0a Merge master 2021-03-21 02:16:39 +01:00
2606a27f60 Fix page title rendering 2021-03-21 02:03:07 +01:00
878cb6d47d Add maxzoom capability to layers 2021-03-21 01:36:34 +01:00
f0765df5ed Add possibility to add external geojson 2021-03-21 01:32:21 +01:00
d7c1f38d26 Remove last mentions of 'overpassTags' in the layerconfig 2021-03-21 00:44:23 +01:00
f659bc1141 Add possibility to use a cutom overpass script, add 'grassfields in parks'-layer 2021-03-20 23:45:52 +01:00
c4f0f18e5e Toggeling a layer now updates the view immediately 2021-03-14 01:53:37 +01:00
2c3c110624 Add more docs, add more checks, add more tests 2021-03-14 01:40:35 +01:00
7a69847cda Cleanup of console logging 2021-03-13 19:08:02 +01:00
ad08a55517 Fix rendering of multianswers, other small bug fixes 2021-03-13 17:25:44 +01:00
558265eba9 Further fixes to clear up the fullscreen 2021-03-12 14:52:34 +01:00
f8b68aee7a Fix back button on mobile devices 2021-03-12 14:14:56 +01:00
a91c3fde69 Removed todo's 2021-02-26 14:54:59 +01:00
3586b8eef2 Better saving of features when focus is lost, esp on mobile browsers 2021-02-25 02:51:13 +01:00
a0b909e8a6 Fixes to popup handling and to broken styles 2021-02-25 02:23:26 +01:00
29a0a3ee81 Quick fixes 2021-02-24 22:01:21 +01:00
1f6c19402b Better geolocation handling 2021-02-21 04:04:39 +01:00
604d7863fe Add bigger zoom-in and zoom-out button, move attribution to button on small screens 2021-02-21 03:38:12 +01:00
f4f7ae8f93 Fix bug with multianswers triggering an error 2021-02-21 00:15:03 +01:00
df483786b3 Only upload changes after 30s, on focus loss or on closing of the popup - this should improve #162 already a lot 2021-02-20 22:18:42 +01:00
ae9d93138b Add ifnot-tags for multianswers, in order to indicate something is _not_ possible (e.g.: playment:coins=no) 2021-02-20 16:48:42 +01:00
dcdb5b9a22 Small tweaks to translation label 2021-02-20 03:29:55 +01:00
416a76ae4f Stabilize personal theme, textfield now correctly appears if it is an option in the freeform too 2021-02-20 01:45:51 +01:00
f86ce4bc17 Fix deployment 2021-02-15 17:44:19 +01:00
770c8d1dde Fixed opening of popups 2021-02-14 20:36:20 +01:00
bc1863dcb6 Fix hiding and showing of features 2021-02-14 19:45:02 +01:00
b9d5a85cd0 Merge slick carousel 2021-02-05 19:11:19 +01:00
1f4b06ae55 Some work on stabilizing the popups, WIP 2021-02-05 18:58:06 +01:00
8f8ef690a4 Performance improvements 2021-02-05 16:32:37 +01:00
1979aadb49 Add slick-carousel instead of homemade one 2021-01-29 03:23:53 +01:00
0fc8bbe1ed Show 'about mapcomplete' on index 2021-01-27 03:08:46 +01:00
593ac5381a Further refactoring fullscreenelement: removal of hash handling from showDataLayer 2021-01-27 01:14:16 +01:00
00f610c589 Refactoring fullscreenhandling 2021-01-25 03:12:09 +01:00
81f0a21076 Derping around, bit of a dead end due to transform3d in a parent 2021-01-22 01:03:50 +01:00
7f1b78198a Cleaning away fullscreenmessage 2021-01-22 00:40:15 +01:00
6c4b15e33d Add various bug fixes and improvements 2021-01-21 23:39:31 +01:00
Tobias
61964a801f Remove empty spaces
Default Setting by my editor. Let me know I you want to keep them.
2021-01-21 05:52:36 +01:00
fa4fb71e06 Small tweaks, stabilizing local source cache 2021-01-15 01:57:46 +01:00
f33fe081d0 Add caching into local storage for a faster map experience 2021-01-15 00:29:07 +01:00
2f57010202 Fix back button; add title 2021-01-08 18:02:07 +01:00
6e77504854 Add back button on simpleAddUI 2021-01-08 16:49:42 +01:00
ddea3d2fc1 Small css tweaks, fix layer filtering 2021-01-08 14:23:12 +01:00
52f1d5511d Layer filtering now allows items that would show up on another layer 2021-01-08 04:06:10 +01:00
701ce3e89a Css tweaks 2021-01-07 04:50:12 +01:00
93a16944a3 Add overrie capabilities 2021-01-06 02:52:38 +01:00
66018cb421 Move runningFromConsole to utils 2021-01-06 02:21:50 +01:00
c359d43b15 Add standalone bicycle library theme, search now opens the popup of the found object 2021-01-06 02:09:04 +01:00
a35b80afbb Fix rendering of multianswers without explicit 'render'-field 2021-01-06 01:11:07 +01:00
614158e3c6 Performance improvements 2021-01-05 11:17:12 +01:00
ce30b159f9 Performance improvement 2021-01-05 10:56:25 +01:00
baf41cb79d Fixing adding multiple points 2021-01-04 22:59:11 +01:00
32bc1433b4 A new element now shows up directly on the map 2021-01-04 22:14:56 +01:00
bee2878b76 Fix faulty upload 2021-01-04 21:33:37 +01:00
db66689705 Add working clustering! 2021-01-04 18:55:10 +01:00
da7d1287f0 Merge master 2021-01-04 16:09:12 +01:00
cc48d34804 Fix associations 2021-01-04 16:02:54 +01:00
4948524f91 More cleaning up 2021-01-04 04:36:21 +01:00
778044d0fb More refactoring, stabilizing rotation and direction_gradient 2021-01-04 04:06:21 +01:00
0b57042de1 Fix the build 2021-01-03 13:50:18 +01:00
e42a668c4a More refactoring: using a decent, configurable datapipeline now 2021-01-03 03:09:52 +01:00
6ac8ec84e4 More refactoring! 2021-01-03 00:19:42 +01:00
b2c234b51d More refactoring, fix loading of personal theme 2021-01-02 23:28:14 +01:00
7a7b34b0fa Further refactoring 2021-01-02 21:03:40 +01:00
e4a2fd1daf More refactoring 2021-01-02 19:09:49 +01:00
849c61c8a1 Refactoring: attempting to make State smaller 2021-01-02 16:04:16 +01:00
982ba2f6d6 Add playgrounds 2020-12-31 21:09:22 +01:00
Pieter Vander Vennet
779c36051d Remove logging 2020-12-18 12:43:08 +01:00
Pieter Vander Vennet
76b83acf01 Remove debugging console statements 2020-12-18 12:14:31 +01:00
Pieter Vander Vennet
21b5fbd8cd Fix loading of previously visited unofficial themes 2020-12-18 12:10:43 +01:00
Pieter Vander Vennet
7ff1e7e348 Add long press behaviour on the geolocate-me button 2020-12-14 00:04:53 +01:00
Pieter Vander Vennet
0855f46c49 Small fixes to link, shows own reviews 2020-12-11 16:29:51 +01:00
Pieter Vander Vennet
a53c4119e5 Last fixes to the reviews 2020-12-11 15:27:52 +01:00
Pieter Vander Vennet
cdfffd6120 Finish the additions of reviews 2020-12-08 23:44:34 +01:00
Pieter Vander Vennet
c02406241e Styling the reviews 2020-12-07 03:31:13 +01:00
Pieter Vander Vennet
bb20c41002 First version of reviews 2020-12-07 03:02:50 +01:00
Pieter Vander Vennet
a9dfce72a6 Fix performance, add 'isClosed' badge to shops 2020-12-06 00:20:27 +01:00
Pieter Vander Vennet
efd7631837 Performance improvements, add clock 2020-12-05 03:22:17 +01:00
Pieter Vander Vennet
c2b1f6643b Use latlon2country instead of codegrid 2020-12-04 21:30:35 +01:00
Pieter Vander Vennet
e98f96041a Fix composibility of badges; update of charging station theme 2020-12-02 21:23:23 +01:00
Pieter Vander Vennet
4f7c25766a Add live updating of icons on the map 2020-11-27 01:39:54 +01:00
6416536086
Merge pull request #160 from chrneumann/fix/location-handler
Fix/location handler
2020-11-20 14:11:07 +01:00
5c97d8bc4f
Merge pull request #158 from chrneumann/fix/badge-and-upload
Fix/badge and upload
2020-11-20 14:08:08 +01:00
Pieter Vander Vennet
cd548ab04b Add Fietsambassade logo to cyclofix; various svg- and css fixes 2020-11-20 14:00:37 +01:00
Christian Neumann
fa154b324c Add scale to map. 2020-11-20 11:31:54 +01:00
Christian Neumann
5134bce714 Increase animation speed, decrease zoom level of fly to location. 2020-11-20 11:31:11 +01:00
Christian Neumann
d7d7952111 Wait for loading of AccuratePosition script. 2020-11-20 11:29:57 +01:00
Pieter Vander Vennet
5e6f54f660 Bugfix: camera with direction wouldn't show up 2020-11-18 13:41:31 +01:00
Christian Neumann
55a3762412 Fix upload for maintainers with email. 2020-11-18 12:50:28 +01:00
Pieter Vander Vennet
41582ec6a2 Fix roaming renderings, fix layout generation 2020-11-17 17:36:56 +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
Pieter Vander Vennet
2685b6e734 Fix ways: they show up again 2020-11-16 02:33:44 +01:00
Pieter Vander Vennet
314894085a Cleaning filtered layer 2020-11-16 01:59:30 +01:00
Pieter Vander Vennet
e74b4e3804 Small fixes, perf improvements, remove duplicate images of ghost bikes, add wall mount 2020-11-15 01:16:35 +01:00
Pieter Vander Vennet
9978879536 Further theme tweaks, attempts to optimize 2020-11-15 00:27:55 +01:00
Pieter Vander Vennet
ba44024dd9 Fixes, surveillance cams v0.1 2020-11-13 23:58:11 +01:00
Pieter Vander Vennet
5b59d7dbd0 Fixed small bugs, add documentation to query parameters, draft of surveillance cams 2020-11-12 12:18:02 +01:00