<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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.<div><br></div><div>Best regards,</div><div>Bart</div><div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-- <br>Bart van den Eijnden<br>OpenGeo - <a href="http://opengeo.org/">http://opengeo.org</a><br>Expert service straight from the developers.</div><div><br></div></span><br class="Apple-interchange-newline">

</div>
<br><div><div>On Oct 23, 2012, at 11:56 AM, acangi <<a href="mailto:aca@ngi.be">aca@ngi.be</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">I try to use the parameter serverResolutions on an ArcGISCache layer. The<br>resolutions from the ArcGIS server are not the same as the ones of the other<br>layers (GeoServer and GeoWebCache). Should it work ? Should I set another<br>parameter ?<br><br>With this code I just get a whitemap and no error messages in Firebug : <br><br><br>If I remove the serverResolutions parameter and put these numbers in the<br>map.resolutions array, then it works.<br><br><br><br>--<br>View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/serverResolutions-on-ArcGISCache-layer-tp5010432.html">http://osgeo-org.1560.n6.nabble.com/serverResolutions-on-ArcGISCache-layer-tp5010432.html</a><br>Sent from the OpenLayers Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/openlayers-users<br></blockquote></div><br></div></body></html>