Weather Plus pressure isolines layer

Visualize the weather pressure isolines layer from MapTiler Weather Plus Pressure dataset. Gain insights into the atmospheric pressure patterns and visualize them in a visually captivating manner.

NPM module setup


npm install --save @maptiler/sdk @maptiler/weather-plus
import { Map, MapStyle, config } from '@maptiler/sdk';
import '@maptiler/sdk/dist/maptiler-sdk.css';
import { PressureIsolineLayer } from '@maptiler/weather-plus';

config.apiKey = 'YOUR_MAPTILER_API_KEY_HERE';
const map = (window.map = new Map({
  container: 'map', // container's id or the HTML element to render the map
  style: MapStyle.BACKDROP,  // stylesheet location
  projectionControl: true,
  projection: 'globe',
  zoom: 2,
  center: [-2.2, 37.8],
}));

const weatherLayer = new PressureIsolineLayer();

map.on('load', function () {
  map.setPaintProperty("Water", 'fill-color', "rgba(0, 0, 0, 0.4)");
  map.addLayer(weatherLayer, 'Water');  
});

Learn more

Look at the Weather Plus pressure isolines layer labels example

Look at the Weather Plus pressure isolines layer animated example

Check out the Weather JS module reference

Check out the Pressure Isolines layer reference

Weather custom popup

Weather custom popup

Examples

Create highly customizable popups for weather maps using MarkerLayout.

Weather layer switcher

Weather layer switcher

Examples

Switch weather layers and view detailed data under cursors.

Weather Plus pressure isolines layer animated

Weather+ pressure isolines layer animated

Examples

Animate atmospheric pressure isolines and view precise cursor data.

Weather Plus pressure isolines layer labels

Weather+ pressure isolines layer labels

Examples

Display high and low atmospheric pressure extreme value labels.

Was this helpful?