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 | number[][] | |
Optional | any | |
Optional | Array<Partial<__esri.Geometry>> | |
Optional | any | |
Optional | string | |
Optional | ISpatialReference | |
Optional | "none" | "custom" | "existing" | |
Optional | ISpatialReference |
Function defined in common/src/content/_internal/internalContentUtils.ts:129