Markers

Markers

Markers controller

Constructor

new Markers(micrionon-null, datanon-null)

Create the UI instance
Parameters:
Name Type Description
micrio Micrio The Micrio instance
data Array.<!MarkerData> An array with the Marker JSON data

Classes

Markers

Members

_audio :Element|undefined

Global Micrio audio element
Type:
  • Element | undefined

(nullable) currentItem :Marker

Current opened marker
Type:

currentTour :MarkerTour|MarkerScrollTour

Current running Marker Tour
Type:

(constant, non-null) items :Array.<!Marker>

The instanced Marker items
Type:

Methods

getItemById(id) → {Marker|undefined}

Get a marker by ID
Parameters:
Name Type Description
id string The Marker id
Returns:
The marker, if found
Type
Marker | undefined