[OpenLayers-Users] multiple epsg coordinates display

Alessio Di Lorenzo alessio.dilorenzo at gmail.com
Thu Apr 24 04:53:43 EDT 2008


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
>>
>>
>
>




More information about the Users mailing list