Adding a feature layer

  1. Open the GIS configuration for your Rest Services site in the Configuration Editor.
  2. Under the MAPLETS node, browse to the maplet to which you're adding the layer.
  3. Add a child LAYER node under the Maplet > MAP > LAYERS node.
  4. Add these attributes to the new LAYER node:
    basemap
    Set to False.
    id
    Specify the ID for the layer.
    syncMapping
    Specify the GIS mapping that will be used to synchronize this layer with records in Infor Operations and Regulations.

    See GIS synchronization.

    text
    Specify the display text for the layer.
    type
    Specify app/layer-factory/ags-tile.
    url
    Specify the URL of the map service that provides the layer.
  5. Add a child OPTIONS node to the LAYER node.
  6. Add these options to the OPTIONS node:
    layerType
    Specify rest.
    showLayers
    Specify the index for the layer that you want to show. This must be a layer defined for the service specified by the URL on the LAYER node.
    Note: Specify the index of the layer, not the layer ID.
    field-list
    Optionally, specify the features of the layer that you want to show in the feature popup. If you do not list any features, then all will be shown.
    min-zoom
    Specify the minimum zoom level at which the layer is visible.
    max-zoom
    Specify the maximum zoom level at which the layer is visible.
    visible
    Specify True or False to indicate whether the layer is visible when the map first opens.
  7. Save your changes.