Writable Svelte store indicating if event handling is currently enabled. Set to false during tours or animations.
Current pinch zoom factor relative to the start of the pinch. Undefined when not pinching.
Getter for the current value of the enabled store.
Checks if the user is currently interacting with the map via panning, pinching, or wheeling.
True if the user is actively navigating.
Handles user input events (mouse, touch, keyboard, wheel, gestures) for the Micrio viewer. Translates browser events into camera movements (pan, zoom), dispatches custom Micrio events, and manages interaction states like panning, pinching, and enabled/disabled states. Accessed via
micrio.events
.Author
Marcel Duin marcel@micr.io