The properties of the layer that contains sites for a floor-aware map or scene. More...
Header: | #include <SiteLayerDefinition.h> |
Since: | Esri::ArcGISRuntime 100.12 |
Inherits: | Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::JsonSerializable |
Public Functions
SiteLayerDefinition(const QString &layerId, const QString &nameField, const QString &siteIdField, QObject *parent = nullptr) | |
virtual | ~SiteLayerDefinition() override |
QString | layerId() const |
QString | nameField() const |
QString | siteIdField() const |
Reimplemented Public Functions
virtual QString | toJson() const override |
virtual QJsonObject | unknownJson() const override |
virtual QJsonObject | unsupportedJson() const override |
Static Public Members
Esri::ArcGISRuntime::SiteLayerDefinition * | fromJson(const QString &json, QObject *parent = nullptr) |
Detailed Description
The layer contains the boundaries of managed sites. A site is the largest space designation in the ArcGIS Indoors Information Model and is used to represent an area such as a campus, a barrack, or an industrial site. A site can contain multiple facilities.
See also GeoModelFloorDefinition.
Member Function Documentation
SiteLayerDefinition::SiteLayerDefinition (const QString &layerId , const QString &nameField , const QString &siteIdField , QObject *parent = nullptr)
Creates a new SiteLayerDefinition object with the specified layer id, site name attribute field and site id attribute field.
- layerId - An ID that specifies a layer in the map or scene that contains site features.
- nameField - The name of the attribute field that contains each site feature's name.
- siteIdField - The name of the attribute field that contains each site feature's unique identifier.
- parent - The optional parent QObject.
[override virtual]
SiteLayerDefinition::~SiteLayerDefinition ()
Destructor.
[static]
Esri::ArcGISRuntime::SiteLayerDefinition *SiteLayerDefinition::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 SiteLayerDefinition::layerId () const
Returns an ID that specifies a layer in the map or scene that contains site features.
QString SiteLayerDefinition::nameField () const
Returns the name of the attribute field that contains each site feature's name.
QString SiteLayerDefinition::siteIdField () const
Returns the name of the attribute field that contains each site feature's unique identifier.
[override virtual]
QString SiteLayerDefinition::toJson () const
Reimplements: JsonSerializable::toJson() const.
Converts an object and returns a JSON string.
[override virtual]
QJsonObject SiteLayerDefinition::unknownJson () const
Reimplements: JsonSerializable::unknownJson() const.
Returns the 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.
See also JsonSerializable.
[override virtual]
QJsonObject SiteLayerDefinition::unsupportedJson () const
Reimplements: JsonSerializable::unsupportedJson() const.
Returns the unsupported data from the source JSON.
Unsupported JSON is a dictionary of values that are supported by webmaps, but not exposed through this API.
See also JsonSerializable.