ahocevar
|
c5dd8ada2c
|
"users should be able to customize the select style per feature": Created a !StyleMap class which stores all styles that are needed for a layer. Controls that need to render features differently can now just give a render intent (e.g. "default", "select" or "temporary") to the layer's drawFeature method, instead of having extra style informations like Control.!SelectFeature.selectStyle. Existing application that set layer.style or feature.style are still supported, but both of these style properties are now null by default. r=crschmidt,elemoine,tschaub (closes #1120)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6240 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-02-12 23:05:47 +00:00 |
|
Tim Schaub
|
f27833f1db
|
Trigger feature related events with feature information and layer related events with layer information. Also adding events.on and events.un convenience methods. r=crschmidt (closes #1343)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-02-08 23:31:27 +00:00 |
|
Tim Schaub
|
9bb51fb088
|
Taming the select feature control a bit. Previously, onUnselect was called twice for every unselection. r=elemoine (closes #1234)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5959 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-02-01 16:42:33 +00:00 |
|
ahocevar
|
45d5fdfd06
|
SelectFeature and OpenLayers.Feature.Vector.style["select"]: changed Control.SelectFeature to inherit properties that are not set in selectStyle from feature.style. r=tschaub (closes #1260)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5896 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2008-01-25 23:13:57 +00:00 |
|
crschmidt
|
48a9da00ec
|
Erik helps me fix tests. I threaten to kill him for criticizing my lack
of semicolons. All is well. Fix for "keep selected features drawn with
the right style". (Closes #916)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4232 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-09-12 05:12:00 +00:00 |
|
Tim Schaub
|
b3e524960b
|
adding basic tests for the select feature control
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2007-08-31 00:27:28 +00:00 |
|