areMapScalesDrawnByUser property
Get if the map scales are drawn by the user or by the SDK
Returns
- True if the scale should be drawn by the user, false if it should be drawn by the SDK
Implementation
bool get areMapScalesDrawnByUser {
final OperationResult resultString = objectMethod(
0,
'MapView',
'getAreMapScalesDrawnByUser',
);
return resultString['result'];
}
Set if the map scales are drawn by the user or by the SDK
Only applicable if the MapViewPreferences.showMapScale is set to true.
The instructions on how to draw the scale are provided by IMapViewListener.onRenderMapScale
callback.
This options applies to all the map views in the application. Drawing the scale can be enabled/disabled for each map view separately via the MapViewPreferences.showMapScale method.
Parameters
- IN value True if the scale should be drawn by the user, false if it should be drawn by the SDK
Throws
- An exception if it fails.
Implementation
set areMapScalesDrawnByUser(final bool value) {
objectMethod(0, 'MapView', 'setAreMapScalesDrawnByUser', args: value);
}