OpenLayers StyleMap

# StyleMap Example

Shows how to use a StyleMap.

A style map is used with vector layers to define styles for various rendering intents. The style map used here has styles defined for the "default" and "select" rendering intents. This map also has an active select feature control. When you hover over features, they are selected and drawn with the style corresponding the the "select" render intent.