Not 100% sure if I am reading the code correctly, but try setting the 
resolutions config property of the AGS layer to what you would specify in 
serverResolutions, in other words rename the serverResolutions config property 
to resolutions.

Best regards,
Bart

-- 
Bart van den Eijnden
OpenGeo - http://opengeo.org
Expert service straight from the developers.



On Oct 23, 2012, at 11:56 AM, acangi <[email protected]> wrote:

> I try to use the parameter serverResolutions on an ArcGISCache layer. The
> resolutions from the ArcGIS server are not the same as the ones of the other
> layers (GeoServer and GeoWebCache). Should it work ? Should I set another
> parameter ?
> 
> With this code I just get a whitemap and no error messages in Firebug : 
> 
> 
> If I remove the serverResolutions parameter and put these numbers in the
> map.resolutions array, then it works.
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.n6.nabble.com/serverResolutions-on-ArcGISCache-layer-tp5010432.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to