Javascript event

Jan 10, 2010 at 1:08 PM
Edited Jan 11, 2010 at 3:09 PM

Hi,

First off - amazing work, I'm really enjoying using this control.

I am trying to implement functionality similar to :
http://www.parklet.co.uk/search_results.aspx?Lat=51.5086&Lon=-0.1264&Radius=4

I have edited this post as I have now managed to hook up a mouseover event from a marker to a javscript event.

Problem is now that if I assign the OnClientMouseOver to a function, any parameters I pass through are some how removed by the time it gets to the browser: eg.

ServerSide
gm.OnClientClick =
"showMyInfoWindow('test')";

ClientSide (rendered code)
GoogleMap_Map.addMarker({draggable:false,text:"<a href=\"mytest.html\">My test link</a>",infoWindowEvent:0,lat:51.420714,lng:-0.411875,events:{click:"showMyInfoWindow",mouseout:"hideMyInfoWindow"}});

The 'test' parameter I am sending though is always getting lost.

I'm sure this is a very simple thing, can anyone point me in the right direction.

<font size="2">

Thanks
Ben

</font>