Is it possible to make Virtual Earth pushpin infobox display respond from onclick instead of mouseover?
Currently I'm using something like this:
...
var pin = new VEShape(
VEShapeType.Pushpin,
[location]
);
pin.SetCustomIcon(icon_url);
pin.SetTitle(title);
pin.SetDescription(info_window_template);
map.AddShape(pin);
document.getElementById(pin.GetPrimitive().iid).onmouseover = EventHandlerOnMouseOver;
}
var EventHandlerOnMouseOver = function(e) {
// Handle content loading...
}
...
However, if I attempt to change the onmouseover to onclick, VE picks up onclick and disables the infobox entirely.