title | description | api_reference | slug |
---|---|---|---|
Map API |
API Index | Map |
true |
api_mapcomponent |
kendo-map
- [
kendo-map-layer
]({% slug api_maplayercomponent %}) - [
kendo-map-marker
]({% slug api_mapmarkercomponent %})
The center of the Map. Accepts coordinates in the [Latitude, Longitude]
format (center
in Kendo UI for jQuery).
The configuration of the built-in Map controls (controls
in Kendo UI for jQuery). The supported composite props are available in [ControlsProps
]({% slug api_map_controlsprops %}).
The default configuration for the Map layers by type (layerDefaults
in Kendo UI for jQuery). The supported composite props are available in [LayerDefaultsProps
]({% slug api_map_layerdefaultsprops %}).
The configuration of the Map layers. The layer type is determined by the value of the type
field (layers
in Kendo UI for jQuery).
The default options for all markers (markerDefaults
in Kendo UI for jQuery). The supported composite props are available in [MarkerDefaultsProps
]({% slug api_map_markerdefaultsprops %}).
The static markers that will be displayed on the Map (markers
in Kendo UI for jQuery).
The minimum zoom level (minZoom
in Kendo UI for jQuery). Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
The maximum zoom level (maxZoom
in Kendo UI for jQuery). Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
The size (in pixels) of the Map at zoom level 0 (minSize
in Kendo UI for jQuery).
Indicates whether the Map can be panned (pannable
in Kendo UI for jQuery).
Specifies whether the Map will wrap around the East-West edges (wraparound
in Kendo UI for jQuery).
The initial zoom level (zoom
in Kendo UI for jQuery). Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features). The Map size is derived from the zoom level and minScale
options—size = (2 ^ zoom) * minSize
.
Indicates whether the zoom level of the Map can be changed by the user (zoomable
in Kendo UI for jQuery).
Fires immediately before the Map is reset (beforeReset
in Kendo UI for jQuery). This event is typically used for cleanup by layer implementers.
Fires when the user clicks on the Map (click
in Kendo UI for jQuery).
Fires when a marker is displayed and has a DOM element assigned (markerActivate
in Kendo UI for jQuery).
Fires when a marker is created and is about to be displayed (markerCreated
in Kendo UI for jQuery). Cancelling the event will prevent the marker from being displayed. To access the marker
DOM element, use markerActivate
.
Fires when a marker is clicked or tapped (markerClick
in Kendo UI for jQuery).
Fires while the Map viewport is moved (pan
in Kendo UI for jQuery).
Fires after the Map viewport was moved (panEnd
in Kendo UI for jQuery).
Fires when the Map is reset (reset
in Kendo UI for jQuery). Typically, the Map resets on initial load and after a zoom or center change was made.
Fires when a shape is clicked or tapped (shapeClick
in Kendo UI for jQuery).
Fires when a shape is created but is not rendered yet (shapeCreated
in Kendo UI for jQuery).
Fires when a GeoJSON Feature is created on a shape layer (shapeFeatureCreated
in Kendo UI for jQuery).
Fires when the mouse enters a shape (shapeMouseEnter
in Kendo UI for jQuery).
Fires when the mouse leaves a shape (shapeMouseLeave
in Kendo UI for jQuery).
Fires when the zoom level of the Map is about to change (zoomStart
in Kendo UI for jQuery). Cancelling the event will prevent the user action.
Fires when the zoom level of the Map is changed (zoomEnd
in Kendo UI for jQuery).
For more details about the methods available in the component's API please check its Kendo UI for jQuery API documentation.
Returns the Kendo UI Map instance.