Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

GISMapApp

Layers properties

  • Last UpdatedApr 23, 2024
  • 2 minute read

The following table lists the properties to configure layers in GISMapApp:

Property

Description

Layers

Comma-separated list of layers to show in the map (show all if empty).

List of layer titles (configured in the App Editor) to filter which ones to include. If preceded by an exclamation mark (!) all layers are included except for the ones in this list.
For example: OSM,Cities,State will show only these three layers. !OSM,Cities,State will show all configured layers except for these three.

This property also supports specifying a JSON array with the raw layers configuration. In this case, the App Editor configuration is not used. Also, this property will be updated with the current layers configuration when a new value for UpdateLayers widget property is set.

Example:

UpdateLayers

JSON array with layers to update, merging current configuration by title.
This property allows to update layers configuration without having to specify the all the current layers configuration.
The layers are merged using the title property. For child layers (inside groups), all parent titles need to be specified.

Examples:

  • Hide layer

  • Hide child layer

  • Update custom layer data

  • Update multiple layers properties

  • Add a new layer

  • Remove a layer

TitleResults for “How to create a CRG?”Also Available in