I've fixed this one, I needed to add the 'selectStyle' to the SelectFeature:

ctrlHover = new OpenLayers.Control.SelectFeature(surveyLayer,
   {
   multiple: false,
   hover: true,
   toggleKey: "ctrlKey", // ctrl key removes from selection
   multipleKey: "shiftKey", // shift key adds to selection
   selectStyle: {strokeColor: "#ff0000", strokeWidth: 2}
   });


-- 
View this message in context: 
http://n2.nabble.com/SelectFeature-Control-tp2562414p2562871.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.

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

Reply via email to