FacilityLayerDefinition

class FacilityLayerDefinition : JsonSerializable

Defines the properties of the layer that contains facilities for a floor-aware map or scene. The layer contains the footprints of managed facilities. A facility represents any occupiable structure, such as an office or campus building, retail setting, or industrial structure. Facilities have one or more floor levels and are optionally grouped into sites.

See also

Constructors

Link copied to clipboard
fun FacilityLayerDefinition(    layerId: String,     facilityIdField: String,     nameField: String,     siteIdField: String)

Creates a new FacilityLayerDefinition object with the specified Layer.getId(), facility id attribute field, facility name attribute field, and site id attribute field.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.

Properties

Link copied to clipboard
val facilityIdField: String

The name of the attribute field that contains a facility feature's unique identifier.

Link copied to clipboard
val layerId: String

An ID that specifies a layer in the map or scene that contains facilities. The layer provides access to facility features for floor filtering.

Link copied to clipboard
val nameField: String

The name of the attribute field that contains each facility feature's name.

Link copied to clipboard
val siteIdField: String

The name of the attribute field that contains a facility feature's site identifier (a foreign key to the Site layer).

Link copied to clipboard
open override val unknownJson: Map<String, Any>

Unknown data from the source JSON. Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by this API.

Link copied to clipboard
open override val unsupportedJson: Map<String, Any>

Unsupported data from the source JSON. Unsupported JSON is a dictionary of values that are supported by web maps, but not exposed through this API.