[OpenLayers-Users] createRegularPolygon 'circle' radius units?

darethehair darethehair at gmail.com
Thu Sep 6 15:26:41 PDT 2012


Update: Phil's suggestion to run a math conversion on the 'radius' seems to
work pretty well.  Here is the line I substituted:

800/Math.cos(50*(Math.PI/180)),

However, I notice that the 'scale' is still incorrect (maybe I shouldn't be
surprised, since the change only affected the size of the circle that was
drawn).  This just makes me wonder what projection OpenStreetMap.org is
using for their maps -- since at the same location the scale looks 100%
correct.  I would like to be able to do that myself -- hopefully avoiding
the need for the extra math :)



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/createRegularPolygon-circle-radius-units-tp5000250p5000306.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list