[OpenLayers-Users] RegularPolygon Styling

Eric Lemoine eric.lemoine at camptocamp.com
Wed Sep 2 15:06:53 EDT 2009


On Wed, Sep 2, 2009 at 10:40 AM, Andreas Hocevar<ahocevar at opengeo.org> wrote:
> Eric Lemoine wrote:
>> On Tue, Aug 25, 2009 at 7:20 PM, Heidt, Christopher
>> M.<CHRISTOPHER.M.HEIDT at saic.com> wrote:
>>
>>> The "temporary" style that exists in the other shape handlers
>>> doesn't seem to work with RegularPolygon.
>>> How do I change the style of a RegularPolygon during the draw phase?
>>>
>>
>> Hi.
>>
>> Either write a patch to Handler/RegularPolygon.js so it takes the
>> layerOptions config option into account (as Handler/Point.js does),
>
> Such a patch already exists, it just needs some unit tests:
> http://trac.openlayers.org/attachment/ticket/2232/openlayers-2232.patch

Thanks for the information Andreas.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list