getFeatureServiceItem

Function

Gets item info out of a feature service response (which is not a specific layer)

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

Parameters

Parameter Type Default Notes
url Required string
body Required Partial<IFeatureServiceDefinition>

Returns

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

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