Overview

A layer can have any number of styles associated with it. When you create a new layer it contains no styles and activating the layer has no effect on the map. A layer requires at least one layer style to display some data on the map.

A style consists of an AQS query that defines the data that is overlaid on a map. When you add a style to a layer you define the design or design interface that is used within the query. The query is a simple root node query, that you can view on the Style rule page of the style.

alt text

Once you have associated a style with a layer you will see data overlaid on the map based on the query within the style. You can edit the style to refine or enhance the query, for example you can have a layer for jobs that contains styles that display only jobs based on their status:

alt text

The query for each style would be similar, but differ by the status attribute you filter on within the query. This would allow you to view jobs by status overlaid on the map.