making 1 the default for layer opacity. p=mosesonline,me r=me (closes #3441)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12227 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -466,7 +466,7 @@ OpenLayers.Format.OWSContext.v0_3_1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
name: layer.params.LAYERS,
|
||||
queryable: layer.queryable ? "1" : "0",
|
||||
hidden: layer.visibility ? "0" : "1",
|
||||
opacity: layer.opacity ? layer.opacity: null}
|
||||
opacity: layer.hasOwnProperty("opacity") ? layer.opacity : null}
|
||||
});
|
||||
this.writeNode("ows:Title", layer.name, node);
|
||||
this.writeNode("ows:OutputFormat", layer.params.FORMAT, node);
|
||||
|
||||
Reference in New Issue
Block a user