areMapScalesDrawnByUser property

bool get areMapScalesDrawnByUser

Get whether map scales are drawn by the user or SDK.

Returns

True if scales are drawn by the user, false if drawn by the SDK.

See also:

Implementation

bool get areMapScalesDrawnByUser {
  final OperationResult resultString = staticMethod(
    'MapView',
    'getAreMapScalesDrawnByUser',
  );

  return resultString['result'];
}
set areMapScalesDrawnByUser (bool value)

Configure whether map scales are drawn by the user or the SDK.

Only applicable when showMapScale is true. When false (the default), the SDK automatically renders the scale bar. When true, you must provide custom rendering instructions via GemMapController.registerOnRenderMapScale. This setting applies globally to all map views in the application.

Parameters

  • value: (bool) True for custom user-drawn scales, false for SDK rendering.

See also:

Implementation

set areMapScalesDrawnByUser(final bool value) {
  staticMethod('MapView', 'setAreMapScalesDrawnByUser', args: value);
}