Commit graph

973 commits

Author SHA1 Message Date
23ae9d39c8 Add the possibility to snap onto another layer with imports, add location confirm on input, add metalayer exporting all nodes, various fixes 2021-10-31 02:08:39 +01:00
f5d6441b70 Add layer icon to filter view 2021-10-30 02:34:16 +02:00
64adf13d42 Rework copyright panel, fix filter view toggle 2021-10-30 01:55:32 +02:00
da65bbbc86 Add createNewWay-action, more work on GRB import theme, add import button 2021-10-29 16:38:33 +02:00
c2682fc56d Move legacy theme handling into a rewritting class, various small fixes 2021-10-29 01:41:37 +02:00
cb61f5332a Regenerate documentation 2021-10-28 03:21:17 +02:00
c74989e88d Rendering bug fixes, add 'get' to the ExtraFunctions, filtering in the GRB theme 2021-10-28 03:15:36 +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
bec7ed6da6 Fix loading of themes from external sources 2021-10-27 19:57:15 +02:00
d5f4572e9a Add possibility to load external data as mercator tiles, add bbox tile possibilities, add CRAB and GRB as datasources in the GRB theme 2021-10-27 03:52:19 +02:00
07bc5d6a6d Merge develop 2021-10-26 01:27:35 +02:00
e8b0c3f4c8 Add missing translations, improvements to charging stations theme 2021-10-26 01:14:22 +02:00
d1ecaf7527 Force cache clearing when a new point is added, fix #522 2021-10-25 21:08:44 +02:00
c99e15eed9 Add cache timeout option on layerSource 2021-10-25 20:38:57 +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
ff0ee35ec1 First usable sidewalks theme 2021-10-22 18:53:07 +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
72edc9bdcc General cleanup, improve sidewalk rendering 2021-10-22 02:16:07 +02:00
20fa5028d9 First working version with multi-rendering 2021-10-22 01:42:44 +02:00
0c0ef48a96 First working version with multi-rendering 2021-10-22 01:07:32 +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
3ac7a3c59e Various cleanups 2021-10-20 00:19:33 +02:00
55937ec0c7 Cleanup of unused function 2021-10-20 00:18:29 +02:00
89d4a6bcce Add robustness when run via console, formatting 2021-10-20 00:09:40 +02:00
2ae24107ae Add correct splitting of turn restrictions 2021-10-19 01:22:24 +02:00
028767afe6 Small cleanups 2021-10-18 22:34:52 +02:00
3f70892d75 Add tests and some cleanup 2021-10-18 22:17:57 +02:00
83f79d95b9 Fix mapillary image detection 2021-10-18 22:17:41 +02:00
902f32ba4b Add quickfacts-box to wikipedia article 2021-10-18 20:40:24 +02:00
c1d21fcbe5 Rewordings on etymology theme, fix bug where data doesn't load 2021-10-18 18:54:36 +02:00
a2aa26aafc Fix split way action, add decent tests for them (fix #171), enable split road on cyclestreets theme 2021-10-16 02:54:22 +02:00
8ebfb3de51 Various fixes, enabled preciseLocation input by default 2021-10-15 19:58:02 +02:00
8fca373437 Optimizing trees theme and clustering 2021-10-15 18:48:33 +02:00
5ac035be20 Various small bug fixes 2021-10-15 15:20:08 +02:00
b8abbc9505 More refactoring to fix the tests 2021-10-15 14:52:11 +02:00
71285d34cd Finish refactoring 2021-10-15 13:43:11 +02:00
eff6b5bfad Huge refactoring of state and initial UI setup 2021-10-15 05:20:02 +02:00
891c449058 Add overlay layer possibility, fix #515 2021-10-14 21:43:14 +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
460155dd8b Fix problem with opening-hours: if parse error, apply this correctly 2021-10-14 14:35:04 +02:00
7e2b73ac5d Add move option, enable move and delete option on most layers 2021-10-14 03:46:09 +02:00
0a3eb966c1 Add moveLocation change description 2021-10-14 01:16:38 +02:00
448468c928 Merge develop 2021-10-13 17:23:51 +02:00
e0e1bfbe00 Merge branch 'alpha' into develop 2021-10-13 17:23:02 +02:00
54edcf793b Handle redirects 2021-10-13 11:34:25 +02:00
69f21f29eb Dynamic JSON: only request existing tiles if a whitelist is given 2021-10-13 03:10:46 +02:00
95867635e0 Further work on the move flow 2021-10-13 03:09:37 +02:00
aa1b33f9e4 Merge branch 'develop' into alpha 2021-10-13 01:29:07 +02:00
b2d1cb4034 Merge branch 'master' into develop 2021-10-13 00:12:43 +02:00
8bdabe5d73 Fixes to caching 2021-10-13 00:08:41 +02:00
e530eba55a Quickfix: disable optimazation which blocks loading dynamic tiles 2021-10-12 16:39:36 +02:00
d3550fefbe Add multi-apply box/feature, use it in etymology-theme to apply tags onto all segments of the same street 2021-10-12 02:12:45 +02:00
8fdb7a6d7f Merge develop 2021-10-11 23:33:09 +02:00
a38ab81356 Fix metatag _isOpen, fix clustering zoom behaviour 2021-10-11 23:28:51 +02:00
2d8b9a9481 Linting of the postboxes theme 2021-10-11 22:32:25 +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
b4b72a0995 Merge develop 2021-10-10 23:54:34 +02:00
5f5079ddfe Fix link to lexemes, fix #507 2021-10-10 23:50:50 +02:00
d894b13023 Make metatagging lazy (fix #503), fix null-distances (#504), various other small fixes 2021-10-10 23:38:09 +02:00
15ff38a098 Fix Tag.matchesProperties and RegexTag.matchesProperties, they do match on definedProperties now (and are faster) 2021-10-10 20:14:06 +02:00
30bc620827 Fix NaN issue in 'getClosestFeature', remove unused AspectedRouting metatagging 2021-10-10 20:10:27 +02:00
3be0dbd22f Merge branch 'develop' into alpha 2021-10-10 00:53:22 +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
adf02af5fe Add rudimentary check for filesize, fix #497 2021-10-09 23:51:04 +02:00
e5a3c1cab6 Merge develop 2021-10-09 23:25:32 +02:00
9faac532b5 Support for lexemes, decent etymology layer and theme with rudimentary icon 2021-10-09 22:40:52 +02:00
d8fa054a34 Further stabilization of UK-addresses: add minzoom requirement to import button, fix eternal loading message 2021-10-08 15:11:20 +02:00
38dcf3578c Merge develop 2021-10-08 04:40:33 +02:00
b5a2ee1757 Add a wikidata search box 2021-10-08 04:33:39 +02:00
a996ba2a7c Graciously handle multiple entries in wikidata for fetching images and showing articles, verious bug fixes 2021-10-07 22:06:47 +02:00
5e36ae48c1 The OsmFeature source now filters features based on the layers in the layout. Fixes #500 2021-10-07 18:58:45 +02:00
8d52ef1106 Ignore wikidata claims without datavalue 2021-10-06 19:19:35 +02:00
b5d2b99ced Add tests for wikimedia comons edge cases 2021-10-06 17:48:07 +02:00
5628be3632 Fix tests 2021-10-06 02:36:58 +02:00
ff11f96e91 Add wikidata-images to etymology theme, various fixes for custom image carousels and gracious handling of wikidata/wikimedia 2021-10-06 02:30:23 +02:00
21fd148f38 Add propagation of metadata in changedescriptions, aggregate metadata in changeset tags 2021-10-04 03:12:42 +02:00
65470cbac5 Fix bug where metatagging would not fully calculate in some cases 2021-10-04 00:18:08 +02:00
27a43fdbe0 Changes: expand try block; remove console.logs 2021-10-03 21:53:31 +02:00
b6b20ed3ca Fix bug in bind, fix bug in tagrenderingquestion 2021-10-03 20:50:18 +02:00
23136f7e7a Small fixes to the 'generateCache' script 2021-10-03 02:11:06 +02:00
5bcb879dfe Fix local caching by hiding latlon2country import 2021-10-03 01:57:36 +02:00
a89d303ecd Further stabilization of wikipedia box 2021-10-03 01:38:57 +02:00
8b4442c8cc Add wikipedia box 2021-10-02 22:31:16 +02:00
9df263c362 Add Wikipedia page box 2021-10-02 17:57:54 +02:00
df34239256 Fix questions: applicable mappings are now calculated dynamically; charging station theme now only shows applicable plugs based on the allowed vehicle types 2021-10-02 15:16:41 +02:00
bedc576313 Stabilize popups in ShowDataLayer 2021-10-01 05:24:10 +02:00
e904043069 Small tweaks 2021-10-01 04:49:40 +02:00
8b870474d7 Improvements in loading images 2021-10-01 02:57:41 +02:00
725a3c37c7 Don't calculate tile bounds if not sufficiently zoomed 2021-10-01 01:34:59 +02:00
c31a50b139 BBox bounds can not be bigger then the entire world anymore, fixes performance issues 2021-10-01 01:33:07 +02:00
4f456e8a7f Better tracking of cached data, only load data if needed 2021-09-30 04:13:23 +02:00
32cbd6e2c1 Also pickup wikimedia categories in the image tags, fix #433 2021-09-30 00:26:21 +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
4da6070b28 Small fixes after feedback 2021-09-29 19:56:59 +02:00
36d62f9923 Add blacklist of ids to geojson source in order to avoid duplicate features to be loaded multiple times 2021-09-29 17:48:15 +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
0a9e7c0b36 Fix bbox bug, add ids to filters, add filter state to the URL 2021-09-27 18:35:32 +02:00
38037014b0 Fix bug in bounds calculation for negative lats/lons 2021-09-27 15:38:12 +02:00
215aebce19 More work on clustering, more or less finished 2021-09-27 14:45:48 +02:00
a3c16d6297 Stabilize adding new points 2021-09-26 23:35:26 +02:00
be95ad58f8 Merge master 2021-09-26 21:24:42 +02:00
4cb09ba8e7 Drop widths theme 2021-09-26 18:06:38 +02:00
f749cb0963 Small changes 2021-09-26 17:49:47 +02:00
c5e9448720 Add initial clustering per tile, very broken 2021-09-26 17:36:39 +02:00
e47224ecb8 Small fixes to the UK-addresses theme 2021-09-22 17:15:30 +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
c11ff652b8 More refactoring of the featuresources, cleanup, small changes 2021-09-21 01:47:58 +02:00
d144f70ffb Huge refactoring of the feature pipeline, WIP 2021-09-20 17:32:04 +02:00
973b5d8bbe Huge refactoring of the feature pipeline, WIP 2021-09-20 17:14:55 +02:00
6e9c8e2961 small refactorings 2021-09-18 02:47:22 +02:00
0fa3a28a48 CreateNewNode action: fix crash if option are undefined 2021-09-18 02:34:13 +02:00
30ceaa74b1 Add closestN function, update docs 2021-09-18 02:29:05 +02:00
d5853050b0 Fix padding calculation by using the leaflet builtin padding function 2021-09-18 02:28:17 +02:00
202e3cd677 Fix canonicalization if no units are given 2021-09-17 16:54:12 +02:00
7120af21c1 Fix caching 2021-09-15 13:19:43 +02:00
911675c509 Fix build 2021-09-15 12:56:52 +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
abbd617ca2 Small bugfixes for NP theme 2021-09-09 23:24:21 +02:00
78d6482c88 Add binoculars theme, auto reformat everything 2021-09-09 00:06:21 +02:00
a4f4365d71 Improve the precise input element, normalize 'and' to check if it is empty (and to check if no filter is active) 2021-09-08 01:36:44 +02:00
7e2744576c More work on the charging stations theme 2021-09-07 21:03:29 +02:00
780d353c8d Small improvements 2021-09-07 00:23:00 +02:00
4ace40c2f3 Fix various small bugs (directionPicker is square and has a max width; fix welcome message, fix translations 2021-09-03 17:00:36 +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
12323739f1 Merge master 2021-08-24 12:24:11 +02:00
d29302ca84 Small (and rough) script to create some very specific changesets 2021-08-24 12:13:47 +02:00
54c0d0890c Fix runtime error detection 2021-08-24 10:48:44 +02:00
c0fc459646 Small tweaks 2021-08-23 18:49:28 +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
0a01561d37 First working version of snapping to already existing ways from the add-UI (still too slow though), partial fix of #436 2021-08-07 21:19:01 +02:00
0c760c8458 Fix making changes to relations 2021-07-28 15:50:33 +02:00
0ab0d159cc Small tweaks 2021-07-28 15:14:13 +02:00
1d2d098167 Small fixes 2021-07-28 12:36:39 +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
79569f5119 Finetuning of the filter functionality 2021-07-27 19:39:57 +02:00
9248f264f1 Fix too much checks for messages 2021-07-27 19:35:19 +02:00
887f298bd8 Merge branch 'project/natuurpunt' into extra-filter 2021-07-27 17:01:19 +02:00
Ward
4539a3b21c extra styling changes location 2021-07-27 16:07:34 +02:00
Ward
208ab51c73 Merge branch 'project/natuurpunt' of https://github.com/pietervdvn/MapComplete into project/natuurpunt 2021-07-27 15:57:36 +02:00
Ward
597dc9900a fix merge conflicts 2021-07-27 15:57:25 +02:00
819785bc6c Remove unneeded console.log 2021-07-27 15:56:02 +02:00
Ward
93e1c60720 extra layout changes 2021-07-27 15:51:47 +02:00
4fd233e557 Optimize geojsonsource: do not calculate all tiles when unneeded 2021-07-27 15:06:15 +02:00
d9cc99c447 Add comparison tagsfilter with <=, >=, < and > 2021-07-27 13:44:05 +02:00
LiamSimons
261554a5d9 PDF export added - not working 2021-07-27 12:12:58 +02:00
7c03a185ac Inline AspectedRouting (package didn't want to build), update docs, update sharp dependency to the latest version 2021-07-27 12:11:42 +02:00
f8b7c1061a Update of aspected routing dep 2021-07-27 11:34:39 +02:00
13b2c1b572 Finishing touches to export functionality, enable it in cycle_infra 2021-07-26 20:59:55 +02:00
e0b71ca53e Wire in aspected-routing as calculated tag 2021-07-26 20:21:05 +02:00
77a0c29517 Add aspected routing as dependency 2021-07-26 18:02:28 +02:00
Ward
263cef5750 styling checkbox and selection 2021-07-26 17:45:54 +02:00
1be8e6e1d1 Attempt to fix empty changes 2021-07-26 16:51:57 +02:00
5cc963513a Small optimazations 2021-07-26 15:03:07 +02:00
Ward
e9160504a6 start creating extra filter 2021-07-26 12:26:41 +02:00
df6a6bbbde Enable high accuracy for watchPosition, possible fix for #444 2021-07-26 09:46:54 +02:00
330930d5d4 Merge develop 2021-07-24 02:32:33 +02:00
17b35e731e Formatting (pre-merge) 2021-07-24 01:59:57 +02:00
135219b5dc Add point-only layer for nature reserves, mark point-only layer as old (so that geometries will show up) 2021-07-23 19:12:13 +02:00
45631a921f Update documentation and allow code to be run while caching 2021-07-23 17:18:30 +02:00
ebf866f138 Formatting 2021-07-23 15:56:22 +02:00
3fbfbfdd6b Enable local storage for changes 2021-07-22 14:25:23 +02:00
aa9045fd13 Automatically move the map onto the feature, add arguments to helpers 2021-07-20 01:59:19 +02:00
Ward
3a16518bcb new color and icon for navigation 2021-07-19 16:32:54 +02:00
Ward
bd1b29e344 new color and icon for navigation 2021-07-19 16:23:13 +02:00
5e50dec232 Merge branch 'develop' into feature/road-splitting 2021-07-18 21:50:17 +02:00
219895191d Disable adding new elements-popup if the userbadge is disabled; add small cosmetic changes 2021-07-18 21:48:11 +02:00
248ea78b17 First working version of split road functionality 2021-07-18 21:37:14 +02:00
88cddd2367 Merge master 2021-07-18 18:44:25 +02:00
9f91d30147 Add flag to generate new items only once 2021-07-18 17:50:35 +02:00
b55f9a25c6 More work on refactoring the changes handling 2021-07-18 14:52:09 +02:00
42391b4ff1 Merge develop 2021-07-16 02:25:39 +02:00
3bcd255311 Add fake user switch to mimick a logged in user; fixes #432 2021-07-16 02:06:33 +02:00
abd7db100d Finish the export functionality: move logic around a bit, add license information for reusers, wire the functionality as feature switch 2021-07-16 01:42:09 +02:00
18e27c32be Merge branch 'develop' into feature/goejson-export 2021-07-16 00:57:39 +02:00
96ecded0b9 Further development of split-road feature; refactoring of change-handling 2021-07-15 20:47:28 +02:00
Arno Deceuninck
fc459e6011 Merge branch 'develop' into feature/goejson-export
# Conflicts:
#	tslint.json
2021-07-15 11:48:06 +02:00
Arno Deceuninck
62925a89ba Text in translation file + refactor 2021-07-15 11:13:00 +02:00
1010b159e5 Merge develop 2021-07-15 00:39:11 +02:00
1da3f8a332 Further work on the road splitting feature 2021-07-15 00:26:25 +02:00
9348a019d6 Further work on the road splitting feature 2021-07-15 00:26:18 +02:00
7deb9b5d53 Refactoring of AvailableBaseLayer 2021-07-14 16:13:23 +02:00
Arno Deceuninck
f77c1efdf5 SplitAction logic, not yet pushing changes to osm, pieter will take over 2021-07-14 15:28:02 +02:00
99512724e0 Fix build 2021-07-14 10:05:10 +02:00
a7024cc1fa Add designated lock icon 2021-07-14 00:23:32 +02:00
315e2f7fd1 Add precise input method, enabled for public bookcases 2021-07-14 00:17:15 +02:00
42d0071b26 Use canonical rendering in windpowermap 2021-07-13 18:52:02 +02:00
Arno Deceuninck
159e4d3350 Select point on minimap where to split 2021-07-13 16:11:57 +02:00
7a06ec1bd5
Merge pull request #424 from pietervdvn/develop-extra-feature
Location following feature
2021-07-13 15:04:35 +02:00
Ward
4c4b0356c1 location tracking centering screen 2021-07-13 14:57:51 +02:00
Ward
ca1871262e working location button 2021-07-13 14:39:50 +02:00
0ff6ac4af9 Clear pending changes if they are already applied 2021-07-13 14:31:03 +02:00
c26783187b Attempt to fix #422 2021-07-13 00:40:27 +02:00
33e2dca7e4 Add tests for tags, add check for duplicate names as layer ids, fix #393 2021-07-12 11:44:55 +02:00
a78e3866e0 Add GetParsed to localStorageSource 2021-07-11 12:52:33 +02:00
e594511e22 Better trimming of canonical values, no console output if not actually rewriting 2021-07-10 21:03:17 +02:00
6732c12a0c First version which caches changesets if not uploaded 2021-07-10 15:52:52 +02:00
d72dbc21df Merge master 2021-07-10 13:58:22 +02:00
622b48f32e Fix bug 2021-07-10 13:57:40 +02:00
e11a5ca17b Attempting to add in backend to the element 2021-07-10 13:47:53 +02:00
e8bf46a759 Fix bug: versions are reloaded now 2021-07-09 19:56:00 +02:00
68d66ffe62 Fix bug which breaks updates 2021-07-08 10:24:43 +02:00
fb3e3a040b Fix tests, fix units 2021-07-04 20:36:19 +02:00
d0997480c0 Decrese dependency on jquery 2021-07-03 22:24:12 +02:00
32e30e4b01 Merge develop 2021-07-03 21:28:24 +02:00
b6d9a3127c Add 'pagehide' to ask confirmation on ipads 2021-07-03 14:48:07 +02:00
d686a756fb Revert "Upload data less aggressively": mobile browsers don't ask for confirmation when closing
This reverts commit 0ef73c1c74.
2021-07-03 14:36:26 +02:00
e4c29ce660 First version of a delete button, is working 2021-07-03 14:35:44 +02:00
0ef73c1c74 Upload data less aggressively 2021-07-01 22:04:46 +02:00
de5f8f95bb Hook deleteWizard into the specialVisualisations (WIP) 2021-07-01 02:43:49 +02:00
5d3365afb8 First draft of an element which deletes points 2021-07-01 02:26:45 +02:00
bbfcee686f Refactor OsmObject to use eventsources, add first version of the delete button 2021-06-30 18:48:23 +02:00
ec7833b2ee Use addCallbackAndRunD 2021-06-30 18:47:48 +02:00
ba04beab2c Use addCallbackAndRunD 2021-06-30 16:02:46 +02:00
8d9a992507 Use addcallbackAndRunD 2021-06-30 15:42:31 +02:00
2004c5e606 Use addcallbackAndRunD 2021-06-30 15:42:12 +02:00
b5cc8d8194 Use addCallbackAndRunD instead off addCallbackAndRun 2021-06-30 15:41:21 +02:00
d7e421efc9 Add addCallbackAndRunD which ignores undefeind and null values 2021-06-30 15:37:30 +02:00
985e97d43b First steps for a delete button 2021-06-28 18:06:54 +02:00
785f57262e Further cleanup: further removal of the UIElement 2021-06-28 00:45:49 +02:00
ac201afb40 Documentation update 2021-06-24 14:03:02 +02:00
d31baabc5f Remove unneeded imports 2021-06-24 13:53:11 +02:00
ad2c7f3a46 Formatting 2021-06-24 13:52:43 +02:00
45bf08744f Fix isInside for multipolygons which are marked as polygon 2021-06-24 13:50:35 +02:00
d8330ed8c2 Stop outputting at 10 errors, use warning instead of error 2021-06-24 02:31:02 +02:00
aa50d33b81 Merge master 2021-06-24 01:55:45 +02:00
eba1772ab9 Add minimap baseElement; add this as special rendering, add minimap beneath direction input element 2021-06-23 02:15:28 +02:00
c6e4ebc347 Allow _ in preferences again, version bump 2021-06-22 14:29:22 +02:00
aaaf876257 Move imageAttributionSources around, improve fixTheme script 2021-06-22 14:21:32 +02:00
62244c02c4 Add erase all option, formatting 2021-06-22 12:13:44 +02:00
966fcda8d1 Add support for units to clean up tags when they enter mapcomplete; add example of this usage in the climbing theme, add climbing theme title icons with length and needed number of carabiners 2021-06-22 03:16:45 +02:00
89f6f606c8 Merge branch 'master' into feature/units 2021-06-22 00:38:36 +02:00
0012a2f683 First version of unit handling: canonicalizing on input 2021-06-22 00:29:07 +02:00
473918ac96 Fix generateCache script 2021-06-21 14:22:52 +02:00
f723349e40 Use merged-source instead of way-handled-source when calculating contained objects in the meta-tagging 2021-06-21 03:25:54 +02:00
116371c351 Better handling of metadata when the data is reloaded, remove unneeded console logging 2021-06-21 03:13:49 +02:00
fbf0f278e1 Splitting of the actual intersection calculator, better handling of intersections 2021-06-21 03:12:18 +02:00
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