Marker: {
    audioAutoPlay?: boolean;
    backside?: boolean;
    data?: MarkerData;
    embedAutoPlay?: boolean;
    embedMutesAudio?: boolean;
    htmlElement?: HTMLElement;
    i18n?: {
        [key: string]: MarkerCultureData;
    };
    id: string;
    imageLayer?: number;
    images?: Models.Assets.Image[];
    noMarker?: boolean;
    onclick?: ((m) => void);
    popupType: "popup" | "popover" | "none" | "micrioLink";
    positionalAudio?: AudioLocation;
    radius?: number;
    rotation?: number;
    tags: string[];
    type?: "default" | "image" | "audio" | "video" | "media" | "link" | "waypoint" | "cluster";
    videoTour?: VideoTour;
    view?: View;
    visibleArc?: [number, number];
    x: number;
    y: number;
}

A Marker

Type declaration

  • Optional audioAutoPlay?: boolean

    Autoplay the audio asset when the marker is opened

  • Optional backside?: boolean

    Rotation is concave: it's on the back of a front-rounded shape

  • Optional data?: MarkerData

    Additional options

  • Optional embedAutoPlay?: boolean

    Autoplay video embed when the marker is opened

  • Optional embedMutesAudio?: boolean

    Having the embed iframe printed mutes audio

  • Optional htmlElement?: HTMLElement

    A custom HTML element instead of the default

  • Optional i18n?: {
        [key: string]: MarkerCultureData;
    }
  • id: string

    The marker ID

  • Optional imageLayer?: number

    If an image has multiple layers, switch to this layer

  • Optional images?: Models.Assets.Image[]

    Images inside marker popup

  • Optional noMarker?: boolean

    Don't draw a marker element

  • Optional onclick?: ((m) => void)

    Optional function that overrides all behavior

      • (m): void
      • Parameters

        Returns void

  • popupType: "popup" | "popover" | "none" | "micrioLink"

    Popup type

  • Optional positionalAudio?: AudioLocation

    Positional audio asset

  • Optional radius?: number

    Omni-objects: radius from center

  • Optional rotation?: number

    Omni-objects: offset rotation in radians

  • tags: string[]

    Custom marker tags which will be also used as classnames on the marker elements

  • Optional type?: "default" | "image" | "audio" | "video" | "media" | "link" | "waypoint" | "cluster"

    Content type, for displaying

  • Optional videoTour?: VideoTour

    Video tour which plays when the marker is opened

  • Optional view?: View

    The viewport to zoom to when the marker is opened

  • Optional visibleArc?: [number, number]

    Omni-objects: custom visibility between these radians

  • x: number

    The relative marker X coordinate [0-1]

  • y: number

    The relative marker Y coordinate [0-1]