Ticket #1120: selectStyle.patch
| File selectStyle.patch, 0.6 kB (added by tschaub, 10 months ago) |
|---|
-
lib/OpenLayers/Control/SelectFeature.js
old new 171 171 feature.originalStyle = feature.style; 172 172 } 173 173 this.layer.selectedFeatures.push(feature); 174 feature.style = this.selectStyle; 174 feature.style = feature.selectStyle ? 175 feature.selectStyle : this.selectStyle; 175 176 this.layer.drawFeature(feature); 176 177 this.onSelect(feature); 177 178 },
