diff --git a/examples/stylemap.html b/examples/stylemap.html index 344cacfa06..73afff3d69 100644 --- a/examples/stylemap.html +++ b/examples/stylemap.html @@ -68,7 +68,13 @@
- Shows how to use a StyleMap. + Shows how to use a StyleMap to style features with rule based styling. + A style map references on or more OpenLayers.Style objects. These + OpenLayers.Style objects are collections of OpenLayers.Rule objects + that determine how features are styled. An OpenLayers.Rule object + combines an OpenLayers.Filter object with a symbolizer. A filter is used + to determine whether a rule applies for a given feature, and a symbolizer + is used to draw the feature if the rule applies.
diff --git a/examples/styles-context.html b/examples/styles-context.html index df9b86c12c..541266b22a 100644 --- a/examples/styles-context.html +++ b/examples/styles-context.html @@ -84,7 +84,10 @@- Shows how to create a feature styles. + To style features with a custom function that evaluates each feature, use + the context option of an OpenLayers.Style object. If the context object + contains a function and this function is referenced in a symbolizer, the + function will be called with the feature as an argument..
diff --git a/examples/styles-rotation.html b/examples/styles-rotation.html index cc8a7af41b..5d48ad7dcf 100644 --- a/examples/styles-rotation.html +++ b/examples/styles-rotation.html @@ -75,8 +75,10 @@ -Vector point feature symbolizers can have a rotation property. The center of the rotation is the point of the image specified by graphicXOffset and graphicYOffset.
+To style point features with rotation, use the rotation + property of the symbolizer. The center of the rotation is the point of the + image specified by graphicXOffset and graphicYOffset.