Readonly bareboneBarebone texture downloading, uglier but less bandwidth
Readonly canvasThe Micrio sizing and <canvas> controller
Readonly canvasesAll available canvases
Readonly currentCurrent main MicrioImage store SvelteStore.Writable. Its value can be referred to using the $current property
Optional defaultCustom settings, if specified, this overwrites any server received data
Readonly eventsUser input browser event handlers
360 tour Space data
Readonly stateThe main state manager. Read more about it in the State section.
Readonly visibleCurrently visible canvases
Static VERSIONThe Micrio library version number
Static jsonDownloaded JSON files cache store
The current active and shown MicrioImage, returning the current value of the current store SvelteStore.Writable
Static observedClose an opened MicrioImage
The currently visible MicrioImage
Open a Micrio image by ID or Models.ImageInfo.ImageInfo JSON data
An image ID or a Models.ImageInfo.ImageInfo JSON object
Some opening parameters
Optional gridDon't focus on an image inside the grid, keep the grid active
Optional isPassive split screen
Optional splitOpen the image as a secondary split screen image
Optional splitOptional image that is the lead image for split screen
Optional startOptional start view
Optional vector?: VectorIn case of 360, move into this direction
The main Micrio HTML element
The main
<micr-io>controller instance, which extends a basicHTMLElement.This controls all necessary rendering components and images to display.
Creating a Micrio element is easy:
Attribute settings
You can customize the Micrio behavior by setting its HTML element attributes. These will be parsed to a {@link Models.ImageInfo.ImageInfo} JSON object, and overwrite any values received from the server.
Image info
idwidthautoheightautoGeneral options
langenlazyloadfalsedata-pathdata-force-pathinfo.jsoncalls to be from thedata-pathparameterfalsedata-skipmetafalsedata-gtagtrueDisplay options
data-focusx, y0.5, 0.5data-view0, 0, 1, 1data-zoomlimit1data-coverlimitfalsedata-inittypecoverfilling the screendata-is360autodata-normalize-dprtrueUser input events and behavior
data-eventstruedata-keysfalsedata-zoomingtruedata-scroll-zoomtruedata-pinch-zoomtruedata-draggingtruedata-two-finger-panfalsedata-control-zoomctrlorcmdto zoom using the scroll wheelfalsedata-camspeed1data-freemovefalsedata-elasticity1User interface options
data-uimarkersto only show markers, ornonefor zero HTMLtruedata-controlstruedata-socialtruedata-fullscreentruedata-logotruedata-logo-orgtruedata-toolbartruedata-show-infotruedata-minimaptruedata-minimap-hidetruedata-minimap-height200data-minimap-width160Audio options
mutedfalsevolume1data-musicvolume1data-mutedvolume0Author
Marcel Duin marcel@micr.io
Copyright
Q42 Internet BV, Micrio, 2015 - 2024
Link
https://micr.io/ , https://q42.nl/en/