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/Geometry/MultiPolygon.js @ 76

Revision 76, 1.5 KB 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/Geometry/Collection.js
8 * @requires OpenLayers/Geometry/Polygon.js
9 */
10
11/**
12 * Class: OpenLayers.Geometry.MultiPolygon
13 * MultiPolygon is a geometry with multiple <OpenLayers.Geometry.Polygon>
14 * components.  Create a new instance with the <OpenLayers.Geometry.MultiPolygon>
15 * constructor.
16 *
17 * Inherits from:
18 *  - <OpenLayers.Geometry.Collection>
19 */
20OpenLayers.Geometry.MultiPolygon = OpenLayers.Class(
21  OpenLayers.Geometry.Collection, {
22
23    /**
24     * Property: componentTypes
25     * {Array(String)} An array of class names representing the types of
26     * components that the collection can include.  A null value means the
27     * component types are not restricted.
28     */
29    componentTypes: ["OpenLayers.Geometry.Polygon"],
30
31    /**
32     * Constructor: OpenLayers.Geometry.MultiPolygon
33     * Create a new MultiPolygon geometry
34     *
35     * Parameters:
36     * components - {Array(<OpenLayers.Geometry.Polygon>)} An array of polygons
37     *              used to generate the MultiPolygon
38     *
39     */
40    initialize: function(components) {
41        OpenLayers.Geometry.Collection.prototype.initialize.apply(this, 
42                                                                  arguments);
43    },
44
45    CLASS_NAME: "OpenLayers.Geometry.MultiPolygon"
46});
Note: See TracBrowser for help on using the repository browser.