RadMap for ASP.NET AJAX is a server wrapper over the Kendo Map widget. Thus, it
exposes all methods and events the
Kendo Map widget API offers
. You can access the widget object via the standard
.data("kendoMap") jQuery approach or through the
method in the MS AJAX control object RadMap has.
This demo shows how you can:
get the Kendo widget reference through the
get_kendoWidget method in the
IScriptControl object (obtained through
$find()). See the
getMapClientObject() function for an example.
use the Kendo API to change the map center location and zoom level. See the
subscribe to the Kendo Map events through the markup. See the
use the event data that is passed—to change the location/zoom controls and populate
the events history. See the
syncConfigurationControls() function and the rest of the event handlers.
Change the coordinates and zoom level to modify the map. Panning or zooming the map will also update the data in the textboxes and in the dropdown.