ArcGIS Developers

Web Map Specification

Web Feature Service Layer (WFS)

OGC Web Feature Service (WFS) is a dynamic feature service that follows the specifications of OGC.

Referenced by: operationalLayers


Property Details
blendMode Blend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.
If property is present, must be one of the following values: average, color-burn, color-dodge, color, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor
id A unique identifying string for the layer.
itemId Unique string value indicating an item registered in ArcGIS Online or your organization's portal.
layerDefinition An object that defines the attribute schema and drawing information for a layer drawn using client-side graphics.
See layerDefinition properties table.
layerType String indicating the layer type.
Value of this property must be WFS
maxScale A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator.
minScale A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator.
mode Number where 0 means 'snapshot' and 1 means 'ondemand'.
opacity The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
popupInfo A popupInfo object defining the content of popup windows when you click or query a feature.
showLegend Boolean value indicating whether to display the map service layer in the legend.
title A user-friendly string title for the layer that can be used in a table of contents.
url The URL to the layer. If the layer is not from a web service but rather a feature collection, than the url property is omitted.
visibility Boolean property determining whether the layer is initially visible in the web map.
wfsInfo Object that defines and provides information about layers in a WFS service.

layerDefinition properties

Property Details
drawingInfo Contains the drawing and labeling information.
fields An array of field objects containing information about the attribute fields for the feature collection or layer.
geometryType A string defining the type of geometry. Possible geometry types are: esriGeometryPoint, esriGeometryMultipoint, esriGeometryPolyline, esriGeometryPolygon, and esriGeometryEnvelope.
spatialReference An object containing the WKID or WKT identifying the spatial reference of the layer's geometry.


  "operationalLayers": [
      "id": "wfs_19",
      "url": "",
      "visibility": true,
      "opacity": 1,
      "title": "Countries of the World",
      "itemId": "0217f8067457410a998fc9293563ba94",
      "mode": 0,
      "wfsInfo": {
        "version": "2.0.0",
        "name": "countries",
        "wfsNamespace": "",
        "featureUrl": "",
        "maxFeatures": 3000,
        "swapXY": false,
        "supportedSpatialReferences": [
      "layerDefinition": {
        "geometryType": "esriGeometryPoint",
        "spatialReference": {
          "wkid": 4326
        "fields": [
            "name": "geom",
            "type": "esriFieldTypeGeometry"
            "name": "LAT",
            "type": "esriFieldTypeDouble"
            "name": "STAGE",
            "type": "esriFieldTypeString"
      "minScale": 0,
      "maxScale": 113594,
      "popupInfo": {},
      "showLegend": false,
      "layerType": "WFS"

Feedback on this topic?