Creates a new marker.
SVG container to hold marker's visual.
Additional information about the marker
Method called when marker creation is finished.
Marker type title (display name) used for accessibility and other attributes.
String type name of the marker type.
Used when adding MarkerView.availableMarkerTypes via a string and to save and restore state.
SVG container object holding the marker's visual.
Outer SVG group container not manipulated or transformed by the marker itself in any way
Adds marker's root visual element to the container group.
marker's visual element.
Handles pointer (mouse, touch, stylus, etc.) double click event.
event coordinates.
direct event target element.
Deselects this marker.
Disposes the marker and clean's up.
Returns true if passed SVG element belongs to the marker. False otherwise.
target element.
Handles pointer (mouse, touch, stylus, etc.) down event.
event coordinates.
direct event target element.
Handles pointer (mouse, touch, stylus, etc.) up event.
event coordinates.
Restores previously saved marker state.
previously saved state.
Scales marker. Used after the image resize.
horizontal scale
vertical scale
Selects this marker.
Generated using TypeDoc
Base class for all available and custom marker types.
All markers used with marker.js Live should be descendants of this class.