On Mon, Jan 19, 2009 at 2:53 PM, Eric Lemoine <[email protected]> wrote:
> On Mon, Jan 19, 2009 at 2:34 PM, Alexandre Dube <[email protected]> wrote:
>> Hi Eric,
>
> Hi Alexandre,
>
>>
>>  I don't think we should use a renderIntent value.  The main idea of the
>> Highlight feature is to change the style of a feature only when the mouse is
>> hover it and only that.
>
> I meant that when the feature is clicked or hovered it is redrawn
> using the render intent configured in the control:
>
> layer.drawFeature(feature, this.renderIntent);
>
>> If we change the renderIntent of a feature, when
>> the mouse is no longer hover it, to what renderIntent we set it ?  If it was
>> "select", how do we know ?  We would need to keep track of the previous
>> renderIntent on hover.
>
> I'm suggesting to change the feature's render intent.

Sorry, the above should read: "I'm not suggesting to change the
feature's render intent".

--
Eric
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to