Defines the properties of the layer that contains facilities for a floor-aware map or scene. More...
Header | #include <Facility |
Since | Esri |
Inherits | Esri |
Public Functions
Facility | |
virtual | ~ |
Q | facility |
Q | layer |
Q | name |
Q | site |
Reimplemented Public Functions
virtual Q | to |
(deprecated) virtual Q | unknown |
(deprecated) virtual Q | unsupported |
Static Public Members
Esri | from |
Detailed Description
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 GeoModelFloorDefinition.
Member Function Documentation
FacilityLayerDefinition::FacilityLayerDefinition (const QString &layerId , const QString &facilityIdField , const QString &nameField , const QString &siteIdField , QObject *parent = nullptr)
Creates a new FacilityLayerDefinition object with the specified layer id, facility id attribute field, facility name attribute field and site id attribute field.
- layerId - An ID that specifies a layer in the map or scene that contains facilities.
- facilityIdField - The name of the attribute field that contains a facility feature's unique identifier.
- nameField - The name of the attribute field that contains a facility feature's name.
- siteIdField - The name of the attribute field that contains a facility feature's site identifier (a foreign key to the layer that contains sites).
- parent - The optional parent QObject.
[override virtual noexcept]
FacilityLayerDefinition::~FacilityLayerDefinition ()
Destructor.
QString FacilityLayerDefinition::facilityIdField () const
Returns the name of the attribute field that contains a facility feature's unique identifier.
[static]
Esri::ArcGISRuntime::FacilityLayerDefinition *FacilityLayerDefinition::fromJson (const QString &json, QObject *parent = nullptr)
Converts a JSON string and returns an object.
- json - The JSON string.
- parent The parent object (optional).
QString FacilityLayerDefinition::layerId () const
Returns an ID that specifies a layer in the map or scene that contains facilities. The layer provides access to facility features for floor filtering.
QString FacilityLayerDefinition::nameField () const
Returns the name of the attribute field that contains each facility feature's name.
QString FacilityLayerDefinition::siteIdField () const
Returns the name of the attribute field that contains a facility feature's site identifier (a foreign key to the Site layer).
[override virtual]
QString FacilityLayerDefinition::toJson () const
Reimplements: JsonSerializable::toJson() const.
Converts an object and returns a JSON string.