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