Sha256: 06ac50256214b09274ad74caf9f436fb4416e1468dd08d9305270ca480d5c66c

Contents?: true

Size: 727 Bytes

Versions: 7

Compression:

Stored size: 727 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.ZoomIn
 * The ZoomIn control is a button to increase the zoom level of a map.
 *
 * Inherits from:
 *  - <OpenLayers.Control>
 */
OpenLayers.Control.ZoomIn = OpenLayers.Class(OpenLayers.Control.Button, {

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

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