Re: [OpenLayers-Users] Proj4js and IE

2008-06-27 Thread Mike Adair
I'm not aware of any problems using Proj4js in IE and it's difficult to say what else may be wrong without looking at a web site or more code. Make sure that the definition for EPSG:27582 is loaded. Mike Damien Lécole wrote: > Hi list, > > I have a map in EPSG:4326. I would like the coordinate

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Damien Lécole
Hi, I have found the solution : I was misssing to include the definition file of my projection in the HTML file :thinking:. Since it was working with Firefox, I thought that the definition file was automatically included by pro4js.js. It seems that's not the case. So I just have to add this line

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Damien Lécole
Hi Gilles, I have tried your solution (and a lot of others permutation) but it doesn't work yet. The code gaven by Pierre is working on my computer. So that's a programming issue... I will try to add some functionalities to the code of Pierre and to replace his data with mines. Thanks for helpin

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Pierre GIRAUD
This is the code working for me. http://www.w3.org/1999/xhtml";> .olControlAttribution { bottom: 0px!important } #map { height: 512px; } http://svn.codehaus.org/mapbuilder/cscs/trunk/proj4js/lib/proj4js-compressed.js";>

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Gilles Bassière
Hi Damien, Have you tried setting the displayProjection in the MousePosition control instead? Something like : var extent = new OpenLayers.Bounds(-5,40,8,52 ); var options = {theme: null, maxResolution:'auto', maxExtent: extent, numZoomLevels:12, controls:[], projection: 'EPSG:4326', units:"

[OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Damien Lécole
Hi list, I have a map in EPSG:4326. I would like the coordinates displayed by my Control.MousePosition in EPSG:27582. So I am using Proj4js and I have written the following code : var pop = new OpenLayers.Projection('EPSG:4326'); var dpop = new OpenLayers.Projection('EPSG:27582'); var extent =