-
Notifications
You must be signed in to change notification settings - Fork 0
InteractionSwitches
Imported from @elite-dangerous-almanac/galaxy-map.
Which of the user's inputs the map acts on. Each switch is on unless a host turns it off, and each one covers the mouse and the touch form of the same input.
A switch that is off stops that input from changing the view or the selection. It does
not stop the map from drawing, from reporting a hover or from answering systemAt, and
it does not stop the canvas from holding off the browser's own default action: a canvas
that let the page scroll under a disabled wheel would be worse than one that zooms.
The switches are for the user's input. A setView, a setSelection and a flyTo from
the host work whatever they say.
readonlykeys:boolean
The eight movement keys.
readonlyorbit:boolean
The left drag and the two finger turn.
readonlypan:boolean
The right drag and the one finger drag.
readonlyselect:boolean
The click and the tap that select a system.
readonlyzoom:boolean
The wheel and the pinch.
Examples
Interfaces
- AddReport
- Category
- CategoryInput
- CategoryReject
- CategoryReport
- DatasetContent
- DatasetEntry
- DatasetInfo
- DatasetLoadResult
- DatasetView
- FlyToOptions
- FlyToTarget
- FragmentWriter
- FragmentWriterOptions
- GalaxyMap
- GalaxyMapOptions
- HudAction
- HudHandle
- HudInfoFields
- HudOptions
- InteractionSwitches
- Line
- LineInput
- MapView
- NebulaSource
- RealSystem
- Reject
- ResolvedIcon
- ShapeInfo
- ShapeReject
- ShapeReport
- Sphere
- SphereInput
- StartView
- SystemDetailValue
- SystemDetails
- SystemImage
- SystemRecordInput