getFeatureLayerItem

Function

Gets item info out of a feature layer item.

  • getFeatureLayerItem(url: string, body: Partial<ILayerDefinition>) : {
    description:
    string
    extent:
    IExtent
    title:
    string
    url:
    string
    }

Parameters

Parameter Type Default Notes
url Required string

Item URL

body Required Partial<ILayerDefinition>

Item body.

Returns

Item info (title, description, extent, url)

{
description:
string
extent:
IExtent
title:
string
url:
string
}

Function defined in common/src/resources/_internal/_validate-url-helpers.ts:107