[OpenLayers-Users] Circle Function

Kenny kenny at xarex.com
Thu Apr 30 01:53:17 EDT 2009


Hi Guys,

 

I have been trying for ages and can't seem to get this working,

 

Does anyone have a simple function for drawing a circle?

 

I mean I want to pass certain variables via a link and it should simply draw
a circle on the map.

 

Ie: 

 

Function createCircle(lat,lng,radius,id,description,lineColour,fillColour){

 

} 

 

<a
href="javascript:createCircle('-25.12345','26.12345','250','1','Description'
,'#00000,'#C0C0C0')">Circle</a>

 

If possible, if I click on the circle it should display a popup with the
details in the popup

 

Thanks

 

K-

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090430/5d4554c5/attachment.html


More information about the Users mailing list