[OpenLayers-Users] Changing layout of hovered/selected Features

Andreas Hocevar ahocevar at opengeo.org
Sun Jun 21 16:22:44 EDT 2009


Hey Kai,

have a look at http://www.openlayers.org/dev/examples/stylemap.html,
and find the line with new OpenLayers.StyleMap(...). The "default"
renderIntent is how unselected features are rendered, and the "select"
intent is for selected features.

For available symbolizer properties, see
http://dev.openlayers.org/apidocs/files/OpenLayers/Feature/Vector-js.html#OpenLayers.Feature.Vector.OpenLayers.Feature.Vector.style

Regards,
Andreas.

On Sun, Jun 21, 2009 at 10:16 PM, Kai Behncke<Kai-Behncke at gmx.de> wrote:
> Dear users,
>
> I would like to know how to change the layout of hovered and selected Features?
>
> In the moment I have the default orange / blue style......
>
> Thank you very much and best regards, Kai
> --
> GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list