cursorEnabled property
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:
- enableCursor setter - Enable or disable cursor mode.
- cursorRenderEnabled - Check if cursor rendering is enabled.
setCursorScreenPositionsetter - Set the cursor position.- GemMapController.setCursorScreenPosition - Move the cursor.
Implementation
bool get cursorEnabled {
final OperationResult resultString = objectMethod(
_pointerId,
'MapViewPreferences',
'isCursorEnabled',
dependencyId: _mapPointerId,
);
return resultString['result'];
}