Skip to main content

Layers

What are layers?

Since much of the data in Alloy relates to the world around us, Alloy can produce visualisations of that data and project them onto a map of your choice. These are known as layers.

Layers can be viewed and managed in Alloy Web or outputted from the API to be consumed by developers and viewed elsewhere (see the Developer Docs).

Layer styles

Each layer consists of one or more layer styles. Each style uses an AQS query to fetch a set of qualifying items (e.g. all Street Lights with an unresolved defect) and display them on the map.

You can define the colour, icon and query of each layer style, along with the visualisation type (how the items are presented on the map).

Layer styles can be toggled on/off individually. Toggling the layer will show/hide the enabled layer styles.

To learn more, see Layers and Visualisation in Alloy Web.

diagram showing layers and styles