diff --git a/lib/OpenLayers/Feature/Vector.js b/lib/OpenLayers/Feature/Vector.js index f91dedfbd0..b49eff96a7 100644 --- a/lib/OpenLayers/Feature/Vector.js +++ b/lib/OpenLayers/Feature/Vector.js @@ -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 stroke properties: http://www.w3.org/TR/SVG/painting.html#StrokeProperties * - * Default style properties: - * - * - fillColor: "#ee9900", - * - fillOpacity: 0.4, - * - strokeColor: "#ee9900", - * - strokeOpacity: 1, - * - strokeWidth: 1, - * - strokeLinecap: "round", [butt | round | square] - * - strokeDashstyle: "solid", [dot | dash | dashdot | longdash | longdashdot | solid] - * - pointRadius: 6, - * - pointerEvents: "visiblePainted" - * - cursor: "" - * - * Other style properties that have no default values: - * - * - externalGraphic, - * - graphicWidth, - * - graphicHeight, - * - graphicOpacity, - * - graphicXOffset, - * - graphicYOffset, - * - graphicName, - * - display + * Symbolizer properties: + * fillColor - {String} Hex fill color. Default is "#ee9900". + * fillOpacity - {Number} Fill opacity (0-1). Default is 0.4 + * strokeColor - {String} Hex stroke color. Default is "#ee9900". + * strokeOpacity - {Number} Stroke opacity (0-1). Default is 1. + * strokeWidth - {Number} Pixel stroke width. Default is 1. + * strokeLinecap - {String} Stroke cap type. Default is "round". [butt | round | square] + * strokeDashstyle - {String} Stroke dash style. Default is "solid". [dot | dash | dashdot | longdash | longdashdot | solid] + * pointRadius - {Number} Pixel point radius. Default is 6. + * pointerEvents - {String} Default is "visiblePainted". + * cursor - {String} Default is "". + * externalGraphic - {String} Url to an external graphic that will be used for rendering points. + * graphicWidth - {Number} Pixel width for sizing an external graphic. + * graphicHeight - {Number} Pixel height for sizing an external graphic. + * graphicOpacity - {Number} Opacity (0-1) for an external graphic. + * graphicXOffset - {Number} Pixel offset along the positive x axis for displacing an external graphic. + * graphicYOffset - {Number} Pixel offset along the positive y axis for displacing an external graphic. + * graphicZIndex - {Number} The integer z-index value to use in rendering. + * graphicName - {String} Named graphic to use when rendering points. Supported values include "circle" (default), + * "square", "star", "x", "cross", "triangle". + * display - {String} Symbolizers will have no effect if display is set to "none". All other values have no effect. */ OpenLayers.Feature.Vector.style = { 'default': {