GeoModelFloorDefinition Class

  • GeoModelFloorDefinition
  • class Esri::ArcGISRuntime::GeoModelFloorDefinition

    Contains floor-awareness settings for a map or scene. More...

    Header: #include <GeoModelFloorDefinition.h>
    Since: Esri::ArcGISRuntime 100.12
    Inherits: Esri::ArcGISRuntime::Object and Esri::ArcGISRuntime::JsonSerializable

    This class was introduced in Esri::ArcGISRuntime 100.12.

    Public Functions

    GeoModelFloorDefinition(Esri::ArcGISRuntime::FacilityLayerDefinition *facilityLayerDefinition, Esri::ArcGISRuntime::LevelLayerDefinition *levelLayerDefinition, Esri::ArcGISRuntime::SiteLayerDefinition *siteLayerDefinition, QObject *parent = nullptr)
    virtual ~GeoModelFloorDefinition() override
    Esri::ArcGISRuntime::FacilityLayerDefinition *facilityLayerDefinition() const
    Esri::ArcGISRuntime::LevelLayerDefinition *levelLayerDefinition() const
    Esri::ArcGISRuntime::SiteLayerDefinition *siteLayerDefinition() const

    Reimplemented Public Functions

    virtual QString toJson() const override
    virtual QJsonObject unknownJson() const override
    virtual QJsonObject unsupportedJson() const override

    Static Public Members

    Esri::ArcGISRuntime::GeoModelFloorDefinition *fromJson(const QString &json, QObject *parent = nullptr)

    Detailed Description

    GeoModelFloorDefinition defines the required layers, and the required fields for each of those layers in a floor-aware map or scene. The floor definition must contain GeoModelFloorDefinition::levelLayerDefinition and GeoModelFloorDefinition::facilityLayerDefinition properties at a minimum, representing the facilities (for example, buildings) and the floor levels within those facilities. The GeoModelFloorDefinition::siteLayerDefinition property is optional, and represents the sites (campuses) that the facilities may be grouped into.

    See also LayerFloorDefinition.

    Member Function Documentation

    GeoModelFloorDefinition::GeoModelFloorDefinition(Esri::ArcGISRuntime::FacilityLayerDefinition *facilityLayerDefinition, Esri::ArcGISRuntime::LevelLayerDefinition *levelLayerDefinition, Esri::ArcGISRuntime::SiteLayerDefinition *siteLayerDefinition, QObject *parent = nullptr)

    Creates a new GeoModelFloorDefinition object with the specified facility layer definition, level layer definition, and site layer definition.

    • facilityLayerDefinition - The layer and field properties for the layer used to describe facilities.
    • levelLayerDefinition - The layer and field properties for the layer used to describe floor levels.
    • siteLayerDefinition - The layer and field properties for the layer used to describe sites.
    • parent - The optional parent QObject.

    [override virtual] GeoModelFloorDefinition::~GeoModelFloorDefinition()

    Destructor.

    Esri::ArcGISRuntime::FacilityLayerDefinition *GeoModelFloorDefinition::facilityLayerDefinition() const

    Returns the layer and field properties for the layer used to describe facilities.

    [static] Esri::ArcGISRuntime::GeoModelFloorDefinition *GeoModelFloorDefinition::fromJson(const QString &json, QObject *parent = nullptr)

    Converts a JSON string and returns an object.

    • json - The JSON string.
    • parent The parent object (optional).

    Esri::ArcGISRuntime::LevelLayerDefinition *GeoModelFloorDefinition::levelLayerDefinition() const

    Returns the layer and field properties for the layer used to describe floor levels.

    Esri::ArcGISRuntime::SiteLayerDefinition *GeoModelFloorDefinition::siteLayerDefinition() const

    Returns the layer and field properties for the layer used to describe sites. This property is optional.

    [override virtual] QString GeoModelFloorDefinition::toJson() const

    Reimplements: JsonSerializable::toJson() const.

    Converts an object and returns a JSON string.

    [override virtual] QJsonObject GeoModelFloorDefinition::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 GeoModelFloorDefinition::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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.