Readonly
centerCurrent center screen coordinates and scale
Fly to the specific coordinates
The X, Y and scale coordinates to fly to
Animation options
Promise when the animation is done
Fly to a screen-covering view of the image
Animation options
Promise when the animation is done
Fly to a full view of the image
Animation options
Promise when the animation is done
Fly to a specific view
The viewport to fly to
Optional animation settings
Promise when the animation is done
Gets the static image XY coordinates of a screen coordinate
The screen X coordinate in pixels
The screen Y coordinate in pixels
Use absolute browser window coordinates
Allow to go out of image bounds
The relative image XY coordinates
Get a custom matrix for 360 placed embeds
The X coordinate
The Y coordinate
Optional
scale: numberThe object scale
Optional
radius: numberThe object radius (default 10)
Optional
rotX: numberThe object X rotation in radians
Optional
rotY: numberThe object Y rotation in radians
Optional
rotZ: numberThe object Z rotation in radians
Optional
transY: numberOptional Y translation in 3d space
Optional
scaleX: numberOptional
scaleY: numberThe resulting 4x4 matrix
Gets the static screen XY coordinates of an image coordinate
The image X coordinate
The image Y coordinate
Use absolute browser window coordinates
Optional
radius: numberOptional
rotation: numberOptional
noTrueNorth: booleanThe screen XY coordinates in pixels
Pan relative pixels
The horizontal number of pixels to pan
The vertical number of pixels to pan
An optional duration
Optional
noOptional
render?: booleanSet the relative Models.Camera.View to render to, animates by default
Optional
direct?: booleanDirectly set the area without animation
Optional
noDon't emit the updates back to JS
Optional
noDon't trigger a frame draw
Limit camera navigation boundaries
The viewport limit
Set the screen viewport
The viewport
Options
Optional
area?: ViewCustom sub-area
Optional
correct[360] Correct the view to trueNorth
Optional
noDon't restrict the boundaries
Optional
noDon't render
Do a zooming animation
The amount to zoom
A forced duration in ms of the animation
Screen pixel X-coordinate as zoom focus
Screen pixel Y-coordinate as zoom focus
A non-default camera speed
Can zoom outside of the image boundaries
Promise when the zoom animation is done
The virtual Micrio camera
Author
Marcel Duin marcel@micr.io
Copyright
Q42 Internet BV, Micrio, 2015 - 2024
Link
https://micr.io/ , https://q42.nl/en/