Closed GoogleCodeExporter closed 8 years ago
Hi,
I not sure if this is a bug with the library or the API itself, I will have to
see if I can reproduce the behaviour.
As a workaround you could simply try clearing the balloons when they are
closed. For example using a global event.
{{{
geWebBrowser1.AddEventListener(ge, EventId.BalloonClose);
geWebBrowser1.PluginEvent += (o, e) =>
{
ge.setBalloon(null);
}
}}}
Another option could be to use a single global balloon object and clear its
contents, again when the balloon is closed. e.g.
{{{
// use this single 'balloon' object throughout.
dynamic balloon = ge.createHtmlStringBalloon(string.Empty);
geWebBrowser1.AddEventListener(ge, EventId.BalloonClose);
geWebBrowser1.PluginEvent += (o, e) =>
{
if(balloon != null) {
balloon.setContentString(string.Empty);
}
}
}}}
Anyhow, thanks for bringing it to my attention.
Original comment by fraser.c...@gmail.com
on 5 Sep 2013 at 1:46
No further development now that the Earth API is depreciated.
Original comment by fraser.c...@gmail.com
on 17 Dec 2014 at 3:20
Original issue reported on code.google.com by
tracyJan...@gmail.com
on 14 Aug 2013 at 9:56