getItemLayerId

Function

return the layerId if we can tell that item is a single layer service

return the layerId if we can tell that item is a single layer service

  • getItemLayerId(item: IItem) : string

Parameters

Parameter Type Default Notes
item Required IItem

from AGO

Returns

layer id

string

Function defined in common/src/content/compose.ts:474