The main data JSON structure
Markers
Marker tours
Video tours
Custom menu pages
Image audio data
Music playlist
The audio assets
Loop the playlist
Positional audio asset items
Optional lang-specific image description
Image copyright information
Original source URI
A Marker
The marker ID
The relative marker X coordinate [0-1]
The relative marker Y coordinate [0-1]
The viewport to zoom to when the marker is opened
The marker title
The marker url slug
Marker main body text
Marker markdown markdown rendered body (autogenerated)
Marker secondary body text
Marker classnames
Audio asset
Autoplay the audio asset when the marker is opened
Don't draw a marker element
A custom HTML element instead of the default
Embedded images into main image
An optional iframe embed url
Embed description
Open the iframe embed in a full-window popover overlay
Having the embed iframe printed mutes audio
Put the iframe embed as the first image embed
Put the iframe embed into the image embed on image load
Images inside marker popup
Video tour which plays when the marker is opened
Optional marker settings
A custom marker icon image
This marker links to this image
This marker opens secondary split image with id
Don't animate the camera when opening this marker
Show the title below the marker
Prevent opening the marker popup
This marker has a static popup instead of being placed relative to the marker
Don't open a large image viewer/gallery on image click
The marker in-image embeds are the marker trigger instead of a regular marker button
The marker in-image embeds stay visible after closing the marker
Force a marker popup no matter what
Jump the camera when opening this marker
This marker is not closeable
The marker scales with the zooming image
Optional custom settings. This is the "Custom JSON" field in the marker editor
An embedded element inside the main image. This could be an image, or possible iframe embed. This is created in the Micrio editor.
The MicrioTour abstract shared class for both MarkerTour
and VideoTour
The tour id
The tour title
The tour description
The tour url slug
Autostart this tour on image load
A Micrio video tour -- a timed sequence of viewport, with optional audio file. This is created in the Micrio editor.
Timed events inside a [[MicrioVideoTour
]]
Start time in seconds
End time in seconds
Custom event name
Custom event data
Optional ID to hook to
A Micrio marker tour -- a sequence of markers, which the user can navigate through. This is created in the Micrio editor.
A custom pop-out menu containing content pages or direct external links to websites, or direct links to opening a marker. This is created in the Micrio editor.
The menu title
Child menu elements
Open this marker when clicking menu
Direct link url for menu button
Optional direct action function when clicked
For page: iframe embed
For page: page image
For page: content HTML
For page: content markdown
Generated using TypeDoc
Image content data
The image content
ImageCultureData
JSON object, which is accessible asMicrioImage.data
as theWritable
store, andMicrioImage.$data
for its current value.This JSON data includes:
This file is most likely created in the Micrio editor and this file is published separately per language. By default this is English,
data.en.json
.To access the data of the current viewed image, use:
To subscribe to any data changes:
To set your own custom data:
Or to update an existing loaded data object: