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/GeoExt/docs/_sources/lib/GeoExt/data/FeatureRecord.txt @ 76

Revision 76, 1.4 KB checked in by djay, 10 years ago (diff)

Ajout du répertoire web

  • Property svn:executable set to *
Line 
1
2.. currentmodule:: GeoExt.data
3
4:class:`GeoExt.data.FeatureRecord`
5================================================================================
6
7
8.. cssclass:: meta
9
10
11Extends
12    * `Ext.data.Record <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Record>`_
13   
14
15
16
17
18
19
20.. class:: FeatureRecord
21
22    A record that represents an ``OpenLayers.Feature.Vector``. This record
23    will always have at least the following fields:
24
25    * state ``String``
26    * fid ``String``
27
28
29
30   
31
32
33
34
35
36
37Public Methods
38--------------
39
40Public methods in addition to those
41listed for `Ext.data.Record <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Record>`_.
42
43
44.. method:: FeatureRecord.getFeature
45
46    :return: ``OpenLayers.Feature.Vector``
47   
48    Gets the feature for this record.
49
50.. method:: FeatureRecord.setLayer
51
52    :param layer: ``OpenLayers.Feature.Vector``
53   
54    Sets the feature for this record.
55
56
57
58
59
60
61Class Methods
62-------------
63
64Class methods in addition to static methods
65listed for `Ext.data.Record <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Record>`_.
66
67
68.. classmethod:: FeatureRecord.create
69
70    :param o: ``Array`` Field definition as in ``Ext.data.Record.create``. Can
71        be omitted if no additional fields are required.
72    :return: ``Function`` A specialized :class:`GeoExt.data.FeatureRecord`
73        constructor.
74   
75    Creates a constructor for a :class:`GeoExt.data.FeatureRecord`, optionally
76    with additional fields.
77
Note: See TracBrowser for help on using the repository browser.