Layer Opacity

A unique feature to AerisWeather Maps is the ability to control the opacity of an individual layer. Opacity values range from 0 to 100, where 0 is completely transparent and 100 is opaque. Each layer will have a default opacity of 100 (fully opaque) if not provided in the URL.

Single Layer Opacity

To add this to a layer, simply add :[amount] immediately after the layer within the URL, where [opacity] is the opacity percentage value you want to use. For example: radar:70 would add the radar with 70% opacity.

Opacity: 100%
http://maps.aerisapi.com/[client_id]_[client_key]/flat,radar,cities/700x300/seattle,wa,6/current.png
Opacity at 100% example

Opacity: 75%
http://maps.aerisapi.com/[client_id]_[client_key]/flat,radar:75,cities/700x300/seattle,wa,6/current.png
Opacity at 100% example

Opacity: 50%
http://maps.aerisapi.com/[client_id]_[client_key]/flat,radar:50,cities/700x300/seattle,wa,6/current.png
Opacity at 100% example

Opacity: 25%
http://maps.aerisapi.com/[client_id]_[client_key]/flat,radar:25,cities/700x300/seattle,wa,6/current.png
Opacity at 100% example

Multiple Layer Opacity

When making requests with multiple layers, opacity can be set for each layer individually and each layer can have a different opacity level. For example, a static map that displays advisories with 80% opacity to allow the terrain to show through and radar layered on top with 75% opacity:

http://maps.aerisapi.com/[client_id]_[client_key]/terrain,alerts:80,radar:75,cities/700x300/seattle,wa,6/current.png
Opacity at 100% example

Last modified: August 02, 2021