create Or Null
fun createOrNull(uri: String, geometry: Point, altitudeMode: KmlAltitudeMode, orientation: KmlOrientation = KmlOrientation(
heading = 0.0,
tilt = 0.0,
roll = 0.0
), scale: KmlScale = KmlScale(scaleX = 1.0, scaleY = 1.0, scaleZ = 1.0)): KmlModel?
Creates a KmlModel from a model file on disk or the network and a com.arcgismaps.geometry.Point using the specified altitude mode, orientation, and scale.
Return
a KmlModel or null if the point's spatial reference is null or the altitude mode is unknown.
Since
200.6.0
Parameters
uri
The URI to the model file on disk or the network.
geometry
The geographic location where the model is placed.
altitude Mode
Determines how altitude values are interpreted.
orientation
The orientation values to apply to the model.
scale
The scale values to apply to the model.