title | description | api_reference | slug |
---|---|---|---|
layerDefaultsProps API |
API Index | layerDefaultsProps |
true |
api_map_layerdefaultsprops |
The default marker shape for all marker layers.
The supported predefined marker shapes are:
pinTarget
pin
Marker shapes are implemented as CSS classes on the span.k-marker
marker element—for example, pinTarget
is rendered as k-i-marker-pin-target
.
Specifies if the tooltip will be hidden when the mouse leaves the target element.
- If
layer-defaults-marker-tooltip-auto-hide
is set tofalse
, the tooltip displays a Close button. - If
layer-defaults-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 effects that will be displayed on closing the tooltip.
The duration of the animation.
The effects that will be displayed 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 the request options from which the tooltip will load its content.
The template which renders the content of the tooltip.
The template supports the following fields:
location
—The location of the marker (thekendo.dataviz.map.Location
instance).marker
—The instance of the marker.
Specifies if the tooltip callout will be displayed.
Explicitly states whether content iframe will be created.
The height (in pixels) of the tooltip.
The width (in pixels) of the tooltip.
The position which is relative to the target element and 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
, layer-defaults-marker-tooltip-show-after
is ignored.
The event on which the tooltip will be displayed.
The supported predefined values are:
mouseenter
click
focus
The opacity of all marker layers.
The attribution for all shape layers.
The opacity of all shape layers.
The default fill color for layer shapes. Accepts any valid CSS color string, including hex and rgb.
The default fill opacity (0 to 1) for layer shapes.
The default stroke color for layer shapes. Accepts any valid CSS color string, including hex and rgb.
The default dash type for layer shapes.
The supported dash types are:
dash
—A line that consists of dashes.dashDot
—A line that consists of a repeating dash-dot pattern.dot
—A line that consists of dots.longDash
—A line that consists of a repeating long-dash pattern.longDashDot
—A line that consists of a repeating long-dash-dot pattern.longDashDotDot
—A line that consists of a repeating long-dash-dot-dot.solid
—A solid line.
The default stroke opacity (0 to 1) for layer shapes.
The default stroke width for layer shapes.
The attribution for all bubble layers.
The opacity of all bubble layers.
The maximum symbol size for bubble layer symbols.
The minimum symbol size for bubble layer symbols.
The default fill color for bubble layer symbols. Accepts any valid CSS color string, including hex and rgb.
The default fill opacity (0 to 1) for layer symbols.
The default stroke color for bubble layer symbols. Accepts any valid CSS color string, including hex and rgb.
The default dash type for layer symbols.
The supported dash types are:
dash
—A line that consists of dashes.dashDot
—A line that consists of a repeating dash-dot pattern.dot
—A line that consists of dots.longDash
—A line that consists of a repeating long-dash pattern.longDashDot
—A line that consists of a repeating long-dash-dot pattern.longDashDotDot
—A line that consists of a repeating long-dash-dot-dot.solid
—A solid line.
The default stroke opacity (0 to 1) for bubble layer symbols.
The default stroke width for bubble layer symbols.
The default symbol for bubble layers.
The supported values are:
-
circle
—The markers shape is circular. -
square
—The markers shape is square. -
A function—A symbol that is defined by the user.
Has to accept an object with the following fields:
center
—The symbol center on the current layer.size
—The size of the symbol.style
—The style of the symbol.dataItem
—The dataItem for creating the symbol.location
—The location of the data point.
The return value of the function has to be
kendo.drawing.Shape
.
The size of the image tile in pixels.
The URL template for tile layers.
The template supports the following variables:
x
—The x coordinate of the tile.y
—The y coordinate of the tile.zoom
—The zoom level.subdomain
—The subdomain for this tile.
The attribution of all tile layers.
The subdomain of all tile layers.
The opacity of all tile layers.
The attribution of all Bing (tm) layers.
The opacity of all Bing (tm) tile layers.
The key of all Bing (tm) tile layers.
The map tile types of Bing.
The culture that will be used for the Bing map tiles.