Hello List ,
I have my map defined as below
*var map = new OpenLayers.Map('map', {*
* maxExtent: new OpenLayers.Bounds(-638480920.244,
-188017611.367, 665489491.580, 1019789790.73),*
* maxResolution: 10000000*
* });*
I am using a WMS service and the coordinate I am using is
*crs=sw:nsw_trans_mercator_mm*
Now, the problem is, I am getting a latlong value which is too far different
from the actual latlong values. I used the available function *var lonlat =
this.map.getLonLatFromPixel(xyCoords) *whree xyCoords are the pixel
coordinates of my selection. The value it returned is *509754285.668 ,
402136089.6815 . *I got these values when I placed a point around Sydney. I
don't think these are the actual coordinates.
Could some one tell me what's went wrong or what needs to be done to get the
correct lat long information please.
Thanks,
Kalyan
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users