[OpenLayers-Users] Create Circle

Christopher Schmidt crschmidt at metacarta.com
Fri Sep 12 10:15:29 EDT 2008


On Fri, Sep 12, 2008 at 03:47:54PM +0200, Kenny France wrote:
> Hi Christopher, 
> 
> Thanks for your reply, 
> 
> Do you perhaps know of a way I can pass that lat/lng and radius to a
> function? 

http://dev.openlayers.org/apidocs/files/OpenLayers/Geometry/Polygon-js.html#OpenLayers.Geometry.Polygon.createRegularPolygon

> An alert function is good enough 
> 
> Thanks again I know you are busy 
> 
> Kenny 
> 
> -----Original Message----- 
> 
> From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
> 
> Sent: 12 September 2008 13:13 
> 
> To: Kenny France 
> 
> Cc: Users at openlayers.org 
> 
> Subject: Re: [OpenLayers-Users] Create Circle 
> 
> On Fri, Sep 12, 2008 at 11:43:40AM +0200, Kenny France wrote: 
> 
> > Hi All, 
> 
> > 
> 
> > I have the following code that creates a circle using googlemaps, 
> 
> > 
> 
> > now i am rewriting my app with openlayers and have a small problem 
> 
> > 
> 
> > has anyone done something similar to this ? 
> 
> Sounds like the circle mode on: 
> 
> http://www.openlayers.org/dev/examples/regular-polygons.html 
> 
> Regards, 
> 
> -- 
> 
> Christopher Schmidt 
> 
> MetaCarta 
> 
> 

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list