There were already some discussions about using geographic coordinates and
area/distance measurements on this list and I don't want to repeat
everything again. Just in short the possibilities: 
* use a coordinate system that allows area measurements 
  (eg. UTM, Lambert Azimuthal Equal Area, etc) 
* convert the mouse coordinates with javascript into a system 
  like above (you need to get the formulas, for Europe 
  I could provide you with them)
* use an estimation for distance/area on sphere/ellipsoid 
  (dunno where to find formulas)
* use AJAX (XMLHttp) functions to request the coordinates 
  for mouse clicks from the server converted into an appropriate 
  system (using proj4 functions, etc)

I always go for solution 1.

armin

> 
> Hi
> 
> my map is using digital degrees, and the measure function doesnt seem to
> return any usefull numbers.
> 
> I have played around with the calcFact var in measure.js and get
> reasonable
> looking results for var calcFact = .01; however i would like it to be
> accurate.
> 
> (i am using p.mapper 1.1 )
> 
> thanks
> 

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl

Reply via email to