<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi eric and list,<br><br>thanks for your answer!<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">I play around with mapfish example from quickstart, so my code is as the following:<br>var createMap = function() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return new OpenLayers.Map({<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; projection: new OpenLayers.Projection("EPSG:31467"),<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; displayProjection: new OpenLayers.Projection("EPSG:4326"),<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //minScale: 1000000,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; //maxSclae: 5000,<br>&nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scales: [300100,250000, 150000 ,90000, 70000, 60000, 50000, 40000, 30000, 20000, 10000, 5000],<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; units: "dd",<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; numZoomLevels: 12,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; maxResolution: 0.025, //"auto",&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; maxExtent: new OpenLayers.Bounds(7.7,47.57,10.501,49.571),&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; allOverlays: false,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; controls: []<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; });<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; };<br>I played around with resolution for wms layers (both from ArcIMS with defined
 minscale and maxscale) which has scale issue:<br><span>&nbsp;new OpenLayers.Layer.WMS("WMS1", "<a target="_blank" href="http://myserver/wmsconnector/com.esri.wms.Esrimap/My_GIS">http://myserver/wmsconnector/com.esri.wms.Esrimap/My_GIS</a>?",</span><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {layers: '0', format: "image/png", transparent: true }, {projection: "EPSG:4326", isBaseLayer: true, displayInLayerSwitcher: true, visibility: true, resolutions: [0.0000952, 0.0001269, 0.0001587 ]} ),<br>But that did not change anything.<br><br>Please ask again if something is not clear or you need more code.<br><br>Thanks<br>best regards<br>Sarah<br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">Von:</span></b> Eric Lemoine &lt;eric.lemoine@camptocamp.com&gt;<br><b><span style="font-weight: bold;">An:</span></b> Sarah Schuessler &lt;sarah_flip@yahoo.de&gt;<br><b><span
 style="font-weight: bold;">CC:</span></b> users@mapfish.org; users@openlayers.org<br><b><span style="font-weight: bold;">Gesendet:</span></b> Donnerstag, den 21. Januar 2010, 22:33:10 Uhr<br><b><span style="font-weight: bold;">Betreff:</span></b> Re: [MapFish-Users] wrong scale and offset<br></font><br>On Wednesday, January 20, 2010, Sarah Schuessler &lt;<a ymailto="mailto:sarah_flip@yahoo.de" href="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</a>&gt; wrote:<br>&gt; Hi list,<br>&gt;<br>&gt; I wanted to show that I solved one of my problems:<br>&gt; offsets went away after I added 'projection: EPSG:4236' to my OpenLayers.Layer.WMS.<br>&gt;<br>&gt; I could not manage problem about scale. Any hints about that?<br><br>Hi. This is hard (at least to me) to help you with so little<br>information. Please provide a live example showing the problem, or, if<br>that's not an option for you, share some of your code with the list.<br><br>Cheers,<br><br>-- <br>Eric
 Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a ymailto="mailto:eric.lemoine@camptocamp.com" href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br><a href="http://www.camptocamp.com" target="_blank">http://www.camptocamp.com</a><br></div></div>
</div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com </body></html>