OGC Feature Layer is a dynamic feature service that follows the specifications of OGC API - Features.

Referenced by: operationalLayers

Properties

PropertyDetails
blendModeBlend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.
Valid values: average, color, color-burn, color-dodge, 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
collectionIdA unique identifying string for a feature collection.
customParametersA sequence of parameters used to append custom or vendor specific parameters to all OGC API - Features requests.
disablePopupIndicates whether popup is enabled or not.
effectEffect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
featureEffectFeature Effect emphasizes or deemphasizes features that satisfy a filter using graphical effects
idA unique identifying string for the layer.
itemIdUnique string value indicating an item registered in ArcGIS Online or your organization’s portal.
layerDefinitionAn object that defines the attribute schema and drawing information for a layer drawn using client-side graphics.
See layerDefinition properties table.
layerTypeString indicating the layer type.
Valid value of this property OGCFeatureLayer
maxScaleA number representing the maximum scale at which the layer will be visible. The number is the scale’s denominator.
minScaleA number representing the minimum scale at which the layer will be visible. The number is the scale’s denominator.
opacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
popupInfoA popupInfo object defining the content of popup windows when you click or query a feature.
showLabelsBoolean value indicating whether to display labels for this layer.
showLegendBoolean value indicating whether to display the layer in the legend. Default value is true.
timeAnimationIndicates whether to disable time animation if the layer supports it.
titleA user-friendly string title for the layer that can be used in a table of contents.
urlThe URL of the OGC API Features service landing page.
visibilityBoolean property determining whether the layer is initially visible in the web map.
visibilityTimeExtentRepresents time extent that will control when a layer should be visible based on webmap’s current time. Visibility time extent only affects the layer visibility and will not filter the data.

layerDefinition properties

PropertyDetails
disableDisplayFilterWhen true, ignores the display filter defined on the layer by the displayFilterInfo property.
displayFilterInfoDisplay filters provide information about which features should be rendered on the display.
drawingInfo.labelingInfo[]An object defining the properties used for labeling the layer. If working with Map Image layers, this property is only applicable if the layer is enabled with dynamic layers
drawingInfo.rendererAn object defined which provides the symbology for the layer. If working with Map Image layers, this property is only applicable if the layer is enabled with dynamic layers
orderBy[]An array of orderByField objects specifying the feature display order. Features can be sorted in ascending or descending order of a numeric or date field only. If ascending, features with smaller values will be drawn on top of features with larger values. For date values, ascending order means features with older dates will be drawn on top of features with recent dates. If descending, the sort behavior is reversed. When this property is not defined, features are displayed in the order in which they are received by the client.

OGC Feature Layer Example

{
"collectionId": "MajorRoads",
"customParameters": {
"accessKey": "6443fd686b6d4664840ec8c9e5c12a07"
},
"id": "ogc_f_12",
"url": "https://myservices.arcgis.com/87fb59a2b0b24422b15f9aa459a46160/arcgis/rest/services/California_1/OGCFeatureServer",
"visibility": true,
"opacity": 1,
"itemId": "bd89d3c0dfd84ef8b15505b1c127da80",
"minScale": 0,
"maxScale": 100000,
"popupInfo": {},
"showLegend": false,
"layerType": "OGCFeatureLayer",
"title": "Major Roads in California"
}