[Commits] r2047 - core/trunk/geoext/examples
commits at geoext.org
commits at geoext.org
Thu Mar 25 17:26:26 CET 2010
Author: tschaub
Date: 2010-03-25 17:26:26 +0100 (Thu, 25 Mar 2010)
New Revision: 2047
Modified:
core/trunk/geoext/examples/vector-legend.js
Log:
Correcting the vector legend example. Legend panels should get a reference to a layer store instead of a map. (see #250)
Modified: core/trunk/geoext/examples/vector-legend.js
===================================================================
--- core/trunk/geoext/examples/vector-legend.js 2010-03-25 16:19:57 UTC (rev 2046)
+++ core/trunk/geoext/examples/vector-legend.js 2010-03-25 16:26:26 UTC (rev 2047)
@@ -105,7 +105,7 @@
});
legendPanel = new GeoExt.LegendPanel({
- map: mapPanel.map,
+ layerStore: mapPanel.layers,
renderTo: "legend",
border: false
});
More information about the Commits
mailing list