When I pass object through on mouseover, I did not get object data in function, and map web page stuck loading. This box text having image frame on map.
code:
function imagefream(Info) {
//Info having data(Info.Lat,Info.Long....etc)
alert(Info.toSource()) //get all data of lat,lon,id..etc
var boxText = document.createElement("div");
boxText.innerHTML = '<div id=\"outer\" style=\"overflow: auto; cursor: default; clear: both; position: relative; background-color: rgb(0, 136, 204); border-color: rgb(0, 136, 204); border-style: solid; border-radius: 5px; border-width: 1px; padding: 3px; width: 50px; height: 50px;\" onMouseOver=\"funinfo(' + Info + ');\" >' +
'</div>';
return boxText;
}
function funinfo(Info) {
alert("123");
alert(Info.toSource());
}