[fusion-commits] r2343 - trunk/layers/Generic
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Mar 9 16:15:14 EST 2011
Author: madair
Date: 2011-03-09 13:15:14 -0800 (Wed, 09 Mar 2011)
New Revision: 2343
Modified:
trunk/layers/Generic/Generic.js
Log:
set maptitle and legend label for generic layers
Modified: trunk/layers/Generic/Generic.js
===================================================================
--- trunk/layers/Generic/Generic.js 2011-03-09 15:16:25 UTC (rev 2342)
+++ trunk/layers/Generic/Generic.js 2011-03-09 21:15:14 UTC (rev 2343)
@@ -45,6 +45,7 @@
}
this._sMapname = mapTag.layerOptions['name'] ? mapTag.layerOptions['name'] : 'generic layer';
+ this._sMapTitle = this._sMapname;
this.bSingleTile = mapTag.singleTile;
@@ -243,7 +244,7 @@
this.aLayers = new Array();
this.aLayers[0] = new Fusion.Layers.Layer({
layerName: this.getMapName(),
- legendLabe: this.getMapName(),
+ legendLabel: this.getMapName(),
displayInLegend: true,
expandInLegend: true,
actuallyVisible: true,
More information about the fusion-commits
mailing list