showMapScale property
bool
get
showMapScale
Check if map scale is shown
Returns
- True if map scale is shown, false otherwise
Implementation
bool get showMapScale {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'isMapScaleShown',
dependencyId: _mapPointerId,
);
return resultString['result'];
}
set
showMapScale
(bool value)
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
Implementation
set showMapScale(final bool value) {
objectMethod(
_pointerId,
'MapViewPreferences',
'showMapScale',
args: value,
dependencyId: _mapPointerId,
);
}