Interface Model

Package world.mappable.mapkit.map

All Superinterfaces:

PlacemarkPresentation

interface Model extends PlacemarkPresentation

describes model presentation of PlacemarkMapObject

Summary

Methods

Type and modifiers

Method and Description

ModelStyle

getModelStyle()
The style properties (sclae, unitType, etc.) of the model placemark.

void

setModelStyle(@NonNull ModelStyle modelStyle)

void

setData(@NonNull DataProviderWithId gltfDataProvider,
        @NonNull Callback onFinished)

Sets gltf data provider.

Methods

getModelStyle

@NonNull
ModelStyle getModelStyle()

The style properties (sclae, unitType, etc.) of the model placemark.

Note: The current style cannot be modified directly - you must reset it to apply changes.


setModelStyle

void setModelStyle(@NonNull ModelStyle modelStyle)


setData

void setData(@NonNull DataProviderWithId gltfDataProvider,
             @NonNull Callback onFinished)

Sets gltf data provider.

The class maintains a strong reference to the object in the 'gltfDataProvider' parameter until it (the class) is invalidated.

Parameters

onFinished

Called when the model is loaded.