Add more license information
This commit is contained in:
parent
f11930892e
commit
a16745d0d1
61 changed files with 508 additions and 4 deletions
6
Models/smallLicense.ts
Normal file
6
Models/smallLicense.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
export default interface SmallLicense {
|
||||
path: string,
|
||||
authors: string[],
|
||||
license: string,
|
||||
sources: string[]
|
||||
}
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"authors": [
|
||||
"Turvec"
|
||||
"Turvec Solutions"
|
||||
],
|
||||
"path": "pump_example.png",
|
||||
"license": "All rights reserved",
|
||||
"license": "Used with permission; all rights reserved",
|
||||
"note": "Used with permission after email conversation, can be assumed to be CC-BY",
|
||||
"sources": [
|
||||
"https://turvec.com/product/public-bike-pump/"
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"Teeken"
|
||||
"©Altinnova"
|
||||
],
|
||||
"path": "pump_example_round.jpg",
|
||||
"license": "?",
|
||||
"license": "Used with permission; all rights reserved",
|
||||
"sources": [
|
||||
"https://www.altinnova.com",
|
||||
"https://www.teeken.de/produkte/stadtmobiliar/green-air1/12?lang=3"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "board.svg",
|
||||
"license": "CC0",
|
||||
"sources": ["https://wiki.openstreetmap.org/wiki/File:Board-14.svg"]
|
||||
}
|
7
assets/layers/maps/map.svg.license_info.json
Normal file
7
assets/layers/maps/map.svg.license_info.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "map.svg",
|
||||
"license": "CC-BY-SA",
|
||||
"sources": ["https://www.OpenStreetMap.org"],
|
||||
"note": "Modified OpenStreetMap logo"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "osm-logo-buggy-attr.svg",
|
||||
"license": "CC-BY-SA",
|
||||
"sources": ["https://www.OpenStreetMap.org"],
|
||||
"note": "Modified OpenStreetMap logo"
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "osm-logo-white-bg.svg",
|
||||
"license": "CC-BY-SA",
|
||||
"sources": ["https://www.OpenStreetMap.org"],
|
||||
"note": "Modified OpenStreetMap logo"
|
||||
}
|
10
assets/layers/nature_reserve/ANB.jpg.license_info.json
Normal file
10
assets/layers/nature_reserve/ANB.jpg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Agentschap Natuur en Bos"
|
||||
],
|
||||
"path": "ANB.jpg",
|
||||
"license": "Logo; All rights reserved",
|
||||
"sources": [
|
||||
"https://www.natuurenbos.be/"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Natuurpunt"
|
||||
],
|
||||
"path": "Natuurpunt.jpg",
|
||||
"license": "Logo; All rights reserved",
|
||||
"sources": [
|
||||
"https://www.natuurpunt.be/"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"@ <20><>ду<D0B4><D183>рд Ч<><D0A7>рн<D180><D0BD>х"
|
||||
],
|
||||
"path": "nature_reserve.svg",
|
||||
"license": "CC-BY 3.0",
|
||||
"sources": [
|
||||
"https://www.onlinewebfonts.com/icon/389579"
|
||||
]
|
||||
}
|
11
assets/layers/sport_pitch/tabletennis.svg.license_info.json
Normal file
11
assets/layers/sport_pitch/tabletennis.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"@fontawesome"
|
||||
],
|
||||
"path": "tabletennis.svg",
|
||||
"license": "CC-BY 4.0",
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:Font_Awesome_5_solid_table-tennis.svg",
|
||||
" https://fontawesome.com"
|
||||
]
|
||||
}
|
10
assets/layers/toilets/toilets.svg.license_info.json
Normal file
10
assets/layers/toilets/toilets.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"none"
|
||||
],
|
||||
"path": "toilets.svg",
|
||||
"license": "CC0",
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Toilets-16.svg"
|
||||
]
|
||||
}
|
11
assets/layers/toilets/urinal.svg.license_info.json
Normal file
11
assets/layers/toilets/urinal.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"asianson.design",
|
||||
" Pieter Vander Vennet"
|
||||
],
|
||||
"path": "urinal.svg",
|
||||
"license": "CC-BY",
|
||||
"sources": [
|
||||
"https://thenounproject.com/term/urinal/1307984/"
|
||||
]
|
||||
}
|
6
assets/layers/toilets/wheelchair.svg.license_info.json
Normal file
6
assets/layers/toilets/wheelchair.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "wheelchair.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
10
assets/layers/viewpoint/viewpoint.svg.license_info.json
Normal file
10
assets/layers/viewpoint/viewpoint.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"none"
|
||||
],
|
||||
"path": "viewpoint.svg",
|
||||
"license": "CC0",
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:Viewpoint-16.svg"
|
||||
]
|
||||
}
|
10
assets/mangrove_logo.png.license_info.json
Normal file
10
assets/mangrove_logo.png.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Mangrove Reviews"
|
||||
],
|
||||
"path": "mangrove_logo.png",
|
||||
"license": "logo; All rights reserved",
|
||||
"sources": [
|
||||
"https://mangrove.reviews/"
|
||||
]
|
||||
}
|
10
assets/social_image_front.png.license_info.json
Normal file
10
assets/social_image_front.png.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "social_image_front.png",
|
||||
"license": "CC-BY-SA",
|
||||
"sources": [
|
||||
""
|
||||
]
|
||||
}
|
10
assets/svg/SocialImageForeground.svg.license_info.json
Normal file
10
assets/svg/SocialImageForeground.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "SocialImageForeground.svg",
|
||||
"license": "CC-BY-SA",
|
||||
"sources": [
|
||||
""
|
||||
]
|
||||
}
|
10
assets/svg/add.svg.license_info.json
Normal file
10
assets/svg/add.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "add.svg",
|
||||
"license": "CC0",
|
||||
"sources": [
|
||||
""
|
||||
]
|
||||
}
|
8
assets/svg/addSmall.svg.license_info.json
Normal file
8
assets/svg/addSmall.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "addSmall.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/ampersand.svg.license_info.json
Normal file
6
assets/svg/ampersand.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "ampersand.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
8
assets/svg/arrow-left-smooth.svg.license_info.json
Normal file
8
assets/svg/arrow-left-smooth.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "arrow-left-smooth.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
8
assets/svg/arrow-right-smooth.svg.license_info.json
Normal file
8
assets/svg/arrow-right-smooth.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "arrow-right-smooth.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
8
assets/svg/back.svg.license_info.json
Normal file
8
assets/svg/back.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "back.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
11
assets/svg/bug.svg.license_info.json
Normal file
11
assets/svg/bug.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"Github"
|
||||
],
|
||||
"path": "bug.svg",
|
||||
"license": "MIT",
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:Octicons-bug.svg",
|
||||
" https://github.com/primer/octicons"
|
||||
]
|
||||
}
|
8
assets/svg/checkmark.svg.license_info.json
Normal file
8
assets/svg/checkmark.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "checkmark.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
8
assets/svg/circle.svg.license_info.json
Normal file
8
assets/svg/circle.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "circle.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
8
assets/svg/clock.svg.license_info.json
Normal file
8
assets/svg/clock.svg.license_info.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet"
|
||||
],
|
||||
"path": "clock.svg",
|
||||
"license": "CC0",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/close.svg.license_info.json
Normal file
6
assets/svg/close.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "close.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/compass.svg.license_info.json
Normal file
6
assets/svg/compass.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "compass.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/crosshair-blue-center.svg.license_info.json
Normal file
6
assets/svg/crosshair-blue-center.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "crosshair-blue-center.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/crosshair-blue.svg.license_info.json
Normal file
6
assets/svg/crosshair-blue.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "crosshair-blue.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/crosshair.svg.license_info.json
Normal file
6
assets/svg/crosshair.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "crosshair.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
10
assets/svg/delete_icon.svg.license_info.json
Normal file
10
assets/svg/delete_icon.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Dave Gandy"
|
||||
],
|
||||
"path": "delete_icon.svg",
|
||||
"license": "CC-BY-SA",
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:Trash_font_awesome.svg\rT"
|
||||
]
|
||||
}
|
6
assets/svg/direction.svg.license_info.json
Normal file
6
assets/svg/direction.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "direction.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/direction_gradient.svg.license_info.json
Normal file
6
assets/svg/direction_gradient.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "direction_gradient.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/down.svg.license_info.json
Normal file
6
assets/svg/down.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "down.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/envelope.svg.license_info.json
Normal file
6
assets/svg/envelope.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "envelope.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
11
assets/svg/floppy.svg.license_info.json
Normal file
11
assets/svg/floppy.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"The Tango Desktop Project"
|
||||
],
|
||||
"path": "floppy.svg",
|
||||
"license": "CC0",
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:Media-floppy.svg",
|
||||
" http://tango.freedesktop.org/Tango_Desktop_Project"
|
||||
]
|
||||
}
|
6
assets/svg/gear.svg.license_info.json
Normal file
6
assets/svg/gear.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "gear.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/help.svg.license_info.json
Normal file
6
assets/svg/help.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "help.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
10
assets/svg/home.svg.license_info.json
Normal file
10
assets/svg/home.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Timothy Miller"
|
||||
],
|
||||
"path": "home.svg",
|
||||
"license": "CC-BY-SA 3.0",
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:Home-icon.svg"
|
||||
]
|
||||
}
|
10
assets/svg/home_white_bg.svg.license_info.json
Normal file
10
assets/svg/home_white_bg.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Timothy Miller"
|
||||
],
|
||||
"path": "home_white_bg.svg",
|
||||
"license": "CC-BY-SA 3.0",
|
||||
"sources": [
|
||||
"https://commons.wikimedia.org/wiki/File:Home-icon.svg"
|
||||
]
|
||||
}
|
11
assets/svg/josm_logo.svg.license_info.json
Normal file
11
assets/svg/josm_logo.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"JOSM Team"
|
||||
],
|
||||
"path": "josm_logo.svg",
|
||||
"license": "CC0",
|
||||
"sources": [
|
||||
"https://wiki.openstreetmap.org/wiki/File:JOSM_Logotype_2019.svg",
|
||||
" https://josm.openstreetmap.de/"
|
||||
]
|
||||
}
|
6
assets/svg/layers.svg.license_info.json
Normal file
6
assets/svg/layers.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "layers.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/layersAdd.svg.license_info.json
Normal file
6
assets/svg/layersAdd.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "layersAdd.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/logo.svg.license_info.json
Normal file
6
assets/svg/logo.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "logo.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/logout.svg.license_info.json
Normal file
6
assets/svg/logout.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "logout.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
11
assets/svg/mapcomplete_logo.svg.license_info.json
Normal file
11
assets/svg/mapcomplete_logo.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"Pieter Vander Vennet",
|
||||
" OSM"
|
||||
],
|
||||
"path": "mapcomplete_logo.svg",
|
||||
"license": "Logo; CC-BY-SA",
|
||||
"sources": [
|
||||
""
|
||||
]
|
||||
}
|
10
assets/svg/mapillary.svg.license_info.json
Normal file
10
assets/svg/mapillary.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"Mapillary"
|
||||
],
|
||||
"path": "mapillary.svg",
|
||||
"license": "Logo; All rights reserved",
|
||||
"sources": [
|
||||
"https://mapillary.com/"
|
||||
]
|
||||
}
|
6
assets/svg/min.svg.license_info.json
Normal file
6
assets/svg/min.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "min.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/no_checkmark.svg.license_info.json
Normal file
6
assets/svg/no_checkmark.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "no_checkmark.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/or.svg.license_info.json
Normal file
6
assets/svg/or.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "or.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
10
assets/svg/osm-copyright.svg.license_info.json
Normal file
10
assets/svg/osm-copyright.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"none"
|
||||
],
|
||||
"path": "osm-copyright.svg",
|
||||
"license": "logo; all rights reserved",
|
||||
"sources": [
|
||||
"https://www.OpenStreetMap.org"
|
||||
]
|
||||
}
|
10
assets/svg/osm-logo-us.svg.license_info.json
Normal file
10
assets/svg/osm-logo-us.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"OpenStreetMap U.S. Chapter"
|
||||
],
|
||||
"path": "osm-logo-us.svg",
|
||||
"license": "Logo",
|
||||
"sources": [
|
||||
"https://www.openstreetmap.us/"
|
||||
]
|
||||
}
|
10
assets/svg/osm-logo.svg.license_info.json
Normal file
10
assets/svg/osm-logo.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"none"
|
||||
],
|
||||
"path": "osm-logo.svg",
|
||||
"license": "logo; all rights reserved",
|
||||
"sources": [
|
||||
"https://www.OpenStreetMap.org"
|
||||
]
|
||||
}
|
11
assets/svg/pencil.svg.license_info.json
Normal file
11
assets/svg/pencil.svg.license_info.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"authors": [
|
||||
"GitHub Octicons"
|
||||
],
|
||||
"path": "pencil.svg",
|
||||
"license": "MIT",
|
||||
"sources": [
|
||||
"https://github.com/primer/octicons",
|
||||
" https://commons.wikimedia.org/wiki/File:Octicons-pencil.svg"
|
||||
]
|
||||
}
|
10
assets/svg/phone.svg.license_info.json
Normal file
10
assets/svg/phone.svg.license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"authors": [
|
||||
"@ tyskrat"
|
||||
],
|
||||
"path": "phone.svg",
|
||||
"license": "CC-BY 3.0",
|
||||
"sources": [
|
||||
"https://www.onlinewebfonts.com/icon/1059"
|
||||
]
|
||||
}
|
6
assets/svg/pin.svg.license_info.json
Normal file
6
assets/svg/pin.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "pin.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
6
assets/svg/plus.svg.license_info.json
Normal file
6
assets/svg/plus.svg.license_info.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"authors": [],
|
||||
"path": "plus.svg",
|
||||
"license": "CC0; trivial",
|
||||
"sources": []
|
||||
}
|
35
test/ImageAttribution.spec.ts
Normal file
35
test/ImageAttribution.spec.ts
Normal file
|
@ -0,0 +1,35 @@
|
|||
import {Utils} from "../Utils";
|
||||
|
||||
Utils.runningFromConsole = true;
|
||||
import {equal} from "assert";
|
||||
import T from "./TestHelper";
|
||||
import {FromJSON} from "../Customizations/JSON/FromJSON";
|
||||
import Locale from "../UI/i18n/Locale";
|
||||
import Translations from "../UI/i18n/Translations";
|
||||
import {UIEventSource} from "../Logic/UIEventSource";
|
||||
import TagRenderingConfig from "../Customizations/JSON/TagRenderingConfig";
|
||||
import EditableTagRendering from "../UI/Popup/EditableTagRendering";
|
||||
import {Translation} from "../UI/i18n/Translation";
|
||||
import {OH, OpeningHour} from "../UI/OpeningHours/OpeningHours";
|
||||
import PublicHolidayInput from "../UI/OpeningHours/PublicHolidayInput";
|
||||
import {SubstitutedTranslation} from "../UI/SubstitutedTranslation";
|
||||
import {Tag} from "../Logic/Tags/Tag";
|
||||
import {And} from "../Logic/Tags/And";
|
||||
import {ImageSearcher} from "../Logic/Actors/ImageSearcher";
|
||||
|
||||
|
||||
new T("ImageSearcher", [
|
||||
[
|
||||
"Should find images",
|
||||
() => {
|
||||
const tags = new UIEventSource({
|
||||
"mapillary": "https://www.mapillary.com/app/?pKey=bYH6FFl8LXAPapz4PNSh3Q"
|
||||
});
|
||||
const searcher = ImageSearcher.construct(tags)
|
||||
const result = searcher.data[0];
|
||||
equal(result.url, "https://www.mapillary.com/map/im/bYH6FFl8LXAPapz4PNSh3Q");
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
])
|
Loading…
Reference in a new issue