You probably want to use proj4js-compressed.js rather than just proj4js.js. The combined/compressed versions of proj4js include all projection class code in one file so those files don't have to be loaded dynamically. Other than that, I can't see anything wrong with the proj4js setup.
Mike toni hernández wrote: > Hi, > > it's been a while since I last wrote this but I got the last svn > version and still I can't reproject in IE. > I need to reproject to UTM so I can calculate the coordinates of one > point from another base point in one known direction to a distance. > For instance: I need to know the coordinates of a X point that is 10 > metres from point A (coordinates known) following 45 degrees north. > I know I can do that with UTM coordinates just with some basic > trigonometry. Is it possible with lat and lon coordinates? > > And going back to the reprojection issue these are the include files: > > <script src="../proj4js/lib/proj4js.js"></script> > <script src="../proj4js/lib/defs/EPSG23031.js"></script> > > and this is the EPSG23031.js file > Proj4js.defs["EPSG:23031"] = "+proj=utm +zone=31 +ellps=intl +units=m > +no_defs "; > > Am I still missing something. > > On Tue, Mar 10, 2009 at 3:08 PM, Mike Adair <mad...@dmsolutions.ca > <mailto:mad...@dmsolutions.ca>> wrote: > > There was an IE bug in Proj4js that got fixed a few weeks ago. I > would first suggest to make sure you are using the SVN version, (I > really should prepare another release candidate for Proj4js). > > Mike > > toni hernández wrote: > > hi, > > I need to reproject a map with proj4js from 4326 to 23030 and > display the mouseposition in 23030. > All the proj4js files with my projections are included (as I > read somewhere) but still IE is not reprojecting. > FF works great. > What's that I am missing? > > Cheers. > > <script src="../proj4js/lib/proj4js.js"></script> > <script src="../proj4js/lib/defs/EPSG23029.js"></script> > <script src="../proj4js/lib/defs/EPSG23030.js"></script> > <script src="../proj4js/lib/defs/EPSG23031.js"></script> > > ------------------------------------------------------------------------ > > _______________________________________________ > Dev mailing list > Dev@openlayers.org <mailto:Dev@openlayers.org> > http://openlayers.org/mailman/listinfo/dev > > > > -- > Michael Adair > Senior Software Architect > DM Solutions Group Inc. > > Office: (613) 565-5056 x26 > mad...@dmsolutions.ca <mailto:mad...@dmsolutions.ca> > http://www.dmsolutions.ca > http://research.dmsolutions.ca > > > -- Michael Adair Senior Software Architect DM Solutions Group Inc. Office: (613) 565-5056 x26 mad...@dmsolutions.ca http://www.dmsolutions.ca http://research.dmsolutions.ca _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev