/** * 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 an overlay of any type. * * @param handler */ public final HandlerRegistration addOverlayCompleteHandler(OverlayCompleteMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.OVERLAYCOMPLETE, handler, new OverlayCompleteEventFormatter()); }
/** * 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()); }
/** * 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 Polyline is right-clicked on. * * @param handler */ public final HandlerRegistration addRightClickHandler(RightClickMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.RIGHTCLICK, handler, new RightClickEventFormatter()); }
/** * This event is fired when the rendered directions change, either when a new DirectionsResult is * set or when the user finishes dragging a change to the directions path. * * @param handler */ public final HandlerRegistration addDirectionsChangeHandler(DirectionsChangeMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.DIRECTIONS_CHANGED, handler, new DirectionsChangeEventFormatter()); }
/** * This event is fired when the DOM mouseup event is fired on the Polyline. * * @param handler */ public final HandlerRegistration addMouseUpHandler(MouseUpMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.MOUSEUP, handler, new MouseUpEventFormatter()); }
/** * This event is fired on Polyline mouseover. * * @param handler */ public final HandlerRegistration addMouseOverHandler(MouseOverMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.MOUSEOVER, handler, new MouseOverEventFormatter()); }
/** * This event is fired on Polyline mouseout. * * @param handler */ public final HandlerRegistration addMouseOutMoveHandler(MouseOutMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.MOUSEOUT, handler, new MouseOutEventFormatter()); }
/** * This event is fired when the DOM dblclick event is fired on the Polyline. * * @param handler */ public final HandlerRegistration addDblClickHandler(DblClickMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.DBLCLICK, handler, new DblClickEventFormatter()); }
/** * This event is fired when a feature in the layer is clicked. * * @param handler */ public final HandlerRegistration addClickHandler(PanoramioMouseMapHandler handler) { return MapHandlerRegistration.addHandler( this, MapEventType.CLICK, handler, new PanoramioMouseEventFormatter()); }