Optional
attributesOptional
cssOptional CSS class(es) to add to the overlay's element.
Optional
eventsOptional event handlers to attach to the overlay.
Optional
idOptional ID for the overlay. Can be used to retrieve the overlay from a connection.
String, or a function returning a string, for the label.
Optional
labelOptional name of the attribute that identifies this overlay's location on the path. Defaults to location
.
Optional
locationDefaults to 0.5. See docs.
Optional
useHTMLElementWhether or not to use an HTML element. Defaults to false (uses an SVG element)
Optional
visibilityWhether the overlay is always visible, or only on hover. Defaults to OVERLAY_VISIBILITY_ALWAYS.
Optional custom attributes to write to the overlay's element.