Adding a feature layer
- Open the GIS configuration for your Rest Services site in the Configuration Editor.
- Under the MAPLETS node, browse to the maplet to which you're adding the layer.
- Add a child LAYER node under the Maplet > MAP > LAYERS node.
- 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.
- Add a child OPTIONS node to the LAYER node.
- 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.
- Save your changes.