[OpenLayers-Trac] [OpenLayers] #1120: users should be able to customize the select style per feature
OpenLayers
trac at openlayers.org
Tue Feb 12 18:05:47 EST 2008
#1120: users should be able to customize the select style per feature
-----------------------+----------------------------------------------------
Reporter: tschaub | Owner:
Type: task | Status: closed
Priority: minor | Milestone: 2.6 Release
Component: general | Version: 2.5
Resolution: fixed | Keywords:
State: Complete |
-----------------------+----------------------------------------------------
Changes (by ahocevar):
* status: new => closed
* state: Commit => Complete
* resolution: => fixed
Comment:
(In [6240]) "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)
--
Ticket URL: <http://trac.openlayers.org/ticket/1120#comment:15>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list