Bug #3892
openBug in clicked method of WGoogleMaps?
0%
Description
When I try to create a new GoogleMaps object and assign it a clicklistener, I get the following error when I try to click in the GoogleMaps window:
ERROR eu.webtoolkit.jwt.WebSession - decodeSignal(): signal 'o4b82f832.click' not exposed
I would've expected to see my string "Here" to be printed.
This is the code I've used:
public class WGoogleMapsTest extends WApplication {
public WGoogleMapsTest(WEnvironment env) {
super(env);
WGoogleMap wGoogleMap = new WGoogleMap(getRoot());
wGoogleMap.resize(500, 500);
wGoogleMap.clicked().addListener(this,
new Signal1.Listener<WGoogleMap.Coordinate>() {
public void trigger(WGoogleMap.Coordinate c) {
System.out.println("Clicked.");
}
});
}
}
public class Main extends WtServlet {
@Override
public WApplication createApplication(WEnvironment env) {
return new WGoogleMapsTest(env);
}
}
Kind regards,
Ewout
Updated by Koen Deforche over 9 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche