mapDoubleClickHandlers.addHandler(handler, new OverlayLatLngCallback() {
@Override
public void callback(Overlay overlay, LatLng latlng) {
// the overlay parameter is always NULL according to the Maps API.
MapDoubleClickEvent e = new MapDoubleClickEvent(MapWidget.this, latlng);
handler.onDoubleClick(e);
}
});
}