showMapScale property
Check if map scale is shown
Returns
- True if map scale is shown, false otherwise
Throws
- An exception if it fails.
Implementation
bool get showMapScale {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'isMapScaleShown',
);
return resultString['result'];
}
Check if map scale is shown
Controlling whether the map scale is drawn by the SDK automatically or not can be done via the areMapScalesDrawnByUser setter.
Returns
- True if map scale is shown, false otherwise
Throws
- An exception if it fails.
Implementation
set showMapScale(final bool value) {
objectMethod(_pointerId, 'MapViewPreferences', 'showMapScale', args: value);
}