I'm making an ajax call every x number of seconds to get lat/lon coordinates from a server and I would like to use this data to update the position of a marker in realtime. I only have a single marker on the map, so how would I access that marker and move it as the coordinates change?
I currently have something like this:
$("#map").data("kendoMap").markers.items[0].location([0, 0])
But its not working for me, is there a method I can call?
I currently have something like this:
$("#map").data("kendoMap").markers.items[0].location([0, 0])
But its not working for me, is there a method I can call?