Function used to format the marker callout content based on the provided object data.
Style class name to add to the marker's DOM element.
HTML content to use when rendering the icon.
Provides the icon options for the style. If a value for html
is provided, the marker will
be rendered as HTML and this value will be ignored.
The point coordinates of the tip of the icon (relative to the top-left corner).
URL to a retina sized version of the icon image. If not provided, the url
icon path
will be used for retina devices.
The URL to the icon image (absolute or relative to the script path).
Size of the icon as [width, height]
, e.g. [20,15]
Whether the marker instance should be skipped, which means a marker will not be created for this model nor will it be rendered to the map. This is typically used if you want to conditionally render markers on the map based on model state or values.
Minimum distance, in screen pixels/points, between rendered markers on the map. If not
specified or 0
, then all markers will be rendered (default).
Provides the options for rendering the icon as an SVG element. If a value for html
is
provided, the marker will be rendered as HTML and this value will be ignored.
Position of the element within its parent container. Supports an anchor string for relative positioning, or an { x, y } point for absolute positioning.
Image size.
Defines a list of transform definitions that are applied to the element.
Position translation amount in x and y axis.
Image URL.
The shape options.
The text style options.
The z-index to apply to the marker when rendering on the map.
Generated using TypeDoc
A data type that provides style options for marker objects on a map.