Note that you can also load the file lib/proj4js-compressed.js which includes all files required (or lib/proj4js-combined.js if you want to debug) and the libPath setting is not used.
Mike Alessio Di Lorenzo wrote: > Hi list, > with the precious suggestions of Giovanni Allegri I solved this issue! > > There where two problems: > > 1) there were typos (as Chris said) in my code: various "scr" instead > "src" linking the js scripts in the header... ahhaarg > > 2) it is mandatory to set Proj4js.libPath='proj4js/lib/'; in the init > function to access to projCode/utm.js, that is needed to interpret UTM EPSGs > > Hope this will be helpful for someone in future, > > alessio > > > > > > Alessio Di Lorenzo ha scritto: > >> Hello, >> >> by reading on the web I noticed that what I want to do is possible >> through proj4js library >> "Support for reprojecting user-facing controls like mouseposition" >> >> Cuold someone show me any examples? >> >> >> >> >> Alessio Di Lorenzo ha scritto: >> >>> Hi list, >>> >>> I have a little OL application showing data in utm33-wgs84 (epsg: >>> 32633) and I'm using a separate div to display the mouse position in >>> 32633 with no problems. >>> >>> What I'd like to do is to display the mouse position also in >>> geographical wgs84 (epsg: 4326) in another different div. >>> In this way users could see both 32633 and 4326 coordinates at the >>> same time. >>> >>> Is it possible? >>> >>> thx >>> >>> >>> >> > > _______________________________________________ > Users mailing list > Users@openlayers.org > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users