mapDetailsQualityLevel property
Get the map details quality level.
The quality level controls the amount of detail rendered on the map, including label density, texture quality, and geometry complexity. Higher quality levels provide more visual detail but may impact performance on lower-end devices.
Returns
- (MapDetailsQualityLevel) The current quality level (low, medium, or high).
See also:
- MapDetailsQualityLevel - Available quality options.
Implementation
MapDetailsQualityLevel get mapDetailsQualityLevel {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'getMapDetailsQualityLevel',
dependencyId: _mapPointerId,
);
return MapDetailsQualityLevelExtension.fromId(resultString['result']);
}
Set the map details quality level.
Adjusts the overall rendering quality of the map. Higher quality levels display more labels, finer textures, and more detailed geometry, but may reduce performance on lower-end devices. Use MapDetailsQualityLevel.low for better performance or MapDetailsQualityLevel.high for maximum detail.
Parameters
level: (MapDetailsQualityLevel) The quality level to apply.
See also:
- mapDetailsQualityLevel getter - Get current quality level.
Implementation
set mapDetailsQualityLevel(final MapDetailsQualityLevel level) {
objectMethod(
_pointerId,
'MapViewPreferences',
'setMapDetailsQualityLevel',
args: level.id,
dependencyId: _mapPointerId,
);
}