This project is read-only.

Databound map - displaying marker.text in <div> element

May 9, 2009 at 6:32 PM


I have just found this control, and it seems to work pretty well.

I am creating a map with markers from an MS SQL database, and that is all OK.

I would like to be able to display part of the marker infotext in a <div> elsewhere on the page using the mouseover event from the marker, as well as displaying it when the marker is clicked.

So far I have been able to create the javascript that captures the client mouseover event, but how do I get the marker's info text in javascript to display it in the <div> element?

I can't see how to create a handler for this in the code behind.

I hope you can help.