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

Phil Scadden p.scadden at gns.cri.nz
Thu Sep 6 15:53:00 PDT 2012


On 7/09/2012 10:26 a.m., darethehair wrote:
> 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 :)
Try setting geodesic to true in the scaleline constructor.

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list