[OpenLayers-Users] Circles
Heidt, Christopher M.
CHRISTOPHER.M.HEIDT at saic.com
Tue Dec 2 15:28:30 EST 2008
right, changing a points radius in the style makes the marker that represents a point larger, but it isnt a "Circle" Feature because it remains the same size when u zoom in and out.
oracle has a WKT outputer that makes a CURVEPOLYGON(# #,# #,# #,# #) or some such nonsence to represent circles. the problem is that it isnt part of the WKT spec so nothing supports it.
I'd change it to a format that is supported,
but i can't find anything in any format that can represent a circle.
Anybody know if it would be a daunting task to add CURVEPOLYGON support to the WKT parser?
________________________________
From: users-bounces at openlayers.org on behalf of Lehtonen, Mika
Sent: Tue 12/2/2008 2:23 PM
To: Didrik Pinte
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] Circles
Hi Didrik,
I guess the points are still points regardless of their style? So you
can't use their geometry as a replacement of a circle?
- mika -
Didrik Pinte kirjoitti:
> On Tue, 2008-12-02 at 08:27 -0500, Heidt, Christopher M. wrote:
>
>> Probably a dumb question, but how can I create a circle feature using
>> the api?
>>
>> I'm hoping you're not going to say I have to generate a bunch of
>> points an make a polygon :(
>>
>
> Using a point with a style using a radius will do it fine.
>
> For example :
> http://openlayers.org/dev/examples/stylemap.html
>
> Didrik
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081202/19aa0016/attachment.html
More information about the Users
mailing list