elevationAlphaFactor property

double get elevationAlphaFactor

Get the value of the elevation alpha factor.

Returns

  • The elevation alpha factor between 0 and 1

Implementation

double get elevationAlphaFactor {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'getElevationAlphaFactor',
    dependencyId: _mapPointerId,
  );

  return resultString['result'];
}
set elevationAlphaFactor (double alphaFactor)

Set the elevation alpha factor value

Parameters

  • IN alphaFactor Float value between 0 and 1 to set the elevation shadows opacity

Implementation

set elevationAlphaFactor(double alphaFactor) {
  objectMethod(
    _pointerId,
    'MapViewPreferences',
    'setElevationAlphaFactor',
    args: alphaFactor,
    dependencyId: _mapPointerId,
  );
}