LevelOfDetail constructor

LevelOfDetail({
  1. required int level,
  2. required double resolution,
  3. required double scale,
})

Creates a new level of detail (LOD) object.

Parameters:

  • level — The level of the LOD.
  • resolution — The resolution of the LOD.
  • scale — The scale of the LOD.

Implementation

factory LevelOfDetail({
  required int level,
  required double resolution,
  required double scale,
}) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_LevelOfDetail_createWith(
      level,
      resolution,
      scale,
      errorHandler,
    );
  });
  return LevelOfDetail._withHandle(handle);
}