# Scale Dependent Labels Example

label, scale, stylemap

Demonstrates how to use a StyleMap for displaying scale dependent labels.

This example uses rule based styling to change the how features are labeled at different scales. An `OpenLayers.Rule` object can have `minScaleDenominator` and `maxScaleDenominator` properties to control when the provided symbolizer should be used.

View the source to see how this is done.