FacilityLayerDefinition class final
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.
- Implemented types
- Mixed-in types
Constructors
- FacilityLayerDefinition({required String layerId, required String facilityIdField, required String nameField, String? siteIdField})
-
Creates a new FacilityLayerDefinition object with the specified
Layer.id, facility id attribute field, facility name attribute field,
and site id attribute field.
factory
-
FacilityLayerDefinition.fromJson(Map<
CaseInsensitiveString, dynamic> json) -
Creates an instance of this class from JSON of the data type used by
jsonDecode.
factory
- FacilityLayerDefinition.fromJsonString(String jsonString)
-
Creates an instance of this class from a JSON String.
factory
Properties
- facilityIdField → String
-
The name of the attribute field that contains a facility feature's unique
identifier.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
no setter
- nameField → String
-
The name of the attribute field that contains each facility feature's
name.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- siteIdField → String
-
The name of the attribute field that contains a facility feature's site
identifier (a foreign key to the Site layer).
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< CaseInsensitiveString, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited