diff --git a/examples/label-scale.html b/examples/label-scale.html new file mode 100644 index 0000000000..d6d32ed764 --- /dev/null +++ b/examples/label-scale.html @@ -0,0 +1,34 @@ + + +
+ + + ++ 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. +
+