Forward-compatibility escape hatch for engine-specific options.
OptionaltitleAccessible title for the marker (tooltip / screen reader).
OptionalaltAlt text for the marker icon image.
OptionalopacityMarker opacity. Range: 0 … 1.
OptionaldraggableWhether the marker can be repositioned by the user.
OptionaliconSVG icon string.
OptionaliconIcon size in pixels as [width, height].
OptionaliconPixel offset from the icon top-left corner to the geographic anchor point.
OptionalclassCSS class(es) applied to the marker element (space-separated). Use this
instead of inline styles so the marker can be themed via a stylesheet
under a strict CSP (style-src without 'unsafe-inline', roadmap B.5).
Options for creating a map marker.
Security note on
icon: Theiconfield must be a static, hardcoded SVG string authored by the module developer. Never assign content that originates from user input, network responses, or profile data — doing so creates an XSS vector via SVG injection.