Symbolizer property docs.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8913 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-02-28 21:00:34 +00:00
parent 2d8489f6f2
commit a55bef1cba
+21 -23
View File
@@ -312,29 +312,27 @@ OpenLayers.Feature.Vector = OpenLayers.Class(OpenLayers.Feature, {
* Information on fill properties: http://www.w3.org/TR/SVG/painting.html#FillProperties * Information on fill properties: http://www.w3.org/TR/SVG/painting.html#FillProperties
* Information on stroke properties: http://www.w3.org/TR/SVG/painting.html#StrokeProperties * Information on stroke properties: http://www.w3.org/TR/SVG/painting.html#StrokeProperties
* *
* Default style properties: * Symbolizer properties:
* * fillColor - {String} Hex fill color. Default is "#ee9900".
* - fillColor: "#ee9900", * fillOpacity - {Number} Fill opacity (0-1). Default is 0.4
* - fillOpacity: 0.4, * strokeColor - {String} Hex stroke color. Default is "#ee9900".
* - strokeColor: "#ee9900", * strokeOpacity - {Number} Stroke opacity (0-1). Default is 1.
* - strokeOpacity: 1, * strokeWidth - {Number} Pixel stroke width. Default is 1.
* - strokeWidth: 1, * strokeLinecap - {String} Stroke cap type. Default is "round". [butt | round | square]
* - strokeLinecap: "round", [butt | round | square] * strokeDashstyle - {String} Stroke dash style. Default is "solid". [dot | dash | dashdot | longdash | longdashdot | solid]
* - strokeDashstyle: "solid", [dot | dash | dashdot | longdash | longdashdot | solid] * pointRadius - {Number} Pixel point radius. Default is 6.
* - pointRadius: 6, * pointerEvents - {String} Default is "visiblePainted".
* - pointerEvents: "visiblePainted" * cursor - {String} Default is "".
* - cursor: "" * externalGraphic - {String} Url to an external graphic that will be used for rendering points.
* * graphicWidth - {Number} Pixel width for sizing an external graphic.
* Other style properties that have no default values: * graphicHeight - {Number} Pixel height for sizing an external graphic.
* * graphicOpacity - {Number} Opacity (0-1) for an external graphic.
* - externalGraphic, * graphicXOffset - {Number} Pixel offset along the positive x axis for displacing an external graphic.
* - graphicWidth, * graphicYOffset - {Number} Pixel offset along the positive y axis for displacing an external graphic.
* - graphicHeight, * graphicZIndex - {Number} The integer z-index value to use in rendering.
* - graphicOpacity, * graphicName - {String} Named graphic to use when rendering points. Supported values include "circle" (default),
* - graphicXOffset, * "square", "star", "x", "cross", "triangle".
* - graphicYOffset, * display - {String} Symbolizers will have no effect if display is set to "none". All other values have no effect.
* - graphicName,
* - display
*/ */
OpenLayers.Feature.Vector.style = { OpenLayers.Feature.Vector.style = {
'default': { 'default': {