[OpenLayers-Dev] SelectFeature control

Alexandre Dube adube at mapgears.com
Tue Mar 3 10:49:02 EST 2009


Hi devs,

  I brought several weeks ago some possible modification ideas that the 
SelectFeature control could have, including :

  - having its own selectedFeatures array with the corresponding events 
that are currently in the layer
  - the feature renderIntent could be a stack of strings ( an array ) 
instead of a string only, selecting a feature would add "select" to the 
array, unselecting would remove it.

  That would enable the possibility to have multiple SelectFeature 
controls at the same time.  For example, one onHover the other onClick, 
both having their own customized style.  So far, I had no positive 
comments about theses ideas but I'd like to talk about it more to know 
exactly why they're not good ideas, please.

  Kind regards,

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Dev mailing list