@xweather/mapsgl 1.8.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.txt ADDED
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2023, AerisWeather
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
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
+
14
+ * Neither the name of AerisWeather nor the names of its contributors may be used
15
+ to endorse or promote products derived from this software without specific
16
+ prior written permission of AerisWeather.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md ADDED
@@ -0,0 +1,26 @@
1
+ [<img width="600" alt="Xweather MapsGL" src="https://www.xweather.com/docs/mapsgl/img/mapsgl-cover.png">](https://www.xweather.com/mapsgl)
2
+
3
+ The Xweather MapsGL SDK allows developers to quickly customize and integrate a variety of high-quality, vector-based weather mapping imagery and visualizations into their applications and custom solutions. You can use a variety of supported third-party mapping libraries which allows developers to easily add weather content and visuals into their existing mapping platforms.
4
+
5
+ An active [Xweather API & Maps subscription](https://signup.xweather.com) is required for MapsGL.
6
+
7
+ Check out [Xweather Live](http://live.xweather.com), fully powered by MapsGL and our [Maps UI SDK](https://www.xweather.com/docs/maps-ui-sdk). We also have [MapsGL demos](https://demos.xweather.com) tailored to specific use cases.
8
+
9
+ **For MapsGL versions before v1.8.0, use the previous [`@aerisweather/mapsgl`] package instead.**
10
+
11
+ Supported third-party mapping libraries:
12
+
13
+ - [Mapbox](https://docs.mapbox.com/mapbox-gl-js/guides/)
14
+ - [MapLibre](https://maplibre.org/projects/maplibre-gl-js/)
15
+ - [Google Maps](https://developers.google.com/maps/documentation/javascript)
16
+ - [Leaflet](https://leafletjs.com)
17
+
18
+ Use the following MapsGL resources to learn more or to get started:
19
+
20
+ - [Getting started](https://www.xweather.com/docs/mapsgl/getting-started)
21
+ - [Developer documentation](https://www.xweather.com/docs/mapsgl)
22
+ - [Examples](https://www.xweather.com/docs/mapsgl/examples)
23
+ - Demos: [Xweather Live](http://live.xweather.com), [industry demos](https://demos.xweather.com)
24
+
25
+ ## Support
26
+ [Reach out to support](https://www.xweather.com/support) with any questions, bug reports, or feature suggestions you have regarding MapsGL.
@@ -0,0 +1,9 @@
1
+ /*!
2
+ *
3
+ * @xweather/mapsgl - 1.8.0
4
+ * (c) 2025 Vaisala Xweather
5
+ * License: BSD
6
+ * https://www.xweather.com
7
+ *
8
+ */
9
+ .awxgl-data-coord{color:#222;padding:4px 8px;border-top-left-radius:6px;border-top-right-radius:6px}.awxgl-data-rows{display:none;margin:0 8px;padding-top:2px}.awxgl-data-rows .awxgl-data-row{display:flex;border-bottom:1px solid #eee;padding:4px 0}.awxgl-data-rows .awxgl-data-title{font-weight:bold;min-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px}.awxgl-tooltip{display:inline-block;background:#fff;color:#333;font-family:sans-serif;font-weight:normal;font-size:12px;line-height:14px;border-radius:6px;text-align:left;z-index:4000}.awxgl-tooltip.awxgl-tooltip-has-data .awxgl-data-coord{background:#19a6e1;color:#fff}.awxgl-tooltip.awxgl-tooltip-has-data .awxgl-data-rows{display:block}.awxgl-tooltip-arrow,.awxgl-tooltip-arrow::before{position:absolute;width:8px;height:8px;background:inherit}.awxgl-tooltip-arrow{visibility:hidden}.awxgl-tooltip-arrow::before{visibility:visible;content:"";transform:rotate(45deg)}.awxgl-tooltip[data-popper-placement^=top] .awxgl-tooltip-arrow{bottom:-4px}.awxgl-tooltip[data-popper-placement^=bottom] .awxgl-tooltip-arrow{top:-4px}.awxgl-tooltip[data-popper-placement^=bottom].awxgl-tooltip-has-data .awxgl-tooltip-arrow{background:#19a6e1}.awxgl-tooltip[data-popper-placement^=left] .awxgl-tooltip-arrow{right:-4px}.awxgl-tooltip[data-popper-placement^=right] .awxgl-tooltip-arrow{left:-4px}.awxgl-control-legend{background:#fff;border-radius:4px;padding:4px;z-index:1000}.awxgl-legend-container{border-top:1px solid #ddd;font-family:sans-serif}.awxgl-legend-container:first-child{border-top:0}.awxgl-legend-title{padding:0 4px;font-weight:bold;font-size:11px;line-height:20px;margin-bottom:-2px;text-align:left;color:#000}.awxgl-legend-item-fade{height:20px}.awxgl-legend-item-fade-top{background:linear-gradient(rgb(255, 255, 255), rgba(255, 255, 255, 0))}.awxgl-legend-item-fade-bottom{background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}