The properties of the layer that contains sites for a floor-aware map or scene. More...
|  Header |  #include <Site | 
|  Since |  Esri | 
|  Inherits |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.12.
Public Functions
| Site | |
| virtual | ~ | 
| QString | layer | 
| QString | name | 
| QString | site | 
Reimplemented Public Functions
| virtual QString | to | 
|  virtual QJson | unknown | 
|  virtual QJson | unsupported | 
Static Public Members
|  Esri | from | 
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 unknown data from the source JSON.
Unknown JSON is a dictionary of values that was in the source JSON but was unparsed by the Runtime.
See also JsonSerializable.
[override virtual] QJsonObject  SiteLayerDefinition::unsupportedJson () const   
Reimplements: JsonSerializable::unsupportedJson() const.
Returns unsupported data from the source JSON.
Unsupported JSON is a dictionary of values that are supported by webmaps, but not exposed through the native Runtime API.
See also JsonSerializable.