[OpenLayers-Users] StyleMap and ModifyFeatures aren't compatible ?

Eric Lemoine eric.c2c at gmail.com
Thu Aug 7 10:07:25 EDT 2008


On Thu, Aug 7, 2008 at 1:55 PM, Alexandre Dube <adube at mapgears.com> wrote:
> Sure I'll try, but anybody correct me if I am wrong with the explanation
> please.
>
> The vertices are vector features too that try to be drawn on the same
> layer.  If a uniqueValueRules is set, then the a drawn feature must
> respect it.  Since the vertices don't ( they don't have the related
> attribute value, therefore don't respect the rule ) they are now drawn.
>
> Well, in fact they are created, but not shown.  The elseFilter:true
> means : if the feature doesn't respect the uniqueValueRules, use "this"
> following rule instead.
>
> Am I right ?

100%. See the ticket for a hint on how to fix the bug.

--
Eric



More information about the Users mailing list