Show / Hide Table of Contents

Constructor KmlModel

KmlModel(Uri, KmlOrientation, KmlScale)

Initializes a new instance of the KmlModel class from a model file on disk or the network using the specified orientation and scale.

Declaration
public KmlModel(Uri uri, KmlOrientation orientation, KmlScale scale)
Parameters
Type Name Description
System.Uri uri

The URI to the model file on disk or the network.

KmlOrientation orientation

The orientation values to apply to the model.

KmlScale scale

The scale values to apply to the model.

Remarks

This constructor is used when creating a model for use in a track, which will adopt the track's geometry and altitude mode.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 200.8
.NET Windows200.6 - 200.8
.NET Android200.6 - 200.8
.NET iOS200.6 - 200.8
.NET Framework200.6 - 200.8
UWP200.6 - 200.8

KmlModel(Uri, MapPoint, KmlAltitudeMode, KmlOrientation, KmlScale)

Initializes a new instance of the KmlModel class from a model file on disk or the network and a MapPoint using the specified altitude mode, orientation, and scale.

Declaration
public KmlModel(Uri uri, MapPoint geometry, KmlAltitudeMode altitudeMode, KmlOrientation orientation, KmlScale scale)
Parameters
Type Name Description
System.Uri uri

The URI to the model file on disk or the network.

MapPoint geometry

The geographic location where the model is placed.

KmlAltitudeMode altitudeMode

Determines how altitude values are interpreted.

KmlOrientation orientation

The orientation values to apply to the model.

KmlScale scale

The scale values to apply to the model.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 200.8
.NET Windows200.6 - 200.8
.NET Android200.6 - 200.8
.NET iOS200.6 - 200.8
.NET Framework200.6 - 200.8
UWP200.6 - 200.8

KmlModel(Uri, MapPoint, KmlAltitudeMode)

Initializes a new instance of the KmlModel class from a model file on disk or the network and a MapPoint using a specified altitude mode.

Declaration
public KmlModel(Uri uri, MapPoint geometry, KmlAltitudeMode altitudeMode)
Parameters
Type Name Description
System.Uri uri

The URI to the model file on disk or the network.

MapPoint geometry

The geographic location where the model is placed.

KmlAltitudeMode altitudeMode

Determines how altitude values are interpreted.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 200.8
.NET Windows200.6 - 200.8
.NET Android200.6 - 200.8
.NET iOS200.6 - 200.8
.NET Framework200.6 - 200.8
UWP200.6 - 200.8
In This Article
Back to top Copyright © 2022 Esri.