[OpenLayers-Users] GWT SelectFeature.select() method no longer available?

jmorley jeremy.morley at nottingham.ac.uk
Sat Jun 16 15:41:31 PDT 2012


Thanks Jorge.

The example you give works fine for me, but it doesn't translate onto the
site I'm working on.

As far as I can see, when I do the programmatic selection, the feature in
the layer becomes selected (it appears in the selected property for the
layer). However the feature itself doesn't seem to be redrawn with the
"selected" style. This style is definitely defined as manual selection with
a mouse click on a feature toggles the style between the "default" and
"selected" styles. I've tried adding a layer redraw but this doesn't help.

It's quite a complex site so it's difficult to extract example code.

Does it matter that my vector layer is from WFS rather than sketched
vectors?

I'll try putting a test app together to share but any ideas in the meantime
would be welcome.

Jeremy

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/GWT-SelectFeature-select-method-no-longer-available-tp3969860p4981911.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list