|
Community Map Builder 21 Aug 2007 | |||||||
PREV NEXT | FRAMES NO FRAMES |
No overview generated for 'DragPan.js'
Class Summary | |
DragPan |
/* License: LGPL as per: http://www.gnu.org/copyleft/lesser.html $Id: DragPan.js 2956 2007-07-09 12:17:52Z steven $ */ // Ensure this object's dependancies are loaded. mapbuilder.loadScript(baseDir+"/widget/ButtonBase.js"); /** * When this button is selected, dragging in the map moves the map extent. * @constructor * @base ButtonBase * @author Andreas HocevarATgmail.com * @param widgetNode The widget node from the Config XML file. * @param model The model for this widget */ function DragPan(widgetNode, model) { // Extend ButtonBase ButtonBase.apply(this, new Array(widgetNode, model)); this.createControl = function(objRef) { return OpenLayers.Control.DragPan; } this.cursor = 'move'; }
|
Community Map Builder 21 Aug 2007 | |||||||
PREV NEXT | FRAMES NO FRAMES |