Hi Christopher,

the radius is always in map units. If your projection (e.g. EPSG:900913)
has units in m, then the RegularPolygon radius will be m, otherwise
(e.g. EPSG:4326), it will be degrees.

Regards,
Andreas.


Heidt, Christopher M. wrote:
> Is it possible for OL to create a circle with a metric radius?
> Can i have a 100 meter circle around my target?
>
> ------------------------------------------------------------------------
> *From:* [email protected]
> [mailto:[email protected]] *On Behalf Of *Heidt, Christopher M.
> *Sent:* Thursday, August 27, 2009 10:08 AM
> *To:* [email protected]
> *Subject:* [OpenLayers-Users] RegularPolygon Radius
>
> my users are going to want to supply a radius in a metric or english
> unit, but it looks like RegularPolygon is expecting degrees.
> So, my question is does OL have a builtin resource to convert my units?
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to