I asked this question on stackoverflow
http://stackoverflow.com/questions/40289416/select-interaction-style-not-used-when-feature-has-its-own-style
and received a helpful answer from Jonatas Walker
<http://stackoverflow.com/users/4640499/jonatas-walker> but the behavior
does not seem intuitive to me so I'm putting it out to the dev list to ask
if this is deliberate or maybe deserves  reconsideration.

What I'm seeing is that if a feature does not have a "style" property and
is therefore styled by the layer's default style properties, then
the ol.interaction.Select style is applied when the feature is selected as
expected. But if the feature does have a "style" property the
ol.interaction.Select style is not applied when the feature is selected and
if the ol.interaction.Select style is a function that function is not
called.

Am I just not seeing the logic behind this, or does anyone else find it
inconsistent?

Thanks,
Rich
-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com

-- 
You received this message because you are subscribed to the Google Groups "OL3 
Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ol3-dev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ol3-dev/CAHBySPbaeGF3SRSR0R5NHb-kptpGR7EwWM46PpkdjrUWM1Sf8g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to