Arrow layer

The ArrowLayer contains both a background to which is applied a color ramp and a set of moving arrow-shaped particles, for this reason, the constructor ArrowLayer has more options that then other weather layers.

Constructor

import { ArrowLayer } from "@maptiler/weather-plus";

// After creating a Map instance like in the `Getting Started`
const customLayer = new ArrowLayer(id, options, arrowOptions, coloringFragments);
JavaScript

Extends: Intesity layer

Parameters

Methods

Check out the Layers method reference