<< Click to Display Table of Contents >>
PanTool (bAllowDblClick, bAllowWheel)
Description
The object of pan tool
Position
Navigate.js
Parameters
Parameter |
Description |
bAllowDblClick |
Whether to allow panning to the map center by double-click. |
bAllowWheel |
Whether to allow zooming by mouse wheel. |
Properties
Property |
Description |
none |
none |
Methods
Method |
Description |
InitMapEvent(pMapBase) |
To initialize the pan tool and bind the essential event. |
ExitMapEvent() |
To exit the pan tool and release all events. |
IsMapAction() |
To get whether the tool is in action, and it is mainly used in the action of wheel event. |
©2015 Supergeo Technologies Inc.