Commit graph

1820 commits

Author SHA1 Message Date
3ddf7c660e Merge branch 'master' of github.com:pietervdvn/MapComplete 2021-05-18 00:45:32 +02:00
041c6eab35 Add ground floor and first floor as options in defibrillator theme 2021-05-18 00:45:28 +02:00
4fb70c49fc Add layer icons 2021-05-17 17:27:28 +02:00
554fefd708 Add various small assets and improvements 2021-05-17 17:10:24 +02:00
ebc89385ea Attempt to update icon based on survey date, small translation update 2021-05-17 00:16:54 +02:00
Joost
beeea810d4
simplified way to answer "24/7" open 2021-05-16 21:16:40 +02:00
36a6dfb6cd Add checked icon 2021-05-16 15:41:12 +02:00
122bc7ba48 Update defibrillator layer with changes by @JoostSchouppe 2021-05-16 15:40:55 +02:00
d547b9f968 Fix metatagging and calculated tags in heterogenous data settings 2021-05-16 15:34:44 +02:00
Léo Villeveygoux
cb6d9095de Add french translation for sport_pitches 2021-05-16 04:54:07 +02:00
d336eafaa3 Add some failsafes: don't let those special renderings render if they are not defined 2021-05-10 23:46:50 +02:00
fbd984f6f9 Add badge status to lock 2021-05-04 17:31:41 +02:00
f2281b2cd3 Color and icon updates 2021-05-03 22:22:01 +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
2bf6bac994 Only show woonerf-explantion on living-streets 2021-04-25 22:16:11 +02:00
6b9d0162eb Speelplekken style tweaks 2021-04-25 16:01:33 +02:00
0aad17e63c Add living_street explanation, tweaked zoom levels 2021-04-25 13:22:50 +02:00
3e3da25edb Small fixes 2021-04-23 17:22:01 +02:00
4d5a786e10 Add more artwork 2021-04-23 16:50:57 +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
20386b7c0b Styling tweaks for speelplekken theme 2021-04-23 12:59:09 +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
0153d4d262 Merge master 2021-04-22 03:54:14 +02:00
8cc061c68f Small tweaks to themes 2021-04-21 17:42:28 +02:00
Win Olario
8de1662be1
Update bike_repair_station.json
Minor corrections to improve English sentence phrasings.
2021-04-21 14:20:46 +08:00
0d637131fb Unpacking some regexes for more accurate taginfo data 2021-04-20 11:04:22 +02:00
ce9b0eabb1 Move layers to canonical paths, rewrite some regexes as 'or' as to make the taginfo-information more accurate 2021-04-20 10:49:45 +02:00
b6b22526dd Automatically place the label below the icon 2021-04-11 00:09:19 +02:00
12b92d286b Refactoring of labels, better exposure 2021-04-10 23:53:13 +02:00
2ad72ae346 Merge develop 2021-04-10 16:12:40 +02:00
244bbebb0b Merge license info files together 2021-04-10 13:57:16 +02:00
febc455216 Small rewriting of some licenses 2021-04-10 03:58:54 +02:00
f10e7f008f Add more licenses, fix themes as per validation rules 2021-04-10 03:19:26 +02:00
954a948cf3 More license info 2021-04-10 01:18:17 +02:00
5df2bedcaf Removed todo's 2021-04-09 03:03:23 +02:00
a16745d0d1 Add more license information 2021-04-09 02:56:48 +02:00
f11930892e More attribution information 2021-04-09 00:19:32 +02:00
39711373cd Small improvement in preset layout 2021-04-08 13:34:35 +02:00
2aad1e1577 Got usage confirmation in email 2021-04-08 13:34:11 +02:00
d5d519abd9 Fix trailing comma 2021-04-07 22:03:38 +02:00
e3d6798db9 Merge branch 'master' of github.com:pietervdvn/MapComplete 2021-04-07 22:00:31 +02:00
d907ab5974 More license info 2021-04-07 22:00:14 +02:00
f8ccccc759 Fix rendering of camera:mount 2021-04-07 21:59:55 +02:00
65862e5ba7 Add license info 2021-04-07 20:29:23 +02:00
1a2714c6ff Small fixes to the title of a bike shop 2021-04-07 20:27:36 +02:00
Joost
97fc6b1046
fixed spelling 2021-04-07 10:29:06 +02:00
b6401e4ca1 Fix issue in nature reserves title 2021-04-06 19:59:49 +02:00
4d5c250f8f Add HTML rendering options to icons 2021-04-06 18:17:07 +02:00
e47accbab1 Fix small issue: wrong format for addExtraTags in some layers 2021-03-31 15:50:29 +02:00
a875e2f767 Bump version number 2021-03-31 11:39:56 +02:00
fc43447622 Fix email question 2021-03-30 16:31:51 +02:00
13d64f1c89 Bump latlon2country due to fixed bug; fix typo 2021-03-30 16:04:36 +02:00
89033eedfe Add dutch translation 2021-03-29 18:07:22 +02:00
86ecbbfc8f Small rewording 2021-03-29 13:59:49 +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
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
f124d9ded7 Add custom javascript snippets to calculate tags 2021-03-24 01:25:57 +01:00
1ffad21c62 Refactoring of tagsFilters, fix conditional 'hideInAnswer' 2021-03-22 02:17:00 +01:00
4da98ff86c Softer rendering of speelplekken 2021-03-21 00:44:04 +01:00
f659bc1141 Add possibility to use a cutom overpass script, add 'grassfields in parks'-layer 2021-03-20 23:45:52 +01:00
a71324154d English translation of playground theme 2021-03-17 14:36:07 +01:00
85b3612bf6 Add more playground translations in english 2021-03-16 19:31:50 +01:00
f4a59d3a9e Various small fixes to presets, add slow roads to speelplekken-theme 2021-03-14 20:40:54 +01:00
94c0b8667a Add draft of sport pitches 2021-03-14 03:15:06 +01:00
5af94b012c More questions for the playgrounds-theme 2021-03-14 01:54:02 +01:00
a50b9fba59 Cleanup of old themes, add playground-layer, add play forests, add speelplekken stub 2021-03-14 01:40:17 +01:00
1c2646ae19 Add better error messages when a translation is missing; add play forests 2021-03-13 19:08:31 +01:00
8c5d4ed78f Customizations/AllKnownLayers.ts 2021-03-10 20:18:05 +01:00
f0742ab812 Less options for picnic tables, add dutch translation 2021-03-01 21:14:22 +01:00
8d99d64e87 Add asset, version bump 2021-02-26 17:22:47 +01:00
3a944889b5 Add picnic tables 2021-02-26 17:22:24 +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
6c4b15e33d Add various bug fixes and improvements 2021-01-21 23:39:31 +01:00
ccc1f8eff5 Small fixes 2021-01-17 23:06:05 +01:00
137e25037c Fix various small typos 2021-01-12 20:46:01 +01:00
6a254e10e5 Add operator to vending machine 2021-01-09 02:32:05 +01:00
73f991ae0f Add fietsambassade icon if needed 2021-01-09 02:28:29 +01:00
c58655d2d5 Actually add assets 2021-01-09 02:12:31 +01:00
303485df7e Add bicycle tube vending machines 2021-01-09 02:11:43 +01:00
2a31badd3d New roaming rendering system which allows layers to push questions, badges and title-icons to all the other layers, improve bike-clean-services 2021-01-08 03:57:18 +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
a782266a2f Add bicycle libraries 2021-01-05 02:59:29 +01:00
85a6894c92 Use proper description in layerconfig 2021-01-05 01:30:59 +01:00
c548c26158 Expose clustering in layoutConfig 2021-01-04 20:09:07 +01:00
27f2206cae Merge branch 'master' into refactor/clean-layer-rendering 2021-01-04 19:08:38 +01:00
adce2732b7 Merge trees theme 2021-01-04 19:08:22 +01:00
da7d1287f0 Merge master 2021-01-04 16:09:12 +01:00
cc48d34804 Fix associations 2021-01-04 16:02:54 +01:00
c2a2306d18 Add club=cycling to cyclofix 2021-01-04 15:30:02 +01:00
ca15688a39 Add bicycle associations to cycling themed layer 2021-01-04 15:21:43 +01:00
778044d0fb More refactoring, stabilizing rotation and direction_gradient 2021-01-04 04:06:21 +01:00
85ed665f20 Fix condition 2020-12-27 22:24:27 +01:00
Midgard
b8075a6a55
Extract tree_nodes layer, add heritage tags & img 2020-12-27 14:23:45 +01:00
0b28c5d319 Fix typo 2020-12-25 21:16:42 +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
7edf169003 Add location support for bicycle parkings 2020-12-13 20:20:34 +01:00
Pieter Vander Vennet
354713221a Better docs, change wayhandling of nature_reserves 2020-12-09 17:30:11 +01:00
Pieter Vander Vennet
6391a3c88a Add clearer description of a bicycle pump to prevent fietsersbond-influx of adding wrong data 2020-12-09 16:45:37 +01:00
Pieter Vander Vennet
a9dfce72a6 Fix performance, add 'isClosed' badge to shops 2020-12-06 00:20:27 +01:00
Pieter Vander Vennet
6299c8223e Add composable icons, add icon badges and overlays, add icon badge to drinking water and cyclofix 2020-11-27 03:05:29 +01:00
Pieter Vander Vennet
43a9b57db9 Readd attribution, small fixes 2020-11-25 16:10:14 +01:00
Pieter Vander Vennet
dc5cd08a3a Add send email icon, add default icons series 2020-11-24 12:52:01 +01:00
Pieter Vander Vennet
488fd16873 Small bug fixes 2020-11-24 11:10:43 +01:00
Pieter Vander Vennet
02ce4e5d7e Small workaround for share api which does not share the hash 2020-11-23 03:13:52 +01:00
Pieter Vander Vennet
d953dd4aa6 Merge master 2020-11-21 16:46:05 +01:00
Pieter Vander Vennet
4018e6710b Add share icon, reordering of questions and icons, add urinal to toilet 2020-11-21 16:44:48 +01:00
Pieter Vander Vennet
a261577ef3 Reorder questions 2020-11-21 16:44:15 +01:00
Pieter Vander Vennet
cd548ab04b Add Fietsambassade logo to cyclofix; various svg- and css fixes 2020-11-20 14:00:37 +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
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
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
Pieter Vander Vennet
36f5e896df Add icons 2020-11-09 20:20:39 +01:00
Pieter Vander Vennet
556ca64382 Add bicycle cleaning services, add fancy icons for bicycle shops 2020-11-09 19:55:29 +01:00
Pieter Vander Vennet
3a0078d46e Add images to all the themes 2020-11-02 23:17:20 +01:00
Pieter Vander Vennet
032bf89017 Merge master 2020-10-27 14:37:32 +01:00
Pieter Vander Vennet
31f91097fd Add operator and fietsambassade gent 2020-10-27 14:21:13 +01:00
Pieter Vander Vennet
895aa132ec Huge refactoring (WIP) 2020-10-27 01:01:34 +01:00
Pieter Vander Vennet
99225957cc Add metatagging, fritures 2020-10-19 12:08:42 +02:00
Pieter Vander Vennet
0d6412f824 Add loading of live data 2020-10-12 01:25:27 +02:00
Pieter Vander Vennet
62785aa4c4 Fix translations, add opening hours to cycle themed objects 2020-10-09 20:41:26 +02:00
Pieter Vander Vennet
35bd49e5ba Last finishing touches for the opening-hours visualization 2020-10-09 20:10:21 +02:00
Pieter Vander Vennet
2a704a2b1d First iteration of the timepicker 2020-10-04 12:55:44 +02:00
Pieter Vander Vennet
9970c4b8bb Cleanup of empty classes, partial use of default export 2020-10-02 19:00:24 +02:00
Pieter Vander Vennet
9b2530197a Add bollard icon, add extra options for bicycle parking 2020-10-01 01:23:05 +02:00
Pieter Vander Vennet
649b273b97 Different (shorter) phrasings of access 2020-09-30 23:09:48 +02:00
Pieter Vander Vennet
5c771c7b59 Fix typo 2020-09-30 23:05:47 +02:00
Pieter Vander Vennet
3fb782f92c Add access to bicycle parking quests 2020-09-30 23:04:35 +02:00
Pieter Vander Vennet
6509358f84 Fix WMS layers of the layer editor index 2020-09-27 18:45:37 +02:00
Pieter Vander Vennet
1eddabd8c9 Improvements to translation checking in createLayouts, small translation fixes 2020-09-25 23:59:19 +02:00
Pieter Vander Vennet
387d8d4dc1 Cleaning up log messages, cleaning svg files 2020-09-25 23:37:59 +02:00
Pieter Vander Vennet
232431bbf7 Fixed the ghost bike icon as png 2020-09-25 23:24:35 +02:00
Pieter Vander Vennet
165084d4d5 Finish of the cleanup of themes as json 2020-09-20 23:01:08 +02:00
Pieter Vander Vennet
c5b7d66345 Add operational status to drinking water 2020-09-20 21:46:55 +02:00
Pieter Vander Vennet
39f4a549f4 Furhter cleanup of the themes 2020-09-19 13:38:16 +02:00
Pieter Vander Vennet
bc9ece2f95 Further cleanup 2020-09-19 13:37:04 +02:00
ToastHawaii
acbbbeabfd prepar for translation 2020-09-18 09:42:25 +02:00
ToastHawaii
9bd7da1b7c
Merge branch 'master' into master 2020-09-17 22:23:27 +02:00
ToastHawaii
c2301b3394 Add german translation for viewpoint 2020-09-17 21:56:03 +02:00
ToastHawaii
13acfa98cd Add german translation for ghost bike 2020-09-17 21:53:00 +02:00
ToastHawaii
23e612e54f Add german translation for drinking water 2020-09-17 21:45:51 +02:00
ToastHawaii
0e6765a4c2 Add german translation for cycling themed objects 2020-09-17 21:43:38 +02:00
ToastHawaii
c11db87a72 Add german translation for bike repair station 2020-09-17 21:38:08 +02:00
Pieter Vander Vennet
f544ca805a Css fixes 2020-09-17 20:59:05 +02:00
ToastHawaii
8324ae8db9 Add german translation for bike parking 2020-09-17 17:47:33 +02:00
ToastHawaii
2ab29191da Add german translation for bike cafes. 2020-09-17 17:18:24 +02:00
Pieter Vander Vennet
2dd428497e Various small fixes 2020-09-17 13:13:02 +02:00
Pieter Vander Vennet
1ea285d303 Add bike-other-shop into bikeshop layers, add sport shops to show up too (even if they don't sell bicycles) 2020-09-16 02:40:44 +02:00
Pieter Vander Vennet
02c2e48293 Porting cyclofix-shops to a .json definition, removing now unneeded classes 2020-09-16 01:29:38 +02:00
Pieter Vander Vennet
21c71febca Small tweaks to the cyclofix colours 2020-09-11 19:14:04 +02:00
Pieter Vander Vennet
f942be227a Add cycling-themed layer 2020-09-11 02:42:22 +02:00
Pieter Vander Vennet
46287c86ae Images cleanup 2020-09-11 02:42:07 +02:00
Pieter Vander Vennet
0c2f662040 Port bicycle cafés to JSON-defined-layer 2020-09-11 02:14:16 +02:00
Pieter Vander Vennet
c944156d87 Further work, add checkboxes as option 2020-09-10 19:33:06 +02:00
Pieter Vander Vennet
e069b31e4e Various bug fixes and updates 2020-09-09 18:42:13 +02:00
Pieter Vander Vennet
97ec893479 Add more checks on parsing from JSON, fix of those issues on the builtin themes 2020-09-08 00:33:05 +02:00
Pieter Vander Vennet
9e9d80c045 Porting repair_station to JSON configuration file 2020-09-05 17:43:30 +02:00
Pieter Vander Vennet
b7b1bc13e4 Fix bugs with themes, add movement of tag renderings in custom theme generator 2020-09-05 15:27:35 +02:00
Pieter Vander Vennet
80f0dbe6e3 New mapcomplete version 2020-09-05 01:40:43 +02:00
Pieter Vander Vennet
9e4035befc Port bird-hides to new JSON-format, various improvements 2020-09-03 19:05:18 +02:00
Pieter Vander Vennet
00a6611e1f Fixing too many bugs, cleaning up some old parts of the code 2020-09-03 16:44:48 +02:00
Pieter Vander Vennet
9a420efa98 Finishing port of parking layer to json template 2020-09-03 02:18:23 +02:00
Pieter Vander Vennet
5f4c2ec536 Ported bicycle parking layer to .json-file 2020-09-03 02:05:09 +02:00
Pieter Vander Vennet
ee9c9e201f More work on the custom theme generator, kindof works now 2020-09-03 00:00:37 +02:00
Pieter Vander Vennet
2052976909 First steps for a decent custom theme generator 2020-08-31 02:59:47 +02:00