e.
Cheers Kris
-Original Message-
From: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org]
On Behalf Of Kenny
Sent: Thursday, April 30, 2009 6:28 PM
To: users@openlayers.org
Subject: Re: [OpenLayers-Users] Circle Function
Hi Guys,
Thanks for your help so far, I have a f
Hi Guys,
Thanks for your help so far, I have a function to create the circles, and it
seems to be working fine :)
What I can seem to do now is make them have a popup Please se my code so
far
http://www.w3.org/1999/xhtml";>
Circle Test
p {
width: 500px;
Here's one I use with GMaps - xlation of the last line needed:
function drawCircle(lng,lat,radius) { // e.g.,
drawCircle(-87.628092,41.881906,2);
var cColor = "#3366ff";
var cWidth = 2;
var Cradius = radius;
v
On Thu, Apr 30, 2009 at 07:53:17AM +0200, Kenny wrote:
> 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?
http://dev.openlayers.org/apidocs/files/OpenLayers/Geometry/Polygon-js.html#OpenLayers.
Hi Kenny,
Would it be sufficient for you to just have a point on the map that gets
styled as a circle with a certain radius? Then it's quite easy: [1].
Regards, Roald
[1] http://pastebin.com/f2a72e1d4
Kenny wrote:
>
> Hi Guys,
>
>
>
> I have been trying for ages and can’t seem to get this work
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,descri