コード例 #1
0
 /**
  * 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());
 }
コード例 #2
0
 /**
  * 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());
 }
コード例 #3
0
 /**
  * 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());
 }
コード例 #4
0
 /**
  * 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());
 }