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, showRadiusPromptclearExtraListeners, endTool, findPoint, getActive, getIdentifier, onKey, popAllMapListeners, popMapListeners, pushMapListeners, requestBeginTool, requestEndTool, setActive, shouldEndOnBackpublic static final java.lang.String TOOL_IDENTIFIER
public boolean onToolBegin(android.os.Bundle extras)
ToolonToolBegin in class CircleCreationToolextras - extra params that were passed by the GUIpublic void onToolEnd()
ToolonToolEnd in class CircleCreationToolprotected void addCircle(DrawingCircle circle)
CircleCreationTooladdCircle in class CircleCreationToolcircle - The new circle to be added