<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> return new OpenLayers.Map({<br> projection: new OpenLayers.Projection("EPSG:31467"),<br> displayProjection: new OpenLayers.Projection("EPSG:4326"),<br> //minScale: 1000000,<br> //maxSclae: 5000,<br>
scales: [300100,250000, 150000 ,90000, 70000, 60000, 50000, 40000, 30000, 20000, 10000, 5000],<br> units: "dd",<br> numZoomLevels: 12,<br> maxResolution: 0.025, //"auto", <br> maxExtent: new OpenLayers.Bounds(7.7,47.57,10.501,49.571), <br> allOverlays: false,<br> controls: []<br> });<br> <br> };<br>I played around with resolution for wms layers (both from ArcIMS with defined
minscale and maxscale) which has scale issue:<br><span> 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> {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 <eric.lemoine@camptocamp.com><br><b><span style="font-weight: bold;">An:</span></b> Sarah Schuessler <sarah_flip@yahoo.de><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 <<a ymailto="mailto:sarah_flip@yahoo.de" href="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</a>> wrote:<br>> Hi list,<br>><br>> I wanted to show that I solved one of my problems:<br>> offsets went away after I added 'projection: EPSG:4236' to my OpenLayers.Layer.WMS.<br>><br>> 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>