source: Dev/trunk/src/client/dojox/geo/openlayers/Collection.js

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 614 bytes
Line 
1define([
2        "dojo/_base/declare",
3        "./Geometry"
4], function(declare, Geometry){
5
6        return declare("dojox.geo.openlayers.Collection", Geometry, {
7                // summary:
8                //              A collection of geometries.
9
10                // coordinates: Array
11                //              An array of geometries.
12                coordinates:null,
13
14                setGeometries: function(g){
15                        // summary:
16                        //              Sets the geometries
17                        // g: Array
18                        //              The array of geometries.
19                        this.coordinates = g;
20                },
21
22                getGeometries: function(){
23                        // summary:
24                        //              Returns the geometries.
25                        // returns:
26                        //              The array of geometries defining this collection.
27                        return this.coordinates; // Array
28                }
29        });
30});
Note: See TracBrowser for help on using the repository browser.