Add license references
This commit is contained in:
parent
753de596c6
commit
468b20ecc2
3 changed files with 30 additions and 1 deletions
19
README.md
19
README.md
|
|
@ -156,3 +156,22 @@ Ilya Zverev; [Do What The F*ck You Want To Public License](https://github.com/Ma
|
|||
Copyright (c) 2018 Gautier Pelloux-Prayer; [MIT License](https://gitlab.com/bagage/leaflet.stravasegments/blob/master/LICENSE)
|
||||
* [polyline](https://github.com/mapbox/polyline)
|
||||
Copyright (c), Development Seed; [BSD 3-Clause License](https://github.com/mapbox/polyline/blob/master/LICENSE)
|
||||
* [leaflet-fullHash](https://github.com/KoGor/leaflet-fullHash)
|
||||
Copyright (c) 2014 KoGor; [MIT License](https://github.com/KoGor/leaflet-fullHash/blob/master/LICENSE)
|
||||
* [Turf.js](https://github.com/Turfjs/turf)
|
||||
Copyright (c) 2019 Morgan Herlocker; [MIT License](https://github.com/Turfjs/turf/blob/master/LICENSE)
|
||||
* [i18next](https://github.com/i18next/i18next), [i18next-browser-languageDetector](https://github.com/i18next/i18next-browser-languageDetector), [i18next-xhr-backend](https://github.com/i18next/i18next-xhr-backend), [jquery-i18next](https://github.com/i18next/jquery-i18next/blob/master/LICENSE)
|
||||
Copyright (c) 2017 i18next; [MIT License](https://github.com/i18next/i18next/blob/master/LICENSE)
|
||||
* [Leaflet TriangleMarker](https://github.com/themeler/leaflet-triangle-marker)
|
||||
Copyright (c) 2018 Przemysław Melnarowicz; [MIT License](https://github.com/themeler/leaflet-triangle-marker/blob/master/LICENSE)
|
||||
* [jsTree ](https://github.com/vakata/jstree)
|
||||
Copyright (c) 2014 Ivan Bozhanov; [MIT License](https://github.com/vakata/jstree/blob/master/LICENSE-MIT)
|
||||
* [Leaflet.snogylop](https://github.com/ebrelsford/leaflet.snogylop)
|
||||
Copyright (c) 2014 Eric Brelsford; [MIT License](https://github.com/ebrelsford/Leaflet.snogylop/blob/master/LICENSE)
|
||||
* [JOSM maps](https://josm.openstreetmap.de/wiki/Maps)
|
||||
imagery database is licensed under [CC-BY-SA](https://creativecommons.org/licenses/by-sa/3.0/)
|
||||
* [LayersCollection](https://github.com/Edward17/LayersCollection/tree/gh-pages)
|
||||
Copyright (c) 2016 Eduard <edward17>; [MIT License](https://github.com/Edward17/LayersCollection/blob/gh-pages/LICENSE.md)
|
||||
* [Leaflet-providers](https://github.com/leaflet-extras/leaflet-providers)
|
||||
Copyright (c) 2013 Leaflet Providers contributors All rights reserved.; [2-clause BSD License](https://github.com/leaflet-extras/leaflet-providers/blob/master/license.md)
|
||||
|
||||
|
|
|
|||
|
|
@ -298,7 +298,10 @@ gulp.task('layers', ['layers_config'], function () {
|
|||
// Workaround to get file extension removed from the dictionary key
|
||||
.pipe(rename({ extname: ".json" }))
|
||||
.pipe(jsonConcat(paths.layersDestName, function(data){
|
||||
return Buffer.from('BR.layerIndex = ' + JSON.stringify(data, null, 2) + ';');
|
||||
var header = '// Licensed under the MIT License (https://github.com/nrenner/brouter-web#license + Credits and Licenses),\n'
|
||||
+ '// except JOSM imagery database (dataSource=JOSM) is licensed under Creative Commons (CC-BY-SA),\n'
|
||||
+ '// see https://josm.openstreetmap.de/wiki/Maps#Otherimportantinformation\n';
|
||||
return Buffer.from(header + 'BR.layerIndex = ' + JSON.stringify(data, null, 2) + ';');
|
||||
}))
|
||||
.pipe(gulp.dest(paths.dest));
|
||||
});
|
||||
|
|
|
|||
7
layers/josm/LICENSE
Normal file
7
layers/josm/LICENSE
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
|
||||
JOSM imagery database is licensed under Creative Commons (CC-BY-SA).
|
||||
Content since April 2014 is dual licensed with LGPL (except contents copied from ELI, which is only CC-BY-SA).
|
||||
|
||||
https://creativecommons.org/licenses/by-sa/3.0/
|
||||
|
||||
Source: https://josm.openstreetmap.de/wiki/Maps#Otherimportantinformation
|
||||
Loading…
Add table
Add a link
Reference in a new issue