WMS layers

To configure a WMS layer for your map, set the type attribute of the LAYER node to app/layer-factory/ags-tile, and set the url attribute to the location of the WMS server.

Then add these options to the OPTIONS node:

  • layerType: wms
  • showLayers: Specify the identifier of the layer.
Note: WMS layers cannot be used when you are working offline.

You can find a sample WMS layer under the mobile-base maplet in the GIS configuration for the Rest Services.