KmlModel.withGeometry constructor

KmlModel.withGeometry({
  1. required Uri uri,
  2. required ArcGISPoint geometry,
  3. required KmlAltitudeMode altitudeMode,
  4. KmlOrientation? orientation,
  5. KmlScale? scale,
})

Creates a KmlModel from a model file on disk or the network and an ArcGISPoint using the specified altitude mode, orientation, and scale.

Parameters:

  • uri — The URI to the model file on disk or the network.
  • geometry — The geographic location where the model is placed.
  • altitudeMode — Determines how altitude values are interpreted.
  • orientation — The orientation values to apply to the model.
  • scale — The scale values to apply to the model.