add missing semicolon
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10697 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -798,7 +798,7 @@ OpenLayers.Layer = OpenLayers.Class({
|
|||||||
// get resolution data from layer config
|
// get resolution data from layer config
|
||||||
// (we also set alwaysInRange in the layer as appropriate)
|
// (we also set alwaysInRange in the layer as appropriate)
|
||||||
for(i=0, len=this.RESOLUTION_PROPERTIES.length; i<len; i++) {
|
for(i=0, len=this.RESOLUTION_PROPERTIES.length; i<len; i++) {
|
||||||
var p = this.RESOLUTION_PROPERTIES[i]
|
var p = this.RESOLUTION_PROPERTIES[i];
|
||||||
props[p] = this.options[p];
|
props[p] = this.options[p];
|
||||||
if(alwaysInRange && this.options[p]) {
|
if(alwaysInRange && this.options[p]) {
|
||||||
alwaysInRange = false;
|
alwaysInRange = false;
|
||||||
@@ -822,7 +822,7 @@ OpenLayers.Layer = OpenLayers.Class({
|
|||||||
// in the map
|
// in the map
|
||||||
if(props.resolutions == null) {
|
if(props.resolutions == null) {
|
||||||
for(i=0, len=this.RESOLUTION_PROPERTIES.length; i<len; i++) {
|
for(i=0, len=this.RESOLUTION_PROPERTIES.length; i<len; i++) {
|
||||||
var p = this.RESOLUTION_PROPERTIES[i]
|
var p = this.RESOLUTION_PROPERTIES[i];
|
||||||
props[p] = this.options[p] != null ?
|
props[p] = this.options[p] != null ?
|
||||||
this.options[p] : this.map[p];
|
this.options[p] : this.map[p];
|
||||||
}
|
}
|
||||||
@@ -922,7 +922,7 @@ OpenLayers.Layer = OpenLayers.Class({
|
|||||||
resolutions[i] = OpenLayers.Util.getResolutionFromScale(
|
resolutions[i] = OpenLayers.Util.getResolutionFromScale(
|
||||||
scales[i], this.units);
|
scales[i], this.units);
|
||||||
}
|
}
|
||||||
return resolutions
|
return resolutions;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user