elevationAlphaFactor property
Get the elevation alpha factor.
Returns
- (double) The elevation alpha factor (0.0 to 1.0).
Implementation
double get elevationAlphaFactor {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getElevationAlphaFactor',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
Set the elevation alpha factor.
Parameters
alphaFactor: (double) A value between 0.0 and 1.0 controlling opacity.
Implementation
set elevationAlphaFactor(double alphaFactor) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setElevationAlphaFactor',
args: alphaFactor,
dependencyId: _mapPointerId,
);
}