Tabs patch from Erik, to change tabs to spaces so we don't have commit
conflicts later on. git-svn-id: http://svn.openlayers.org/trunk/openlayers@2920 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -64,10 +64,10 @@ OpenLayers.Layer.GML.prototype =
|
||||
*/
|
||||
moveTo:function(bounds, zoomChanged, minor) {
|
||||
OpenLayers.Layer.Vector.prototype.moveTo.apply(this, arguments);
|
||||
// Wait until initialisation is complete before loading GML
|
||||
// otherwise we can get a race condition where the root HTML DOM is
|
||||
// loaded after the GML is paited.
|
||||
// See http://trac.openlayers.org/ticket/404
|
||||
// Wait until initialisation is complete before loading GML
|
||||
// otherwise we can get a race condition where the root HTML DOM is
|
||||
// loaded after the GML is paited.
|
||||
// See http://trac.openlayers.org/ticket/404
|
||||
if(this.visibility && !this.loaded){
|
||||
this.loadGML();
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ OpenLayers.Layer.Image.prototype =
|
||||
// If nothing to do with resolutions has been set, assume a single
|
||||
// resolution determined by extent/size
|
||||
if( this.options.maxResolution == null ) {
|
||||
this.options.maxResolution = this.extent.getWidth() / this.size.w;
|
||||
this.options.maxResolution = this.extent.getWidth() / this.size.w;
|
||||
}
|
||||
OpenLayers.Layer.prototype.setMap.apply(this, arguments);
|
||||
},
|
||||
|
||||
@@ -43,14 +43,14 @@ OpenLayers.Layer.MapServer.prototype =
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
/**
|
||||
* @param {Object} obj
|
||||
*
|
||||
* @returns A clone of this OpenLayers.Layer.MapServer
|
||||
* @type OpenLayers.Layer.MapServer
|
||||
*/
|
||||
clone: function (obj) {
|
||||
if (obj == null) {
|
||||
if (obj == null) {
|
||||
obj = new OpenLayers.Layer.MapServer(this.name,
|
||||
this.url,
|
||||
this.params,
|
||||
|
||||
Reference in New Issue
Block a user