Bienvenue sur PostGIS.fr

Bienvenue sur PostGIS.fr , le site de la communauté des utilisateurs francophones de PostGIS.

PostGIS ajoute le support d'objets géographique à la base de données PostgreSQL. En effet, PostGIS "spatialise" le serverur PostgreSQL, ce qui permet de l'utiliser comme une base de données SIG.

Maintenu à jour, en fonction de nos disponibilités et des diverses sorties des outils que nous testons, nous vous proposons l'ensemble de nos travaux publiés en langue française.

source: trunk/workshop-routing-foss4g/web/OpenLayers/lib/OpenLayers/Control/ZoomIn.js @ 76

Revision 76, 934 bytes checked in by djay, 12 years ago (diff)

Ajout du répertoire web

  • Property svn:executable set to *
Line 
1/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for
2 * full list of contributors). Published under the Clear BSD license. 
3 * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
4 * full text of the license. */
5
6/**
7 * @requires OpenLayers/Control.js
8 */
9
10/**
11 * Class: OpenLayers.Control.ZoomIn
12 * The ZoomIn control is a button to increase the zoom level of a map.
13 *
14 * Inherits from:
15 *  - <OpenLayers.Control>
16 */
17OpenLayers.Control.ZoomIn = OpenLayers.Class(OpenLayers.Control, {
18
19    /**
20     * Property: type
21     * {String} The type of <OpenLayers.Control> -- When added to a
22     *     <Control.Panel>, 'type' is used by the panel to determine how to
23     *     handle our events.
24     */
25    type: OpenLayers.Control.TYPE_BUTTON,
26   
27    /**
28     * Method: trigger
29     */
30    trigger: function(){
31        this.map.zoomIn();
32    },
33
34    CLASS_NAME: "OpenLayers.Control.ZoomIn"
35});
Note: See TracBrowser for help on using the repository browser.