Making sure the word 'style' appears in the style examples. No functional change.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@8213 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -68,7 +68,13 @@
|
|||||||
<div id="tags"></div>
|
<div id="tags"></div>
|
||||||
|
|
||||||
<p id="shortdesc">
|
<p id="shortdesc">
|
||||||
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.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|||||||
@@ -84,7 +84,10 @@
|
|||||||
<div id="tags"></div>
|
<div id="tags"></div>
|
||||||
|
|
||||||
<p id="shortdesc">
|
<p id="shortdesc">
|
||||||
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..
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="map" class="smallmap"></div>
|
<div id="map" class="smallmap"></div>
|
||||||
|
|||||||
@@ -75,8 +75,10 @@
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="init()">
|
<body onload="init()">
|
||||||
<h1 id="title">Rotation Styles Example</h1>
|
<h1 id="title">Rotation Style Example</h1>
|
||||||
<p id="shortdesc">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.</p>
|
<p id="shortdesc">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.</p>
|
||||||
<div id="map"></div>
|
<div id="map"></div>
|
||||||
<div id="docs"/>
|
<div id="docs"/>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user