1mapbox-gl-native copyright (c) 2014-2017 Mapbox.
2
3Redistribution and use in source and binary forms, with or without
4modification, are permitted provided that the following conditions are
5met:
6
7* Redistributions of source code must retain the above copyright
8  notice, this list of conditions and the following disclaimer.
9* Redistributions in binary form must reproduce the above copyright
10  notice, this list of conditions and the following disclaimer in
11  the documentation and/or other materials provided with the
12  distribution.
13
14THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
15IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
16THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
18CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
22LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
23NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
26===========================================================================
27
28Mapbox GL uses portions of Android Gesture Detectors Framework.
29
30Copyright (c) 2012, Almer Thie
31
32All rights reserved.
33
34Redistribution and use in source and binary forms, with or without
35modification, are permitted provided that the following conditions are met:
36
37* Redistributions of source code must retain the above copyright notice, this
38  list of conditions and the following disclaimer.
39* Redistributions in binary form must reproduce the above copyright notice,
40  this list of conditions and the following disclaimer in the documentation
41  and/or other materials provided with the distribution.
42
43THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
44ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
45WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
46DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
47ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
48(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
49LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
50ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
51(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
52SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
53
54===========================================================================
55
56Mapbox GL uses portions of Android Support Library.
57
58Copyright (c) 2005-2013, The Android Open Source Project
59
60Licensed under the Apache License, Version 2.0 (the "License");
61you may not use this file except in compliance with the License.
62You may obtain a copy of the License at
63
64http://www.apache.org/licenses/LICENSE-2.0
65
66Unless required by applicable law or agreed to in writing, software
67distributed under the License is distributed on an "AS IS" BASIS,
68WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
69See the License for the specific language governing permissions and
70limitations under the License.
71
72===========================================================================
73
74Mapbox GL uses portions of Boost.
75
76Distributed under the Boost Software License, Version 1.0.
77
78http://www.boost.org/LICENSE_1_0.txt
79
80===========================================================================
81
82Mapbox GL uses portions of Clipper.
83
84Author    :  Angus Johnson
85Version   :  6.1.3a
86Date      :  22 January 2014
87Website   :  http://www.angusj.com
88Copyright :  Angus Johnson 2010-2014
89
90License:
91Use, modification & distribution is subject to Boost Software License Ver 1.
92http://www.boost.org/LICENSE_1_0.txt
93
94Attributions:
95The code in this library is an extension of Bala Vatti's clipping algorithm:
96"A generic solution to polygon clipping"
97Communications of the ACM, Vol 35, Issue 7 (July 1992) pp 56-63.
98http://portal.acm.org/citation.cfm?id=129906
99
100Computer graphics and geometric modeling: implementation and algorithms
101By Max K. Agoston
102Springer; 1 edition (January 4, 2005)
103http://books.google.com/books?q=vatti+clipping+agoston
104
105See also:
106"Polygon Offsetting by Computing Winding Numbers"
107Paper no. DETC2005-85513 pp. 565-575
108ASME 2005 International Design Engineering Technical Conferences
109and Computers and Information in Engineering Conference (IDETC/CIE2005)
110September 24-28, 2005 , Long Beach, California, USA
111http://www.me.berkeley.edu/~mcmains/pubs/DAC05OffsetPolygon.pdf
112
113===========================================================================
114
115Mapbox GL uses portions of BugshotKit.
116
117The MIT License (MIT)
118
119Copyright (c) 2014 marcoarment
120
121Permission is hereby granted, free of charge, to any person obtaining a copy of
122this software and associated documentation files (the "Software"), to deal in
123the Software without restriction, including without limitation the rights to
124use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
125the Software, and to permit persons to whom the Software is furnished to do so,
126subject to the following conditions:
127
128The above copyright notice and this permission notice shall be included in all
129copies or substantial portions of the Software.
130
131THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
132IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
133FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
134COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
135IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
136CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
137
138===========================================================================
139
140Mapbox GL uses portions of CSS Color Parser.
141
142(c) Dean McNamee <dean@gmail.com>, 2012.
143C++ port by Konstantin Käfer <mail@kkaefer.com>, 2014.
144
145https://github.com/deanm/css-color-parser-js
146https://github.com/kkaefer/css-color-parser-cpp
147
148Permission is hereby granted, free of charge, to any person obtaining a copy
149of this software and associated documentation files (the "Software"), to
150deal in the Software without restriction, including without limitation the
151rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
152sell copies of the Software, and to permit persons to whom the Software is
153furnished to do so, subject to the following conditions:
154
155The above copyright notice and this permission notice shall be included in
156all copies or substantial portions of the Software.
157
158THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
159IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
160FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
161AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
162LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
163FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
164IN THE SOFTWARE.
165
166===========================================================================
167
168Mapbox GL uses portions of GLFW.
169
170Copyright (c) 2002-2006 Marcus Geelnard
171Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
172
173This software is provided 'as-is', without any express or implied
174warranty. In no event will the authors be held liable for any damages
175arising from the use of this software.
176
177Permission is granted to anyone to use this software for any purpose,
178including commercial applications, and to alter it and redistribute it
179freely, subject to the following restrictions:
180
1811. The origin of this software must not be misrepresented; you must not
182   claim that you wrote the original software. If you use this software
183   in a product, an acknowledgment in the product documentation would
184   be appreciated but is not required.
185
1862. Altered source versions must be plainly marked as such, and must not
187   be misrepresented as being the original software.
188
1893. This notice may not be removed or altered from any source
190   distribution.
191
192===========================================================================
193
194Mapbox GL uses portions of libc++.
195
196The libc++ library is dual licensed under both the University of Illinois
197"BSD-Like" license and the MIT license.  As a user of this code you may choose
198to use it under either license.  As a contributor, you agree to allow your code
199to be used under both.
200
201Full text of the relevant licenses is included below.
202
203====
204
205University of Illinois/NCSA
206Open Source License
207
208Copyright (c) 2009-2015 by the contributors listed in CREDITS.TXT
209
210All rights reserved.
211
212Developed by:
213
214    LLVM Team
215
216    University of Illinois at Urbana-Champaign
217
218    http://llvm.org
219
220Permission is hereby granted, free of charge, to any person obtaining a copy of
221this software and associated documentation files (the "Software"), to deal with
222the Software without restriction, including without limitation the rights to
223use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
224of the Software, and to permit persons to whom the Software is furnished to do
225so, subject to the following conditions:
226
227* Redistributions of source code must retain the above copyright notice,
228  this list of conditions and the following disclaimers.
229
230* Redistributions in binary form must reproduce the above copyright notice,
231  this list of conditions and the following disclaimers in the
232  documentation and/or other materials provided with the distribution.
233
234* Neither the names of the LLVM Team, University of Illinois at
235  Urbana-Champaign, nor the names of its contributors may be used to
236  endorse or promote products derived from this Software without specific
237  prior written permission.
238
239THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
240IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
241FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
242CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
243LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
244OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
245SOFTWARE.
246
247====
248
249Copyright (c) 2009-2014 by the contributors listed in CREDITS.TXT
250
251Permission is hereby granted, free of charge, to any person obtaining a copy
252of this software and associated documentation files (the "Software"), to deal
253in the Software without restriction, including without limitation the rights
254to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
255copies of the Software, and to permit persons to whom the Software is
256furnished to do so, subject to the following conditions:
257
258The above copyright notice and this permission notice shall be included in
259all copies or substantial portions of the Software.
260
261THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
262IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
263FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
264AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
265LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
266OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
267THE SOFTWARE.
268
269===========================================================================
270
271Mapbox GL uses portions of libcurl.
272
273COPYRIGHT AND PERMISSION NOTICE
274
275Copyright (c) 1996 - 2015, Daniel Stenberg, <daniel@haxx.se>.
276
277All rights reserved.
278
279Permission to use, copy, modify, and distribute this software for any purpose
280with or without fee is hereby granted, provided that the above copyright
281notice and this permission notice appear in all copies.
282
283THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
284IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
285FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
286NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
287DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
288OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
289OR OTHER DEALINGS IN THE SOFTWARE.
290
291Except as contained in this notice, the name of a copyright holder shall not
292be used in advertising or otherwise to promote the sale, use or other dealings
293in this Software without prior written authorization of the copyright holder.
294
295===========================================================================
296
297Mapbox GL uses portions of libjpeg-turbo.
298
299This software is based in part on the work of the Independent JPEG Group.
300
301Copyright (C)2009-2015 D. R. Commander.  All Rights Reserved.
302
303Redistribution and use in source and binary forms, with or without
304modification, are permitted provided that the following conditions are met:
305
306- Redistributions of source code must retain the above copyright notice,
307  this list of conditions and the following disclaimer.
308- Redistributions in binary form must reproduce the above copyright notice,
309  this list of conditions and the following disclaimer in the documentation
310  and/or other materials provided with the distribution.
311- Neither the name of the libjpeg-turbo Project nor the names of its
312  contributors may be used to endorse or promote products derived from this
313  software without specific prior written permission.
314
315THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS",
316AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
317IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
318ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
319LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
320CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
321SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
322INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
323CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
324ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
325POSSIBILITY OF SUCH DAMAGE.
326
327TurboJPEG/LJT: this implements the TurboJPEG API using libjpeg or libjpeg-turbo
328
329===========================================================================
330
331Mapbox GL uses portions of libpng.
332
333This copy of the libpng notices is provided for your convenience.  In case of
334any discrepancy between this copy and the notices in the file png.h that is
335included in the libpng distribution, the latter shall prevail.
336
337COPYRIGHT NOTICE, DISCLAIMER, and LICENSE:
338
339If you modify libpng you may insert additional notices immediately following
340this sentence.
341
342This code is released under the libpng license.
343
344libpng versions 1.0.7, July 1, 2000, through 1.6.18, July 23, 2015, are
345Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, and are
346distributed according to the same disclaimer and license as libpng-1.0.6
347with the following individuals added to the list of Contributing Authors:
348
349   Simon-Pierre Cadieux
350   Eric S. Raymond
351   Mans Rullgard
352   Cosmin Truta
353   Gilles Vollant
354   James Yu
355
356and with the following additions to the disclaimer:
357
358   There is no warranty against interference with your enjoyment of the
359   library or against infringement.  There is no warranty that our
360   efforts or the library will fulfill any of your particular purposes
361   or needs.  This library is provided with all faults, and the entire
362   risk of satisfactory quality, performance, accuracy, and effort is with
363   the user.
364
365libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are
366Copyright (c) 1998-2000 Glenn Randers-Pehrson, and are distributed according
367to the same disclaimer and license as libpng-0.96, with the following
368individuals added to the list of Contributing Authors:
369
370   Tom Lane
371   Glenn Randers-Pehrson
372   Willem van Schaik
373
374libpng versions 0.89, June 1996, through 0.96, May 1997, are
375Copyright (c) 1996-1997 Andreas Dilger, and are
376distributed according to the same disclaimer and license as libpng-0.88,
377with the following individuals added to the list of Contributing Authors:
378
379   John Bowler
380   Kevin Bracey
381   Sam Bushell
382   Magnus Holmgren
383   Greg Roelofs
384   Tom Tanner
385
386libpng versions 0.5, May 1995, through 0.88, January 1996, are
387Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
388
389For the purposes of this copyright and license, "Contributing Authors"
390is defined as the following set of individuals:
391
392   Andreas Dilger
393   Dave Martindale
394   Guy Eric Schalnat
395   Paul Schmidt
396   Tim Wegner
397
398The PNG Reference Library is supplied "AS IS".  The Contributing Authors
399and Group 42, Inc. disclaim all warranties, expressed or implied,
400including, without limitation, the warranties of merchantability and of
401fitness for any purpose.  The Contributing Authors and Group 42, Inc.
402assume no liability for direct, indirect, incidental, special, exemplary,
403or consequential damages, which may result from the use of the PNG
404Reference Library, even if advised of the possibility of such damage.
405
406Permission is hereby granted to use, copy, modify, and distribute this
407source code, or portions hereof, for any purpose, without fee, subject
408to the following restrictions:
409
4101. The origin of this source code must not be misrepresented.
411
4122. Altered versions must be plainly marked as such and must not
413   be misrepresented as being the original source.
414
4153. This Copyright notice may not be removed or altered from any
416   source or altered source distribution.
417
418The Contributing Authors and Group 42, Inc. specifically permit, without
419fee, and encourage the use of this source code as a component to
420supporting the PNG file format in commercial products.  If you use this
421source code in a product, acknowledgment is not required but would be
422appreciated.
423
424===========================================================================
425
426Mapbox GL uses portions of libuv.
427
428libuv is part of the Node project: http://nodejs.org/
429libuv may be distributed alone under Node's license:
430
431====
432
433Copyright Joyent, Inc. and other Node contributors. All rights reserved.
434Permission is hereby granted, free of charge, to any person obtaining a copy
435of this software and associated documentation files (the "Software"), to
436deal in the Software without restriction, including without limitation the
437rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
438sell copies of the Software, and to permit persons to whom the Software is
439furnished to do so, subject to the following conditions:
440
441The above copyright notice and this permission notice shall be included in
442all copies or substantial portions of the Software.
443
444THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
445IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
446FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
447AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
448LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
449FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
450IN THE SOFTWARE.
451
452====
453
454This license applies to all parts of libuv that are not externally
455maintained libraries.
456
457The externally maintained libraries used by libuv are:
458
459- tree.h (from FreeBSD), copyright Niels Provos. Two clause BSD license.
460
461- inet_pton and inet_ntop implementations, contained in src/inet.c, are
462  copyright the Internet Systems Consortium, Inc., and licensed under the ISC
463  license.
464
465- stdint-msvc2008.h (from msinttypes), copyright Alexander Chemeris. Three
466  clause BSD license.
467
468- pthread-fixes.h, pthread-fixes.c, copyright Google Inc. and Sony Mobile
469  Communications AB. Three clause BSD license.
470
471- android-ifaddrs.h, android-ifaddrs.c, copyright Berkeley Software Design
472  Inc, Kenneth MacKay and Emergya (Cloud4all, FP7/2007-2013, grant agreement
473  n° 289016). Three clause BSD license.
474
475===========================================================================
476
477Mapbox GL uses portions of libzip.
478
479Copyright (C) 1999-2014 Dieter Baron and Thomas Klausner
480
481The authors can be contacted at <libzip@nih.at>
482
483Redistribution and use in source and binary forms, with or without
484modification, are permitted provided that the following conditions
485are met:
486
4871. Redistributions of source code must retain the above copyright
488  notice, this list of conditions and the following disclaimer.
489
4902. Redistributions in binary form must reproduce the above copyright
491  notice, this list of conditions and the following disclaimer in
492  the documentation and/or other materials provided with the
493  distribution.
494
4953. The names of the authors may not be used to endorse or promote
496  products derived from this software without specific prior
497  written permission.
498
499THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS
500OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
501WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
502ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
503DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
504DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
505GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
506INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
507IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
508OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
509IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
510
511===========================================================================
512
513Mapbox GL uses portions of LOST.
514
515Copyright (c) 2014 Mapzen
516
517Licensed under the Apache License, Version 2.0 (the "License");
518you may not use this file except in compliance with the License.
519You may obtain a copy of the License at
520
521http://www.apache.org/licenses/LICENSE-2.0
522
523Unless required by applicable law or agreed to in writing, software
524distributed under the License is distributed on an "AS IS" BASIS,
525WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
526See the License for the specific language governing permissions and
527limitations under the License.
528
529===========================================================================
530
531Mapbox GL uses portions of the Mapbox iOS SDK, which was derived from the
532Route-Me open source project, including the Alpstein fork of it.
533
534The Route-Me license appears below.
535
536Copyright (c) 2008-2013, Route-Me Contributors
537All rights reserved.
538
539Redistribution and use in source and binary forms, with or without
540modification, are permitted provided that the following conditions are met:
541
542* Redistributions of source code must retain the above copyright notice, this
543list of conditions and the following disclaimer.
544* Redistributions in binary form must reproduce the above copyright notice,
545this list of conditions and the following disclaimer in the documentation
546and/or other materials provided with the distribution.
547
548THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
549AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
550IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
551ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
552LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
553CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
554SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
555INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
556CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
557ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
558POSSIBILITY OF SUCH DAMAGE.
559
560===========================================================================
561
562Mapbox GL uses portions of nunicode.
563
564Copyright (c) 2013 Aleksey Tulinov <aleksey.tulinov@gmail.com>
565
566Permission is hereby granted, free of charge, to any person obtaining a copy
567of this software and associated documentation files (the "Software"), to deal
568in the Software without restriction, including without limitation the rights
569to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
570copies of the Software, and to permit persons to whom the Software is
571furnished to do so, subject to the following conditions:
572
573The above copyright notice and this permission notice shall be included in
574all copies or substantial portions of the Software.
575
576THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
577IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
578FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
579AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
580LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
581OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
582THE SOFTWARE.
583
584===========================================================================
585
586Mapbox GL uses portions of OkHTTP.
587
588Copyright 2014 Square, Inc.
589
590Licensed under the Apache License, Version 2.0 (the "License");
591you may not use this file except in compliance with the License.
592You may obtain a copy of the License at
593
594http://www.apache.org/licenses/LICENSE-2.0
595
596Unless required by applicable law or agreed to in writing, software
597distributed under the License is distributed on an "AS IS" BASIS,
598WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
599See the License for the specific language governing permissions and
600limitations under the License.
601
602===========================================================================
603
604Mapbox GL uses portions of OpenSSL.
605
606LICENSE ISSUES
607==============
608
609The OpenSSL toolkit stays under a dual license, i.e. both the conditions of
610the OpenSSL License and the original SSLeay license apply to the toolkit.
611See below for the actual license texts. Actually both licenses are BSD-style
612Open Source licenses. In case of any license issues related to OpenSSL
613please contact openssl-core@openssl.org.
614
615OpenSSL License
616---------------
617
618Copyright (c) 1998-2011 The OpenSSL Project.  All rights reserved.
619
620Redistribution and use in source and binary forms, with or without
621modification, are permitted provided that the following conditions
622are met:
623
6241. Redistributions of source code must retain the above copyright
625   notice, this list of conditions and the following disclaimer.
626
6272. Redistributions in binary form must reproduce the above copyright
628   notice, this list of conditions and the following disclaimer in
629   the documentation and/or other materials provided with the
630   distribution.
631
6323. All advertising materials mentioning features or use of this
633   software must display the following acknowledgment:
634   "This product includes software developed by the OpenSSL Project
635   for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
636
6374. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
638   endorse or promote products derived from this software without
639   prior written permission. For written permission, please contact
640   openssl-core@openssl.org.
641
6425. Products derived from this software may not be called "OpenSSL"
643   nor may "OpenSSL" appear in their names without prior written
644   permission of the OpenSSL Project.
645
6466. Redistributions of any form whatsoever must retain the following
647   acknowledgment:
648   "This product includes software developed by the OpenSSL Project
649   for use in the OpenSSL Toolkit (http://www.openssl.org/)"
650
651THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
652EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
653IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
654PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
655ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
656SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
657NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
658LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
659HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
660STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
661ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
662OF THE POSSIBILITY OF SUCH DAMAGE.
663
664This product includes cryptographic software written by Eric Young
665(eay@cryptsoft.com).  This product includes software written by Tim
666Hudson (tjh@cryptsoft.com).
667
668Original SSLeay License
669-----------------------
670
671Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
672All rights reserved.
673
674This package is an SSL implementation written
675by Eric Young (eay@cryptsoft.com).
676The implementation was written so as to conform with Netscapes SSL.
677
678This library is free for commercial and non-commercial use as long as
679The following conditions are aheared to.  The following conditions
680apply to all code found in this distribution, be it the RC4, RSA,
681lhash, DES, etc., code; not just the SSL code.  The SSL documentation
682included with this distribution is covered by the same copyright terms
683except that the holder is Tim Hudson (tjh@cryptsoft.com).
684
685Copyright remains Eric Young's, and as such any Copyright notices in
686the code are not to be removed.
687If this package is used in a product, Eric Young should be given attribution
688as the author of the parts of the library used.
689This can be in the form of a textual message at program startup or
690in documentation (online or textual) provided with the package.
691
692Redistribution and use in source and binary forms, with or without
693modification, are permitted provided that the following conditions
694are met:
6951. Redistributions of source code must retain the copyright
696   notice, this list of conditions and the following disclaimer.
6972. Redistributions in binary form must reproduce the above copyright
698   notice, this list of conditions and the following disclaimer in the
699   documentation and/or other materials provided with the distribution.
7003. All advertising materials mentioning features or use of this software
701   must display the following acknowledgement:
702   "This product includes cryptographic software written by
703   Eric Young (eay@cryptsoft.com)"
704   The word 'cryptographic' can be left out if the rouines from the library
705   being used are not cryptographic related :-).
7064. If you include any Windows specific code (or a derivative thereof) from
707   the apps directory (application code) you must include an acknowledgement:
708   "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
709
710THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
711ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
712IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
713ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
714FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
715DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
716OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
717HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
718LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
719OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
720SUCH DAMAGE.
721
722The licence and distribution terms for any publically available version or
723derivative of this code cannot be changed.  i.e. this code cannot simply be
724copied and put under another distribution licence
725[including the GNU Public Licence.]
726
727===========================================================================
728
729Mapbox GL uses portions of RapidJSON.
730
731Tencent is pleased to support the open source community by making RapidJSON
732available.
733
734Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip.  All rights
735reserved.
736
737If you have downloaded a copy of the RapidJSON binary from Tencent, please note
738that the RapidJSON binary is licensed under the MIT License. If you have
739downloaded a copy of the RapidJSON source code from Tencent, please note that
740RapidJSON source code is licensed under the MIT License, except for the third-
741party components listed below which are subject to different license terms.
742Your integration of RapidJSON into your own projects may require compliance with
743the MIT License, as well as the other licenses applicable to the third-party
744components included within RapidJSON. To avoid the problematic JSON license in
745your own projects, it's sufficient to exclude the bin/jsonchecker/ directory, as
746it's the only code under the JSON license. A copy of the MIT License is included
747in this file.
748
749Other dependencies and licenses:
750
751Open Source Software Licensed Under the BSD License:
752--------------------------------------------------------------------
753
754The msinttypes r29
755Copyright (c) 2006-2013 Alexander Chemeris
756All rights reserved.
757
758Redistribution and use in source and binary forms, with or without
759modification, are permitted provided that the following conditions are met:
760
761* Redistributions of source code must retain the above copyright notice,
762  this list of conditions and the following disclaimer.
763* Redistributions in binary form must reproduce the above copyright notice,
764  this list of conditions and the following disclaimer in the documentation
765  and/or other materials provided with the distribution.
766* Neither the name of copyright holder nor the names of its contributors may be
767  used to endorse or promote products derived from this software without
768  specific prior written permission.
769
770THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
771EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
772WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
773DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
774DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
775(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
776LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
777ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
778(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
779SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
780
781Open Source Software Licensed Under the JSON License:
782--------------------------------------------------------------------
783
784json.org
785Copyright (c) 2002 JSON.org
786All Rights Reserved.
787
788JSON_checker
789Copyright (c) 2002 JSON.org
790All Rights Reserved.
791
792Terms of the JSON License:
793---------------------------------------------------
794
795Permission is hereby granted, free of charge, to any person obtaining a copy of
796this software and associated documentation files (the "Software"), to deal in
797the Software without restriction, including without limitation the rights to
798use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
799the Software, and to permit persons to whom the Software is furnished to do so,
800subject to the following conditions:
801
802The above copyright notice and this permission notice shall be included in all
803copies or substantial portions of the Software.
804
805The Software shall be used for Good, not Evil.
806
807THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
808IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
809FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
810COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
811IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
812CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
813
814Terms of the MIT License:
815--------------------------------------------------------------------
816
817Permission is hereby granted, free of charge, to any person obtaining a copy of
818this software and associated documentation files (the "Software"), to deal in
819the Software without restriction, including without limitation the rights to
820use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
821the Software, and to permit persons to whom the Software is furnished to do so,
822subject to the following conditions:
823
824The above copyright notice and this permission notice shall be included in all
825copies or substantial portions of the Software.
826
827THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
828IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
829FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
830COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
831IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
832CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
833
834===========================================================================
835
836Mapbox GL uses portions of Reachability.
837
838Copyright (c) 2011, Tony Million.
839All rights reserved.
840
841Redistribution and use in source and binary forms, with or without
842modification, are permitted provided that the following conditions are met:
843
8441. Redistributions of source code must retain the above copyright notice, this
845list of conditions and the following disclaimer.
846
8472. Redistributions in binary form must reproduce the above copyright notice,
848this list of conditions and the following disclaimer in the documentation
849and/or other materials provided with the distribution.
850
851THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
852AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
853IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
854ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
855LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
856CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
857SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
858INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
859CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
860ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
861POSSIBILITY OF SUCH DAMAGE.
862
863===========================================================================
864
865Mapbox GL uses portions of SQLite.
866
8672001 September 15
868
869The author disclaims copyright to this source code.  In place of
870a legal notice, here is a blessing:
871
872    May you do good and not evil.
873    May you find forgiveness for yourself and forgive others.
874    May you share freely, never taking more than you give.
875
876===========================================================================
877
878Mapbox GL uses portions of SVPulsingAnnotationView.
879
880Copyright (c) 2013, Sam Vermette <hello@samvermette.com>
881
882Permission to use, copy, modify, and/or distribute this software for any purpose
883with or without fee is hereby granted, provided that the above copyright notice
884and this permission notice appear in all copies.
885
886THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
887REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
888FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
889INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
890OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
891TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
892THIS SOFTWARE.
893
894===========================================================================
895
896Mapbox GL uses portions of zlib.
897
898Acknowledgments:
899
900The deflate format used by zlib was defined by Phil Katz.  The deflate and
901zlib specifications were written by L.  Peter Deutsch.  Thanks to all the
902people who reported problems and suggested various improvements in zlib; they
903are too numerous to cite here.
904
905Copyright notice:
906
907(C) 1995-2013 Jean-loup Gailly and Mark Adler
908
909This software is provided 'as-is', without any express or implied
910warranty.  In no event will the authors be held liable for any damages
911arising from the use of this software.
912
913Permission is granted to anyone to use this software for any purpose,
914including commercial applications, and to alter it and redistribute it
915freely, subject to the following restrictions:
916
9171. The origin of this software must not be misrepresented; you must not
918   claim that you wrote the original software. If you use this software
919   in a product, an acknowledgment in the product documentation would be
920   appreciated but is not required.
9212. Altered source versions must be plainly marked as such, and must not be
922   misrepresented as being the original software.
9233. This notice may not be removed or altered from any source distribution.
924
925  Jean-loup Gailly        Mark Adler
926  jloup@gzip.org          madler@alumni.caltech.edu
927
928===========================================================================
929
930Mapbox GL uses portions of Realm Objective-C.
931
932Copyright 2015 Realm Inc.
933
934Licensed under the Apache License, Version 2.0 (the "License");
935you may not use this file except in compliance with the License.
936You may obtain a copy of the License at
937
938http://www.apache.org/licenses/LICENSE-2.0
939
940Unless required by applicable law or agreed to in writing, software
941distributed under the License is distributed on an "AS IS" BASIS,
942WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
943See the License for the specific language governing permissions and
944limitations under the License.
945