@ml2drender/wasm 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,435 @@
1
+ Copyright (c) 2026, ml2drender contributors
2
+
3
+ All rights reserved.
4
+
5
+ Redistribution and use in source and binary forms, with or without modification,
6
+ are permitted provided that the following conditions are met:
7
+
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 ml2drender 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.
16
+
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
21
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
24
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
25
+ 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 ported from MapLibre GL JS (https://github.com/maplibre/maplibre-gl-js),
33
+ whose license follows.
34
+
35
+ ===============================================================================
36
+
37
+ Copyright (c) 2023, MapLibre contributors
38
+
39
+ All rights reserved.
40
+
41
+ Redistribution and use in source and binary forms, with or without modification,
42
+ are permitted provided that the following conditions are met:
43
+
44
+ * Redistributions of source code must retain the above copyright notice,
45
+ this list of conditions and the following disclaimer.
46
+ * Redistributions in binary form must reproduce the above copyright notice,
47
+ this list of conditions and the following disclaimer in the documentation
48
+ and/or other materials provided with the distribution.
49
+ * Neither the name of MapLibre GL JS nor the names of its contributors
50
+ may be used to endorse or promote products derived from this software
51
+ without specific prior written permission.
52
+
53
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
54
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
55
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
56
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
57
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
58
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
59
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
60
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
61
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
62
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
63
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
64
+
65
+
66
+ -------------------------------------------------------------------------------
67
+
68
+ Contains code from mapbox-gl-js v1.13 and earlier
69
+
70
+ Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
71
+
72
+ Copyright (c) 2020, Mapbox
73
+ Redistribution and use in source and binary forms, with or without modification,
74
+ are permitted provided that the following conditions are met:
75
+
76
+ * Redistributions of source code must retain the above copyright notice,
77
+ this list of conditions and the following disclaimer.
78
+ * Redistributions in binary form must reproduce the above copyright notice,
79
+ this list of conditions and the following disclaimer in the documentation
80
+ and/or other materials provided with the distribution.
81
+ * Neither the name of Mapbox GL JS nor the names of its contributors
82
+ may be used to endorse or promote products derived from this software
83
+ without specific prior written permission.
84
+
85
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
86
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
87
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
88
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
89
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
90
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
91
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
92
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
93
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
94
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
95
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
96
+
97
+
98
+ -------------------------------------------------------------------------------
99
+
100
+ Contains code from glfx.js
101
+
102
+ Copyright (C) 2011 by Evan Wallace
103
+
104
+ Permission is hereby granted, free of charge, to any person obtaining a copy
105
+ of this software and associated documentation files (the "Software"), to deal
106
+ in the Software without restriction, including without limitation the rights
107
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
108
+ copies of the Software, and to permit persons to whom the Software is
109
+ furnished to do so, subject to the following conditions:
110
+
111
+ The above copyright notice and this permission notice shall be included in
112
+ all copies or substantial portions of the Software.
113
+
114
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
115
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
116
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
117
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
118
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
119
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
120
+ THE SOFTWARE.
121
+
122
+ --------------------------------------------------------------------------------
123
+
124
+ Contains a portion of d3-color https://github.com/d3/d3-color
125
+
126
+ Copyright 2010-2016 Mike Bostock
127
+ All rights reserved.
128
+
129
+ Redistribution and use in source and binary forms, with or without modification,
130
+ are permitted provided that the following conditions are met:
131
+
132
+ * Redistributions of source code must retain the above copyright notice, this
133
+ list of conditions and the following disclaimer.
134
+
135
+ * Redistributions in binary form must reproduce the above copyright notice,
136
+ this list of conditions and the following disclaimer in the documentation
137
+ and/or other materials provided with the distribution.
138
+
139
+ * Neither the name of the author nor the names of contributors may be used to
140
+ endorse or promote products derived from this software without specific prior
141
+ written permission.
142
+
143
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
144
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
145
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
146
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
147
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
148
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
149
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
150
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
151
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
152
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
153
+
154
+
155
+ ===============================================================================
156
+
157
+ Contains code ported from the MapLibre Style Spec
158
+ (https://github.com/maplibre/maplibre-style-spec), whose license follows.
159
+
160
+ ===============================================================================
161
+
162
+ Copyright (c) 2020, MapLibre contributors
163
+
164
+ All rights reserved.
165
+
166
+ Redistribution and use in source and binary forms, with or without modification,
167
+ are permitted provided that the following conditions are met:
168
+
169
+ * Redistributions of source code must retain the above copyright notice,
170
+ this list of conditions and the following disclaimer.
171
+ * Redistributions in binary form must reproduce the above copyright notice,
172
+ this list of conditions and the following disclaimer in the documentation
173
+ and/or other materials provided with the distribution.
174
+ * Neither the name of MapLibre GL JS nor the names of its contributors
175
+ may be used to endorse or promote products derived from this software
176
+ without specific prior written permission.
177
+
178
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
179
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
180
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
181
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
182
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
183
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
184
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
185
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
186
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
187
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
188
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
189
+
190
+
191
+ -------------------------------------------------------------------------------
192
+
193
+ Contains code from mapbox-gl-js v1.13 and earlier
194
+
195
+ Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
196
+
197
+ Copyright (c) 2020, Mapbox
198
+ Redistribution and use in source and binary forms, with or without modification,
199
+ are permitted provided that the following conditions are met:
200
+
201
+ * Redistributions of source code must retain the above copyright notice,
202
+ this list of conditions and the following disclaimer.
203
+ * Redistributions in binary form must reproduce the above copyright notice,
204
+ this list of conditions and the following disclaimer in the documentation
205
+ and/or other materials provided with the distribution.
206
+ * Neither the name of Mapbox GL JS nor the names of its contributors
207
+ may be used to endorse or promote products derived from this software
208
+ without specific prior written permission.
209
+
210
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
211
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
212
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
213
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
214
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
215
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
216
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
217
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
218
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
219
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
220
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
221
+
222
+
223
+ -------------------------------------------------------------------------------
224
+
225
+ Contains code from glfx.js
226
+
227
+ Copyright (C) 2011 by Evan Wallace
228
+
229
+ Permission is hereby granted, free of charge, to any person obtaining a copy
230
+ of this software and associated documentation files (the "Software"), to deal
231
+ in the Software without restriction, including without limitation the rights
232
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
233
+ copies of the Software, and to permit persons to whom the Software is
234
+ furnished to do so, subject to the following conditions:
235
+
236
+ The above copyright notice and this permission notice shall be included in
237
+ all copies or substantial portions of the Software.
238
+
239
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
240
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
241
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
242
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
243
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
244
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
245
+ THE SOFTWARE.
246
+
247
+ --------------------------------------------------------------------------------
248
+
249
+ Contains a portion of d3-color https://github.com/d3/d3-color
250
+
251
+ Copyright 2010-2016 Mike Bostock
252
+ All rights reserved.
253
+
254
+ Redistribution and use in source and binary forms, with or without modification,
255
+ are permitted provided that the following conditions are met:
256
+
257
+ * Redistributions of source code must retain the above copyright notice, this
258
+ list of conditions and the following disclaimer.
259
+
260
+ * Redistributions in binary form must reproduce the above copyright notice,
261
+ this list of conditions and the following disclaimer in the documentation
262
+ and/or other materials provided with the distribution.
263
+
264
+ * Neither the name of the author nor the names of contributors may be used to
265
+ endorse or promote products derived from this software without specific prior
266
+ written permission.
267
+
268
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
269
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
270
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
271
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
272
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
273
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
274
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
275
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
276
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
277
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278
+
279
+
280
+ ===============================================================================
281
+
282
+ Contains code ported from @maplibre/geojson-vt (https://github.com/maplibre/geojson-vt), including its supercluster-based clustering,
283
+ whose license follows.
284
+
285
+ ===============================================================================
286
+
287
+ The MIT License (MIT)
288
+
289
+ Copyright (c) 2025 MapLibre contributors
290
+
291
+ Permission is hereby granted, free of charge, to any person obtaining a copy
292
+ of this software and associated documentation files (the "Software"), to deal
293
+ in the Software without restriction, including without limitation the rights
294
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
295
+ copies of the Software, and to permit persons to whom the Software is
296
+ furnished to do so, subject to the following conditions:
297
+
298
+ The above copyright notice and this permission notice shall be included in all
299
+ copies or substantial portions of the Software.
300
+
301
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
302
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
303
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
304
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
305
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
306
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
307
+ SOFTWARE.
308
+
309
+ --------------------------------------------------------------------------------
310
+
311
+ ISC License
312
+
313
+ Copyright (c) 2024, Mapbox
314
+
315
+ Permission to use, copy, modify, and/or distribute this software for any purpose
316
+ with or without fee is hereby granted, provided that the above copyright notice
317
+ and this permission notice appear in all copies.
318
+
319
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
320
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
321
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
322
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
323
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
324
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
325
+ THIS SOFTWARE.
326
+
327
+
328
+ ===============================================================================
329
+
330
+ Contains code ported from kdbush (https://github.com/mourner/kdbush),
331
+ whose license follows.
332
+
333
+ ===============================================================================
334
+
335
+ ISC License
336
+
337
+ Copyright (c) 2026, Vladimir Agafonkin
338
+
339
+ Permission to use, copy, modify, and/or distribute this software for any purpose
340
+ with or without fee is hereby granted, provided that the above copyright notice
341
+ and this permission notice appear in all copies.
342
+
343
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
344
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
345
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
346
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
347
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
348
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
349
+ THIS SOFTWARE.
350
+
351
+
352
+ ===============================================================================
353
+
354
+ Contains code ported from polylabel (https://github.com/mapbox/polylabel),
355
+ whose license follows.
356
+
357
+ ===============================================================================
358
+
359
+ ISC License
360
+ Copyright (c) 2026 Mapbox
361
+
362
+ Permission to use, copy, modify, and/or distribute this software for any purpose
363
+ with or without fee is hereby granted, provided that the above copyright notice
364
+ and this permission notice appear in all copies.
365
+
366
+ THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO
367
+ THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
368
+ IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
369
+ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA
370
+ OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
371
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
372
+ SOFTWARE.
373
+
374
+
375
+ ===============================================================================
376
+
377
+ Contains code ported from vt-pbf (https://github.com/mapbox/vt-pbf),
378
+ whose license follows.
379
+
380
+ ===============================================================================
381
+
382
+ The MIT License (MIT)
383
+
384
+ Copyright (c) 2015 Anand Thakker
385
+
386
+ Permission is hereby granted, free of charge, to any person obtaining a copy
387
+ of this software and associated documentation files (the "Software"), to deal
388
+ in the Software without restriction, including without limitation the rights
389
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
390
+ copies of the Software, and to permit persons to whom the Software is
391
+ furnished to do so, subject to the following conditions:
392
+
393
+ The above copyright notice and this permission notice shall be included in all
394
+ copies or substantial portions of the Software.
395
+
396
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
397
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
398
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
399
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
400
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
401
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
402
+ SOFTWARE.
403
+
404
+ --------------------------------------------------------------------------------
405
+
406
+ Contains geojson_wrapper.js from https://github.com/mapbox/mapbox-gl-js
407
+
408
+ Copyright (c) 2014, Mapbox
409
+
410
+ All rights reserved.
411
+
412
+ Redistribution and use in source and binary forms, with or without modification,
413
+ are permitted provided that the following conditions are met:
414
+
415
+ * Redistributions of source code must retain the above copyright notice,
416
+ this list of conditions and the following disclaimer.
417
+ * Redistributions in binary form must reproduce the above copyright notice,
418
+ this list of conditions and the following disclaimer in the documentation
419
+ and/or other materials provided with the distribution.
420
+ * Neither the name of Mapbox GL JS nor the names of its contributors
421
+ may be used to endorse or promote products derived from this software
422
+ without specific prior written permission.
423
+
424
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
425
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
426
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
427
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
428
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
429
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
430
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
431
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
432
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
433
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
434
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
435
+