Hi, Christopher Schmidt schrieb:
and overriding downFeature can be done similarly:mySelect = new OpenLayers.Control.SelectFeature(vectors, {onSelect: serialize, onUnselect: deselect,multiple: true, downFeature:function(){alert('hi')}}); However, before you do htis, I'd like to understand why, so we canfigure out in what way the OpenLayers SelectFeature handler is lacking.
Thanks! I'd like to have the possibility to select features while hovering over them and to keep them selected on mouse out, when the user clicks on it. This is a change of the logic, so I thought overriding should be my solution. But you're right, because these are not API functions I'll have trouble sooner or later. Kevin -- http://www.kevinkempfer.de Tel.: (07071) 860303 ICQ: 2186573 Skype: kevin0815 Früher haben die Frauen auf ihrem eigenen Boden gekämpft. Da war jede Niederlage ein Sieg. Heute kämpfen sie auf dem Boden der Männer. Da ist jeder Sieg eine Niederlage. (Coco Chanel)
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
