~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to gis/dhis-gis-geostat/mfbase/openlayers/lib/OpenLayers/Control/ZoomIn.js

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright (c) 2006-2008 MetaCarta, Inc., published under the Clear BSD
 
2
 * license.  See http://svn.openlayers.org/trunk/openlayers/license.txt for the
 
3
 * full text of the license. */
 
4
 
 
5
/**
 
6
 * @requires OpenLayers/Control.js
 
7
 */
 
8
 
 
9
/**
 
10
 * Class: OpenLayers.Control.ZoomIn
 
11
 *
 
12
 * Inherits from:
 
13
 *  - <OpenLayers.Control>
 
14
 */
 
15
OpenLayers.Control.ZoomIn = OpenLayers.Class(OpenLayers.Control, {
 
16
 
 
17
    /**
 
18
     * Property: type
 
19
     * {String} The type of <OpenLayers.Control> -- When added to a 
 
20
     *     <Control.Panel>, 'type' is used by the panel to determine how to 
 
21
     *     handle our events.
 
22
     */
 
23
    type: OpenLayers.Control.TYPE_BUTTON,
 
24
    
 
25
    /**
 
26
     * Method: trigger
 
27
     */
 
28
    trigger: function(){
 
29
        this.map.zoomIn();
 
30
    },
 
31
 
 
32
    CLASS_NAME: "OpenLayers.Control.ZoomIn"
 
33
});
 
 
b'\\ No newline at end of file'