CanvasMap
Getting Started Tutorials 3D Reference

Class CMToolHandler

CMToolHandler Class

This is an abstract class to define the functions that are provided by a tool handler.


Copyright (C) 2020, Humboldt State University, Jim Graham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see
.

Enumerated Types

    CMToolHandler.TOOL_NONE=0 - no tool (disables moving the background)
    CMToolHandler.TOOL_HAND=1 - pan the map (the hand)
    CMToolHandler.TOOL_INFO=2 - click to get information on features ("I" tool)
    CMToolHandler.TOOL_EDIT=3 - user is editing existing spatial data (not used)
    CMToolHandler.TOOL_ADD=4 - user is adding data (not used)
    CMToolHandler.TOOL_SELECT=5 - combined with INFO on the web (arrow tool)
    CMToolHandler.TOOL_OPTIONS=[CMToolHandler.TOOL_NONE,CMToolHandler.TOOL_HAND,CMToolHandler.TOOL_INFO,CMToolHandler.TOOL_EDIT,CMToolHandler.TOOL_ADD,CMToolHandler.TOOL_SELECT]