Constructor
# new Location()
See GeoJSON Feature
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
string
|
||
type |
string
|
||
geometry |
Geometry
|
See GeoJSON Geometry | |
properties |
Properties
|
Properties | |
aliases |
Array:.<string:>
|
||
anchor |
string
|
||
building |
string
|
||
categories |
Object:.<string:, string:>
|
||
description |
string
|
<nullable> |
|
displayRule |
DisplayRule
|
<nullable> |
|
externalId |
string
|
<nullable> |
|
fields |
Object:.<string:, Field:>
|
Custom properties. | |
floor |
string
|
||
floorName |
string
|
||
imageURL |
string
|
||
locationType |
string
|
||
mapElement |
string
|
||
name |
string
|
||
type |
string
|
||
venue |
string
|
Methods
# getFieldForKey(key) → {Field}
Get data for custom property with key, disregarding casing of key.
Parameters:
Name | Type | Description |
---|---|---|
key |
string
|
for custom property. |
Properties
# getLiveDataForDomain(domainType) → {LiveUpdate}
Get live update for a domain type on a location.
Parameters:
Name | Type | Description |
---|---|---|
domainType |
string
|
The live data domain type to get. |