MapsGL - Examples
The code for all of the MapsGL examples below can be found in the public Github repository where you can find instructions on how to run the examples locally.
Getting Started
Map library integrations and core weather layer setup.
Styling Weather Layers
Recoloring and reshaping the continuous fields the built-in weather layers draw: color scales, draw ranges, particle motion, and custom shaders.
Features & Filtering
Vector layers, where both the styling and the choice of what to draw are expressions evaluated against each feature’s own properties.
Masking Data
Clip weather or custom layers to built-in land and water masks, or one or more vector layers as a single mask, including toggling the mask at runtime.
Animation
Legends, Units & Readouts
Reading values back off the map: legends, map units, and labelling points with sampled layer values.
Your Own Data
Sources MapsGL knows nothing about — your own tiles, geometry and imagery — added alongside the weather layers.