deriveLocationFromItem
Derives proper IHubLocation given an ArcGIS Item. If no location (item.properties.location) is present, one will be constructed from the item's extent.
Derives proper IHubLocation given an ArcGIS Item. If no location (item.properties.location) is present, one will be constructed from the item's extent.
Parameters
Returns
IHubLocation
Property | Type | Notes |
---|---|---|
IHubLocationType | ||
Optional | number[][] | |
Optional | Array<Partial<__esri.Geometry>> | |
Optional | string |
The name of the location |
Optional | ISpatialReference |
Function defined in common/src/content/_internal/internalContentUtils.ts:129