Add missing semicolon. Non functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11185 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -316,7 +316,7 @@ OpenLayers.Control.LayerSwitcher =
|
||||
|
||||
// create span
|
||||
var labelSpan = document.createElement("span");
|
||||
OpenLayers.Element.addClass(labelSpan, "labelSpan")
|
||||
OpenLayers.Element.addClass(labelSpan, "labelSpan");
|
||||
if (!baseLayer && !layer.inRange) {
|
||||
labelSpan.style.color = "gray";
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ OpenLayers.Format.CSWGetDomain.v2_0_2 = OpenLayers.Class(OpenLayers.Format.XML,
|
||||
},
|
||||
"Value": function(node, obj) {
|
||||
var attrs = node.attributes;
|
||||
var value = {}
|
||||
var value = {};
|
||||
for(var i=0, len=attrs.length; i<len; ++i) {
|
||||
value[attrs[i].name] = attrs[i].nodeValue;
|
||||
}
|
||||
@@ -159,7 +159,7 @@ OpenLayers.Format.CSWGetDomain.v2_0_2 = OpenLayers.Class(OpenLayers.Format.XML,
|
||||
},
|
||||
"MinValue": function(node, obj) {
|
||||
var attrs = node.attributes;
|
||||
var value = {}
|
||||
var value = {};
|
||||
for(var i=0, len=attrs.length; i<len; ++i) {
|
||||
value[attrs[i].name] = attrs[i].nodeValue;
|
||||
}
|
||||
@@ -168,7 +168,7 @@ OpenLayers.Format.CSWGetDomain.v2_0_2 = OpenLayers.Class(OpenLayers.Format.XML,
|
||||
},
|
||||
"MaxValue": function(node, obj) {
|
||||
var attrs = node.attributes;
|
||||
var value = {}
|
||||
var value = {};
|
||||
for(var i=0, len=attrs.length; i<len; ++i) {
|
||||
value[attrs[i].name] = attrs[i].nodeValue;
|
||||
}
|
||||
|
||||
@@ -182,7 +182,7 @@ OpenLayers.Format.WFST.v1 = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
if(value) {
|
||||
this.setAttributeNS(
|
||||
node, this.namespaces["xsi"], "xsi:schemaLocation", value
|
||||
)
|
||||
);
|
||||
}
|
||||
return OpenLayers.Format.XML.prototype.write.apply(this, [node]);
|
||||
},
|
||||
|
||||
@@ -79,7 +79,7 @@ OpenLayers.Layer.Bing = OpenLayers.Class(OpenLayers.Layer.XYZ, {
|
||||
options = OpenLayers.Util.applyDefaults({
|
||||
restrictedMinZoom: 1,
|
||||
sphericalMercator: true
|
||||
}, options)
|
||||
}, options);
|
||||
var name = options.name || "Bing " + (options.type || this.type);
|
||||
|
||||
var newArgs = [name, null, options];
|
||||
|
||||
@@ -779,7 +779,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
||||
// don't try to draw the feature with the renderer if the layer is not
|
||||
// drawn itself
|
||||
if (!this.drawn) {
|
||||
return
|
||||
return;
|
||||
}
|
||||
if (typeof style != "object") {
|
||||
if(!style && feature.state === OpenLayers.State.DELETE) {
|
||||
|
||||
@@ -256,7 +256,7 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
var projectionCode = this.projection.equals(mapProjection) ?
|
||||
this.projection.getCode() :
|
||||
mapProjection.getCode();
|
||||
var value = (projectionCode == "none") ? null : projectionCode
|
||||
var value = (projectionCode == "none") ? null : projectionCode;
|
||||
if (parseFloat(this.params.VERSION) >= 1.3) {
|
||||
this.params.CRS = value;
|
||||
} else {
|
||||
|
||||
@@ -105,7 +105,7 @@ OpenLayers.Layer.Zoomify = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
*/
|
||||
initializeZoomify: function( size ) {
|
||||
|
||||
var imageSize = size.clone()
|
||||
var imageSize = size.clone();
|
||||
var tiles = new OpenLayers.Size(
|
||||
Math.ceil( imageSize.w / this.standardTileSize ),
|
||||
Math.ceil( imageSize.h / this.standardTileSize )
|
||||
@@ -151,9 +151,9 @@ OpenLayers.Layer.Zoomify = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
OpenLayers.Layer.Grid.prototype.destroy.apply(this, arguments);
|
||||
|
||||
// Remove from memory the Zoomify pyramid - is that enough?
|
||||
this.tileCountUpToTier.length = 0
|
||||
this.tierSizeInTiles.length = 0
|
||||
this.tierImageSize.length = 0
|
||||
this.tileCountUpToTier.length = 0;
|
||||
this.tierSizeInTiles.length = 0;
|
||||
this.tierImageSize.length = 0;
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -1018,7 +1018,7 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
this.resetLayersZIndex();
|
||||
|
||||
this.events.triggerEvent("removelayer", {layer: layer});
|
||||
layer.events.triggerEvent("removed", {map: this, layer: layer})
|
||||
layer.events.triggerEvent("removed", {map: this, layer: layer});
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -765,7 +765,7 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
x = (comp.x / resolution - this.offset.x) | 0;
|
||||
y = (comp.y / resolution - this.offset.y) | 0;
|
||||
pathComp = " " + x + "," + y;
|
||||
path.push(pathComp)
|
||||
path.push(pathComp);
|
||||
if (i==0) {
|
||||
path.push(" l");
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ OpenLayers.Tile.Image.IFrame = {
|
||||
delete iFrame;
|
||||
}
|
||||
} else {
|
||||
OpenLayers.Tile.Image.prototype.clear.apply(this, arguments)
|
||||
OpenLayers.Tile.Image.prototype.clear.apply(this, arguments);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -221,4 +221,5 @@ OpenLayers.Tile.Image.IFrame = {
|
||||
|
||||
return form;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1038,7 +1038,7 @@ OpenLayers.Util.getParameters = function(url) {
|
||||
}
|
||||
|
||||
// follow OGC convention of comma delimited values
|
||||
value = value.split(",")
|
||||
value = value.split(",");
|
||||
|
||||
//if there's only one value, do not return as array
|
||||
if (value.length == 1) {
|
||||
@@ -1839,7 +1839,7 @@ OpenLayers.Util.getFormattedLonLat = function(coordinate, axis, dmsOption) {
|
||||
if (!dmsOption) {
|
||||
dmsOption = 'dms'; //default to show degree, minutes, seconds
|
||||
}
|
||||
var abscoordinate = Math.abs(coordinate)
|
||||
var abscoordinate = Math.abs(coordinate);
|
||||
var coordinatedegrees = Math.floor(abscoordinate);
|
||||
|
||||
var coordinateminutes = (abscoordinate - coordinatedegrees)/(1/60);
|
||||
|
||||
Reference in New Issue
Block a user