[OpenLayers-Dev] SelectFeature - highlightOnly - doesnt behave well
when multipleKey&toggleKey is used
Ivan Grcic
ivan.grcic at geofoto.hr
Mon Jul 27 10:26:39 EDT 2009
Hi devs,
before opening (or-reopening http://trac.openlayers.org/ticket/1596) I
would like to confirm that its not only me.
in examples/highlight-feature.html demo, if we add
multipleKey&toggleKey to second control, error occurs
var selectCtrl = new OpenLayers.Control.SelectFeature(vectors,
{
clickout: true,
multipleKey: 'shiftKey',
toggleKey: 'ctrlKey'
} );
How to reproduce it:
Select 2 or more features with SHIFT+click, then toggle 1 or more
features with CTRL+click
Everything seems fine at first, but if you hover over toggled
(unselected) features,
they change style to selected, although they have been unselected.
Cheers
--
Ivan Grcic
More information about the Dev
mailing list