MapModel3D MapModel3D MapModel3D MapModel3D Class

Definition

Represents a 3D object to show on a map.

public : class MapModel3D : DependencyObject, IMapModel3Dpublic class MapModel3D : DependencyObject, IMapModel3DPublic Class MapModel3D Inherits DependencyObject Implements IMapModel3D// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 Fall Creators Update (introduced v10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v5)

Inherited Members

Inherited methods

Inherited properties

Constructors

MapModel3D() MapModel3D() MapModel3D() MapModel3D()

Creates an instance of a MapElement3D.

public : MapModel3D()public MapModel3D()Public Sub New()// This API is not available in Javascript.

Methods

CreateFrom3MFAsync(IRandomAccessStreamReference) CreateFrom3MFAsync(IRandomAccessStreamReference) CreateFrom3MFAsync(IRandomAccessStreamReference) CreateFrom3MFAsync(IRandomAccessStreamReference)

Creates an instance of a MapModel3D by importing a 3D object from a 3D Manufacturing Format (3MF) file.

public : static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source)public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source)Public Static Function CreateFrom3MFAsync(source As IRandomAccessStreamReference) As IAsyncOperation( Of MapModel3D )// This API is not available in Javascript.
Parameters
Returns

Remarks

Set the Model property of the MapElement3D to this object.

CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption) CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption) CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption) CreateFrom3MFAsync(IRandomAccessStreamReference, MapModel3DShadingOption)

Creates an instance of a MapModel3D by importing a 3D object from a 3D Manufacturing Format (3MF) file.

public : static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source, MapModel3DShadingOption shadingOption)public static IAsyncOperation<MapModel3D> CreateFrom3MFAsync(IRandomAccessStreamReference source, MapModel3DShadingOption shadingOption)Public Static Function CreateFrom3MFAsync(source As IRandomAccessStreamReference, shadingOption As MapModel3DShadingOption) As IAsyncOperation( Of MapModel3D )// This API is not available in Javascript.
Parameters
shadingOption
MapModel3DShadingOption MapModel3DShadingOption MapModel3DShadingOption MapModel3DShadingOption

The type of shading that you would like to appear for the object.

Returns

Remarks

Set the Model property of the MapElement3D to this object.