[OpenLayers-Dev] [OpenLayers-Trac] [OpenLayers] #1260: SelectFeature and OpenLayers.Feature.Vector.style["select"]

Roald de Wit rdewit at users.sourceforge.net
Fri Jan 11 05:18:34 EST 2008


Hi Andreas,

I'm taking this to the dev list, so others can maybe profit from it.

I've read the wiki page about styles. Storing KML styles into OL.Style 
objects is no problem, but...

How can I store a parsed StyleMap (prob within my KML format) in such a 
way that OL can automatically select the correct render intent from the 
Styles and paint the feature accordingly? You have written 'select' and 
'drawFeature' methods. Are they going to be part of the trunk?

If so, maybe we can work together to get your changes in and me using 
them.  If not, can you give me an idea how i can make it work in order 
to have my KML being styled properly?

Kind regards,

Roald

OpenLayers wrote:
> #1260: SelectFeature and OpenLayers.Feature.Vector.style["select"]
> ------------------------------------+---------------------------------------
>   Reporter:  rdewit                 |       Owner:  tschaub    
>       Type:  feature                |      Status:  new        
>   Priority:  minor                  |   Milestone:  2.6 Release
>  Component:  Control.SelectFeature  |     Version:  2.5        
> Resolution:                         |    Keywords:             
>      State:  Needs Discussion       |  
> ------------------------------------+---------------------------------------
> <snip>
>
>  > I will take Andreas' test for OL.Style into account. Andreas, I really
>  could use your help with using your Style in my KML code (especially
>  StyleMap).
>
>  Have a look at the "Ideas For The Integration of OpenLayers.Style" I
>  proposed in http://trac.openlayers.org/wiki/Styles.  It is about using a
>  StyleMap and make rendering dependent of the rendering intent.  If you
>  need more help, don't hesitate to ask.  You would, however, have to
>  extract the styles from the KML into OL.Style objects.
>
>   




More information about the Dev mailing list