cursorEnabled property

bool get cursorEnabled

Check if the cursor is enabled.

When the cursor is enabled, map selection can be activated by calling GemMapController.setCursorScreenPosition. The cursor is a crosshair that appears at the specified screen position. Note that both enableCursor and enableCursorRender must be true for the cursor to be visible on screen. The cursor is automatically disabled when entering follow position mode.

Returns

  • (bool) True if the cursor is enabled, false otherwise.

See also:

Implementation

bool get cursorEnabled {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPreferences',
    'isCursorEnabled',
    dependencyId: _mapPointerId,
  );

  return resultString['result'];
}