title | description | api_reference | slug |
---|---|---|---|
MapMarker API |
API Index | MapMarker |
true |
api_mapmarkercomponent |
kendo-map-marker
- [
kendo-map
]({% slug api_mapcomponent %})
The marker location on the Map. Accepts coordinates in the [Latitude, Longitude]
format.
The shape of the marker.
The supported predefined marker shapes are:
pinTarget
pin
Marker shapes are implemented as CSS classes on the marker span.k-marker
element—for example, pinTarget
is rendered as k-marker-pin-target
.
The title of the marker. Displayed as a browser tooltip.
Specifies if the tooltip will be hidden when the mouse leaves the target element.
- If
markers-marker-tooltip-auto-hide
is set tofalse
, the tooltip displays a Close button. - If
markers-marker-tooltip-auto-hide
is set tofalse
,showAfter
is specified, andshowOn
is set tomouseenter
, the Map will display the tooltip after the given timeout even if the element is no longer hovered over.
The effect that will be used on closing the tooltip.
The duration of the animation.
The effect that will be used on opening the tooltip.
The duration of the animation.
The text or the function whose results will be displayed within the tooltip. By default, the tooltip will display the content of the title
attribute of the target element.
A URL or request options from where the tooltip will load its content.
The template for rendering the content of the tooltip.
The template supports the following fields:
location
—The marker location (akendo.dataviz.map.Location
instance).marker
—The instance of the marker.
Specifies if the tooltip callout will be displayed.
Explicitly states whether the content iframe will be created.
The height (in pixels) of the tooltip.
The width (in pixels) of the tooltip.
The position that is relative to the target element at which the tooltip will be displayed.
The supported predefined values are:
bottom
top
left
right
center
The delay (in milliseconds) before the tooltip is displayed. If showOn
is set to click
or focus
, markers-marker-tooltip-show-after
is ignored.
The event on which the tooltip will be displayed.
The supported predefined values are:
mouseenter
click
focus