MarkersPluginConfig: {
    clickEventOnMarker?: boolean;
    defaultHoverScale?:
        | boolean
        | number
        | { amount?: number; duration?: number; easing?: string };
    gotoMarkerSpeed?: string | number;
    markers?: MarkerConfig[];
}

Type declaration

  • OptionalclickEventOnMarker?: boolean

    If a click event is triggered on the viewer additionally to the select-marker event

    false
    
  • OptionaldefaultHoverScale?: boolean | number | { amount?: number; duration?: number; easing?: string }

    Default mouse hover scaling parameters applied to all markers (true = { amount: 2, duration: 100, easing: 'linear' })

    null
    
  • OptionalgotoMarkerSpeed?: string | number

    Default animation speed for MarkersPlugin#gotoMarker and when a marker in clicked in the list/map

    '8rpm'
    
  • Optionalmarkers?: MarkerConfig[]

    initial markers