Skip to content

Commit 85f124d

Browse files
committed
Update mapbox-gl-js v2 license
1 parent 3136a53 commit 85f124d

File tree

4 files changed

+67
-40
lines changed

4 files changed

+67
-40
lines changed

LICENSE.txt

+58-35
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,42 @@
1+
mapbox-gl-js v2.0
2+
3+
Mapbox Web SDK
4+
15
Copyright (c) 2020, Mapbox
26

37
All rights reserved.
48

9+
Mapbox gl-js version 2.0 or higher (“Mapbox Web SDK”) must be used according to
10+
the Mapbox Terms of Service. This license allows developers with a current active
11+
Mapbox account to use and modify the Mapbox Web SDK. Developers may modify the
12+
Mapbox Web SDK code so long as the modifications do not change or interfere with
13+
marked portions of the code related to billing, accounting, and anonymized data
14+
collection. The Mapbox Web SDK only sends anonymized usage data, which Mapbox uses
15+
for fixing bugs and errors, accounting, and generating aggregated anonymized
16+
statistics. This license terminates automatically if a user no longer has an
17+
active Mapbox account.
18+
19+
For the full license terms, please see the Mapbox Terms of Service at
20+
https://www.mapbox.com/legal/tos/.
21+
22+
-------------------------------------------------------------------------------
23+
24+
Contains code from mapbox-gl-js v1.13 and earlier
25+
26+
Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
27+
28+
Copyright (c) 2020, Mapbox
529
Redistribution and use in source and binary forms, with or without modification,
630
are permitted provided that the following conditions are met:
731

8-
* Redistributions of source code must retain the above copyright notice,
9-
this list of conditions and the following disclaimer.
10-
* Redistributions in binary form must reproduce the above copyright notice,
11-
this list of conditions and the following disclaimer in the documentation
12-
and/or other materials provided with the distribution.
13-
* Neither the name of Mapbox GL JS nor the names of its contributors
14-
may be used to endorse or promote products derived from this software
15-
without specific prior written permission.
32+
* Redistributions of source code must retain the above copyright notice,
33+
this list of conditions and the following disclaimer.
34+
* Redistributions in binary form must reproduce the above copyright notice,
35+
this list of conditions and the following disclaimer in the documentation
36+
and/or other materials provided with the distribution.
37+
* Neither the name of Mapbox GL JS nor the names of its contributors
38+
may be used to endorse or promote products derived from this software
39+
without specific prior written permission.
1640

1741
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1842
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
@@ -23,33 +47,8 @@ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2347
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
2448
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
2549
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
26-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28-
29-
30-
-------------------------------------------------------------------------------
31-
32-
Contains code from glfx.js
33-
34-
Copyright (C) 2011 by Evan Wallace
35-
36-
Permission is hereby granted, free of charge, to any person obtaining a copy
37-
of this software and associated documentation files (the "Software"), to deal
38-
in the Software without restriction, including without limitation the rights
39-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
40-
copies of the Software, and to permit persons to whom the Software is
41-
furnished to do so, subject to the following conditions:
42-
43-
The above copyright notice and this permission notice shall be included in
44-
all copies or substantial portions of the Software.
45-
46-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
47-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
48-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
49-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
51-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
52-
THE SOFTWARE.
50+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
51+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5352

5453
--------------------------------------------------------------------------------
5554

@@ -82,3 +81,27 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
8281
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
8382
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
8483
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
84+
85+
-------------------------------------------------------------------------------
86+
87+
Contains code from glfx.js
88+
89+
Copyright (C) 2011 by Evan Wallace
90+
91+
Permission is hereby granted, free of charge, to any person obtaining a copy
92+
of this software and associated documentation files (the "Software"), to deal
93+
in the Software without restriction, including without limitation the rights
94+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
95+
copies of the Software, and to permit persons to whom the Software is
96+
furnished to do so, subject to the following conditions:
97+
98+
The above copyright notice and this permission notice shall be included in
99+
all copies or substantial portions of the Software.
100+
101+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
104+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
106+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
107+
THE SOFTWARE.

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ native SDKs. For code and issues specific to the native SDKs, see the
2828

2929
## License
3030

31-
Mapbox GL JS is licensed under the [3-Clause BSD license](./LICENSE.txt).
32-
The licenses of its dependencies are tracked via [FOSSA](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fmapbox-gl-js):
31+
Copyright © 2020 Mapbox
3332

34-
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fmapbox-gl-js.svg?type=large)](https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmapbox%2Fmapbox-gl-js?ref=badge_large)
33+
All rights reserved.
34+
35+
Mapbox gl-js version 2.0 or higher (“Mapbox Web SDK”) must be used according to the Mapbox Terms of Service. This license allows developers with a current active Mapbox account to use and modify the Mapbox Web SDK. Developers may modify the Mapbox Web SDK code so long as the modifications do not change or interfere with marked portions of the code related to billing, accounting, and anonymized data collection. The Mapbox Web SDK only sends anonymized usage data, which Mapbox uses for fixing bugs and errors, accounting, and generating aggregated anonymized statistics. This license terminates automatically if a user no longer has an active Mapbox account.
36+
37+
For the full license terms, please see the [Mapbox Terms of Service](https://www.mapbox.com/legal/tos/).

build/banner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import fs from 'fs';
22

33
const version = JSON.parse(fs.readFileSync('package.json')).version;
4-
export default `/* Mapbox GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/mapbox/mapbox-gl-js/blob/v${version}/LICENSE.txt */`;
4+
export default `/* Mapbox GL JS is Copyright © 2020 Mapbox and subject to the Mapbox Terms of Service ((https://www.mapbox.com/legal/tos/). */`;

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
"dist/style-spec/",
169169
"flow-typed/*.js",
170170
"src/",
171-
".flowconfig"
171+
".flowconfig",
172+
"LICENSE.txt"
172173
]
173174
}

0 commit comments

Comments
 (0)