MapHandle
Represent the ref of the Map component.
Definition
Package:@progress/kendo-react-map
Properties
element
null | HTMLDivElement
The current root DOM element or null.
Returns the event coordinates relative to the map element.
undefined | Point
Retrieves projected (layer) coordinates that correspond to this mouse event.
undefined | Point
Retrieves the geographic location that correspond to this mouse event.
undefined | Point
Retrieves relative (view) coordinates that correspond to this mouse event.
undefined | Point
Transforms layer (projected) coordinates to geographical location.
loadMarkers
(newMarkers: any[]) => void
Load markers in the Map. This method will clear the current markers and show the new ones.
Returns the layer (projected) coordinates that correspond to a geographical location.
Returns the view (relative) coordinates that correspond to a geographical location.
resize
() => void
Detects the size of the container and redraws the Map.
Resizing is automatic unless you set the resizeRateLimit option to 0.
Retrieves the size of the visible portion of the map.
{ width: number; height: number }
Returns the geographical location that correspond to the view (relative) coordinates.