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/widgets/LegendPanel.txt @ 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
2.. currentmodule:: GeoExt
3
4:class:`GeoExt.LegendPanel`
5================================================================================
6
7
8.. cssclass:: meta
9
10
11Extends
12    * `Ext.Panel <http://dev.sencha.com/deploy/dev/docs/?class=Ext.Panel>`_
13   
14
15
16
17xtype
18    ``gx_legendpanel``
19
20
21
22
23.. class:: LegendPanel(config)
24
25A panel showing legends of all layers in a layer store.
26Depending on the layer type, a legend renderer will be chosen.
27
28
29   
30
31
32Config Options
33--------------
34
35Configuration properties in addition to
36those listed for `Ext.Panel <http://dev.sencha.com/deploy/dev/docs/?class=Ext.Panel>`_.
37
38
39.. describe:: dynamic
40
41    ``Boolean``
42    If false the LegendPanel will not listen to the add, remove and change
43    events of the LayerStore. So it will load with the initial state of
44    the LayerStore and not change anymore.
45
46.. describe:: filter
47
48    ``Function``
49    A function, called in the scope of the legend panel, with a layer record
50    as argument. Is expected to return true for layers to be displayed, false
51    otherwise. By default, all layers will be displayed.
52   
53    .. code-block:: javascript
54   
55        filter: function(record) {
56            return record.getLayer().isBaseLayer;
57        }
58
59.. describe:: layerStore
60
61    ``GeoExt.data.LayerStore``
62    The layer store containing layers to be displayed in the legend
63    container. If not provided it will be taken from the MapPanel.
64
65.. describe:: preferredTypes
66
67    ``Array(String)`` An array of preferred legend types.
68
69
70
71
72
73
74
75
76
Note: See TracBrowser for help on using the repository browser.