Commit graph

248 commits

Author SHA1 Message Date
234129ad32 Update class name: Coordinates changed to GeoLocationCoordinates in this typescript version 2022-09-03 14:45:48 +02:00
24f090c92f Add OsmFeature type 2022-07-13 17:56:33 +02:00
0f66d7f8cc Add fakedom to test UI code, replace all 'innerText' with 'textContent' as it is not compatible with fakedom 2022-06-28 03:21:18 +02:00
4283b76f36 Huge refactoring: split readonly and writable stores 2022-06-05 02:24:14 +02:00
1271f24160 Fix delete button, remove Translations.WT 2022-04-21 12:39:28 +02:00
57d969cd79 Remove some stray console.logs; formatting 2022-04-13 01:26:45 +02:00
49f26687e3 Zoom to geolocation automatically if within 60 seconds, fix reading the previous map location from local storage if not initialized, fix #724" 2022-04-09 21:42:59 +02:00
c8e013f30e Fix 'moveToLocation' for bounded themes, add test 2022-03-28 21:56:25 +02:00
5284f198d8 Fix various bugs 2022-02-22 14:13:41 +01:00
e04e7ddf6a Remove obsolete print statement 2022-02-14 03:16:30 +01:00
08efcbdea0 Optimize availableBaseLayers code 2022-02-11 15:11:50 +01:00
819a33e299 Add some comments on bing maps 2022-02-08 00:34:07 +01:00
dd68cc39e7 Unofficial themes are remembered now 2022-02-04 14:36:26 +01:00
9ff4323ec6 Fix typo 2022-02-04 03:31:47 +01:00
3e2c6a0f23 Improvements to themes 2022-02-04 02:48:31 +01:00
fa971ffbbf Full code cleanup 2022-01-26 21:40:38 +01:00
d2b245ab54 Performance optimazations 2022-01-26 20:47:08 +01:00
00e5ce0b02 The overpassfeaturesource now only fetches layers that must be updated, fix #599 2022-01-15 02:44:11 +01:00
6ae8ec8036 Add 'add new note' functionality, fix bug where 'test'-theme comes up when deleting images 2022-01-14 01:41:19 +01:00
965faca0e5 MapComplete now always zooms up to level 21 with overzoom, fix #606 2022-01-08 20:05:00 +01:00
94f66eafc1 Merge develop 2022-01-06 20:10:57 +01:00
7090a5ceb8 Performance hacks 2022-01-06 18:51:52 +01:00
7fe79600fb Remove unmaintained preferences page, re-add earlier visited installed themes (only remove themes) 2021-12-21 20:57:25 +01:00
11150a258d First part of a huge refactoring 2021-12-21 18:35:31 +01:00
e1ee890f51 WIP: automaton page 2021-12-12 17:35:08 +01:00
c440cdeb5e Mark OSM-carto as 'best' in order to trigger it as best map within this category 2021-12-05 02:30:03 +01:00
37c0129a6d Add buttons to quickly swap background layers (also in the locationInput), move copyright into home panel, split privacy policy to seperate welcome message tab 2021-11-21 02:44:35 +01:00
1d0fbe701c First steps for a layer switch 2021-11-18 23:42:03 +01:00
bf28292f50 Merge branch 'features/indexed-db' into develop 2021-11-16 02:57:34 +01:00
9c848cfaee Use IndexedDb to store cached geodata, fix #494. This should prevent crashes 2021-11-16 02:57:26 +01:00
b883cd87d0 Do not zoom to GPS location if an element is selected 2021-11-15 16:57:04 +01:00
a37a7462a2 Better handling of GPX-state 2021-11-12 04:11:53 +01:00
8e66313ef1 Add metadata in changeset with (binned) distance to changed feature 2021-11-09 01:49:07 +01:00
d3d51af667 Add gps track line, add documentation 2021-11-08 14:18:45 +01:00
09eee08fbc Documentation updates 2021-11-08 02:36:01 +01:00
bd21212eba Full code cleanup 2021-11-07 16:34:51 +01:00
63acca1638 Add 'CreateNewWayWithNodeReuse'-action, use it in the GRB-theme 2021-11-04 02:16:07 +01:00
4e3f408d53 Change geolocation behaviour: will not zoom out anymore 2021-11-03 00:55:38 +01:00
2484848cd6 Refactoring of GPS-location (uses featureSource too now), factoring out state, add ReplaceGeometryAction and conflation example 2021-11-03 00:44:53 +01:00
64adf13d42 Rework copyright panel, fix filter view toggle 2021-10-30 01:55:32 +02:00
897c59f97a Merge develop 2021-10-28 00:13:18 +02:00
8acf85cc55 Various bugfixes and improvements to UK_addresses and GRB theme 2021-10-27 20:19:45 +02:00
07bc5d6a6d Merge develop 2021-10-26 01:27:35 +02:00
933c0f0073 Fix opening of various views when set by url-parameters, small styling tweaks in the popups 2021-10-23 02:46:37 +02:00
e334f806bc Merge branch 'develop' into features/left-right-rendering 2021-10-22 14:01:47 +02:00
0dc7187bab Changes do apply left-right splitting before uploading too 2021-10-22 14:01:40 +02:00
9623afeec9 Merge branch 'develop' of github.com:pietervdvn/MapComplete into develop 2021-10-22 13:37:40 +02:00
40c4ae769d Rewrite left-right tags when updating them on click 2021-10-22 13:35:11 +02:00
8f8f121e89 Fix osmcha link, add some docs on geolocation button, use a lower and more sane default max zoom for editor layer index layers 2021-10-21 21:42:28 +02:00
d3f84d51ac Small fixes 2021-10-20 19:12:28 +02:00
b7c6861484 Add failsafe: overpass will stop redownloading if the features have been fetched by other sources and will pick the new bounds when redownloading 2021-10-20 01:26:39 +02:00
196d76d9dc Fix: opening the popup if defined in the hash 2021-10-20 01:13:55 +02:00
89d4a6bcce Add robustness when run via console, formatting 2021-10-20 00:09:40 +02:00
b8abbc9505 More refactoring to fix the tests 2021-10-15 14:52:11 +02:00
7e053b3ada Small improvements to the charging station theme, don't update tagging of new features if they are selected 2021-10-14 20:31:04 +02:00
84284599d8 Fix cursor-wait on gps location button 2021-10-14 17:39:31 +02:00
5e5528eb7d Merge master 2021-10-11 22:31:05 +02:00
178cefceb4 Fix bounds and loading with overpass 2021-10-11 22:30:22 +02:00
c010fb5271 Change padding method, add max bounds, fix zoomlevels on toerisme vlaanderen theme 2021-10-11 21:23:14 +02:00
d894b13023 Make metatagging lazy (fix #503), fix null-distances (#504), various other small fixes 2021-10-10 23:38:09 +02:00
d4e63d90e4 When a logged-in user opens a popup, the latest data will be downloaded and tags are updated to prevent duplicate work, fix #505 2021-10-10 00:53:14 +02:00
bedc576313 Stabilize popups in ShowDataLayer 2021-10-01 05:24:10 +02:00
8b870474d7 Improvements in loading images 2021-10-01 02:57:41 +02:00
4f456e8a7f Better tracking of cached data, only load data if needed 2021-09-30 04:13:23 +02:00
8cbb693c98 Fix geolocation 2021-09-29 23:59:56 +02:00
a6e8714ae0 Refactoring of image detection, fix loading wikimedia images 2021-09-29 23:56:59 +02:00
09897b47e0 Add mssing assets 2021-09-29 16:55:05 +02:00
c2d477c97a More refactoring 2021-09-29 01:12:38 +02:00
a78d33112b Refactoring: LayoutToUse is a simple value now 2021-09-28 18:00:44 +02:00
41a2a79fe9 More refactoring of the featurepipeline, introduction of fetching data from the OSM-API directly per tile, personal theme refactoring 2021-09-28 17:30:48 +02:00
a3c16d6297 Stabilize adding new points 2021-09-26 23:35:26 +02:00
c5e9448720 Add initial clustering per tile, very broken 2021-09-26 17:36:39 +02:00
bef684aec7 More cleanup, first somewhat working version of #171 2021-09-22 16:07:56 +02:00
1f93923820 More work on splitting roads, WIP; refactoring tests 2021-09-22 05:02:09 +02:00
e374bb355c Partial fix of opening the selected element 2021-09-21 03:10:15 +02:00
d5c1ba4cd1 More refactoring, move minimap behind facade 2021-09-21 02:10:42 +02:00
973b5d8bbe Huge refactoring of the feature pipeline, WIP 2021-09-20 17:14:55 +02:00
d5853050b0 Fix padding calculation by using the leaflet builtin padding function 2021-09-18 02:28:17 +02:00
c8eacaa409 Add support for mapillary api v4, fixes #364 2021-09-15 01:33:52 +02:00
b39a2b2f6e Preparatory steps to query OSM-api directly, add precise input to bench and waste basket, add waste types 2021-09-10 01:18:51 +02:00
78d6482c88 Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
780d353c8d Small improvements 2021-09-07 00:23:00 +02:00
b806c210a6 Refactoring: remove the Basemap, switch to Minimap everywhere 2021-09-03 13:48:04 +02:00
61b6721342 Automatically zoom to GPS location if no coordinate is specified in the URL 2021-08-26 12:15:26 +02:00
ef0826ebb6 Add cycle_highways theme, add configurable overpass backend as feature switch (settable via theme and URL) 2021-08-23 15:48:42 +02:00
f4ea36de9a Usability of adding a new point: if not zoomed in sufficiently, the map will zoom to the new-location marker 2021-08-22 20:23:13 +02:00
3c73dfd6b2 Update of the 'addNewMarker': show icons, show plus button, show label 2021-08-22 18:48:38 +02:00
50d7d098a3 Fix small styling issue 2021-08-20 00:15:55 +02:00
aef7b8a684 Decent fix of gps-locking behaviour: single click will zoom, second click within 3sec will lock the gps location + better icons + disable of dragging while locked, fix of #458 2021-08-19 23:41:48 +02:00
4284f8184e Fix typo's: s/seperat/separat/, fix #457 2021-08-19 18:30:43 +02:00
647100bee5 Refacotring: move themeConfig into models 2021-08-07 23:11:34 +02:00
ede67ca58c Fix pdf export, fix feature switches 2021-07-28 02:51:07 +02:00
6cd75a8260 Merge branch 'develop' into feature/pdf-export 2021-07-28 00:22:59 +02:00
cd1ee64f62 Robustify in the case of werid hashes 2021-07-28 00:09:17 +02:00
55539b7c3a Small fixes 2021-07-27 22:38:30 +02:00
c8bd412476 Merge develop 2021-07-27 22:23:42 +02:00
15e21544ba Make mapcontrol-button svgs styleable by colour 2021-07-27 21:02:30 +02:00
5ad3fa83be Remerge upstream 2021-07-27 20:17:42 +02:00
decbf462d3 Formatting 2021-07-27 20:11:34 +02:00
0162d52b68 Merge develop 2021-07-27 19:59:41 +02:00