[OpenLayers-Dev] suggested patch to OpenLayers.Layer.ArcGIS93Rest
Phil Scadden
p.scadden at gns.cri.nz
Thu Nov 4 17:17:01 EDT 2010
I've dealt with this kind of problem with ArcGIS before with override -
something like:
Ext.override(OpenLayers.Layer.WMS, {
getFullRequestString:function(newParams, altUrl) {
var projectionCode = this.map.getProjection();
if (this.url == null) isAGS ==0;
else var isAGS = this.url.search(/arcgis/);
if((projectionCode == 'EPSG:900913') && (isAGS >=0)) {
this.params.SRS = 'EPSG:102113';
} else {
this.params.SRS = (projectionCode == "none") ?
null : projectionCode;
}
return
OpenLayers.Layer.Grid.prototype.getFullRequestString.apply(
this,
arguments);
}
});
Something similar work for you?
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.
More information about the Dev
mailing list