/** * This event is fired when the user has finished drawing a rectangle. * * @param handler */ public final HandlerRegistration addRectangleCompleteHandler( RectangleCompleteMapHandler handler) { return MapHandlerRegistration.addHandlerDrawing( this, MapEventType.RECTANGLECOMPLETE, handler, new RectangleCompleteEventFormatter()); }
/** * This event is fired when the user has finished drawing a marker. * * @param handler */ public final HandlerRegistration addMarkerCompleteHandler(MarkerCompleteMapHandler handler) { return MapHandlerRegistration.addHandlerDrawing( this, MapEventType.MARKERCOMPLETE, handler, new MarkerCompleteEventFormatter()); }
/** * This event is fired when the user has finished drawing a polyline. * * @param handler */ public final HandlerRegistration addPolylineCompleteHandler(PolylineCompleteMapHandler handler) { return MapHandlerRegistration.addHandlerDrawing( this, MapEventType.POLYLINECOMPLETE, handler, new PolylineCompleteEventFormatter()); }
/** * This event is fired when the user has finished drawing a circle. * * @param handler */ public final HandlerRegistration addCircleCompleteHandler(CircleCompleteMapHandler handler) { return MapHandlerRegistration.addHandlerDrawing( this, MapEventType.CIRCLECOMPLETE, handler, new CircleCompleteEventFormatter()); }