Sha256: c675e9f4b10b87b65d9153d68daedd99b1e628430ad2c063e175245fe80cdcb8

Contents?: true

Size: 732 Bytes

Versions: 7

Compression:

Stored size: 732 Bytes

Contents

/* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
 * full list of contributors). Published under the 2-clause BSD license.
 * See license.txt in the OpenLayers distribution or repository for the
 * full text of the license. */

/**
 * @requires OpenLayers/Control/Button.js
 */

/**
 * Class: OpenLayers.Control.ZoomOut
 * The ZoomOut control is a button to decrease the zoom level of a map.
 *
 * Inherits from:
 *  - <OpenLayers.Control>
 */
OpenLayers.Control.ZoomOut = OpenLayers.Class(OpenLayers.Control.Button, {

    /**
     * Method: trigger
     */
    trigger: function(){
        if (this.map) {
            this.map.zoomOut();
        }
    },

    CLASS_NAME: "OpenLayers.Control.ZoomOut"
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js
postrunner-0.0.9 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js
postrunner-0.0.8 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js
postrunner-0.0.7 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js
postrunner-0.0.6 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js
postrunner-0.0.5 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js
postrunner-0.0.4 misc/openlayers/lib/OpenLayers/Control/ZoomOut.js