Hello. I have been having problems on the last couple of days regarding markers on maps. For my project we need that each time the user puts the mouse arrow over a marker a POST request is sent to the server. When the answer returns from the server we want:
- A tooltip to appear with part of the information received from the server response.
- The rest of the information from the response should appear in a table outside the map element.
You can see a working example (that uses a Google map element instead of a Kendo map) in:
Even though Kendo map markers support tooltips, using them does not allow me to reproduce the intended behaviour due to several issues:
- No matter which way you use to specify the content (calling a local function, specifying a URL to get the content from, etc), the action to get the content is only executed once per marker. Even if the user is going back and forth between a clear area of the map and the same marker all the time, I need a POST request to be sent each time to the server since the answer might change.
- It is not possible for me to make the external table with data appear while the mouse is over one of the markers.
All of these could be very easily solved if I had access to events of mouseEnter/mouseLeave for map markers (like we have for shapes) that allowed me to show the tooltip and perform all the actions I wanted manually but, as far as I have dug, these are not available at the moment.
Any help would be greatly appreciated.