public class DrawingCircleCreationTool extends CircleCreationTool
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TOOL_IDENTIFIER |
_circle, _context, _mapGroup, _prefs, _tempCenter
_identifier, _mapListenerCount, _mapView
Constructor and Description |
---|
DrawingCircleCreationTool(MapView mapView,
MapGroup drawingGroup) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCircle(DrawingCircle circle)
Add the circle to map
|
boolean |
onToolBegin(android.os.Bundle extras)
Called when this tool has been asked to start (and after the last tool has cleaned up)
|
void |
onToolEnd()
Called when this tool has been asked to end, either directly or by the user selecting a new
tool or possibly a new toolbar.
|
createCircle, dispose, getDefaultColor, getDefaultName, onMapEvent, placeCenter, placeRadius, showCenterPrompt, showRadiusPrompt
clearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, setActive, shouldEndOnBack
public static final java.lang.String TOOL_IDENTIFIER
public boolean onToolBegin(android.os.Bundle extras)
Tool
onToolBegin
in class CircleCreationTool
extras
- extra params that were passed by the GUIpublic void onToolEnd()
Tool
onToolEnd
in class CircleCreationTool
protected void addCircle(DrawingCircle circle)
CircleCreationTool
addCircle
in class CircleCreationTool
circle
- The new circle to be added