Yahoo! UI Library

CHZERO  1.0.0

Yahoo! UI Library > CHZERO > FeatureVector.js (source view)
Search:
 
Filters
/**
 * OpenLayers.Feature.Vector<br/>
 * Vector features use the OpenLayers.Geometry classes as geometry description.  They have an ‘attributes’ property, which is the data object, and a ‘style’ property, the default values of which are defined in the OpenLayers.Feature.Vector.style objects.
 * @class Vector
 * @constructor
 * @extends OpenLayers.Feature
 * @namespace OpenLayers.Feature
 * @param {OpenLayers.Geometry} geometry
 * @param {Object} attributes
 * @param {Object} style
 */
OpenLayers.Feature.Vector = OpenLayers.Class({
	/**
	* @property geometry
	* @type {OpenLayers.Geometry}
	*/
	geometry: null,
	/**
	* feature를 나타내는 독단적인 속성들
	* @property attributes
	* @type {Object}
	*/
	attributes: null,
	/**
	* Symbolizer properties:<BR/>
	* fill - {Boolean} Set to false if no fill is desired.<BR/>
	* fillColor - {String} Hex fill color.  Default is "#ee9900".<BR/>
	* fillOpacity - {Number} Fill opacity (0-1).  Default is 0.4 <BR/>
	* stroke - {Boolean} Set to false if no stroke is desired.<BR/>
	* strokeColor - {String} Hex stroke color.  Default is "#ee9900".<BR/>
	* strokeOpacity - {Number} Stroke opacity (0-1).  Default is 1.<BR/>
	* strokeWidth - {Number} Pixel stroke width.  Default is 1.<BR/>
	* strokeLinecap - {String} Stroke cap type.  Default is "round".  [butt | round | square]<BR/>
	* strokeDashstyle - {String} Stroke dash style.  Default is "solid". [dot | dash | dashdot | longdash | longdashdot | solid]<BR/>
	* graphic - {Boolean} Set to false if no graphic is desired.<BR/>
	* pointRadius - {Number} Pixel point radius.  Default is 6.<BR/>
	* pointerEvents - {String}  Default is "visiblePainted".<BR/>
	* cursor - {String} Default is "".<BR/>
	* externalGraphic - {String} Url to an external graphic that will be used for rendering points.<BR/>
	* graphicWidth - {Number} Pixel width for sizing an external graphic.<BR/>
	* graphicHeight - {Number} Pixel height for sizing an external graphic.<BR/>
	* graphicOpacity - {Number} Opacity (0-1) for an external graphic.<BR/>
	* graphicXOffset - {Number} Pixel offset along the positive x axis for displacing an external graphic.<BR/>
	* graphicYOffset - {Number} Pixel offset along the positive y axis for displacing an external graphic.<BR/>
	* rotation - {Number} For point symbolizers, this is the rotation of a graphic in the clockwise direction about its center point (or any point off center as specified by graphicXOffset and graphicYOffset).<BR/>
	* graphicZIndex - {Number} The integer z-index value to use in rendering.<BR/>
	* graphicName - {String} Named graphic to use when rendering points.  Supported values include "circle" (default),<BR/>
	*     "square", "star", "x", "cross", "triangle".<BR/>
	* graphicTitle - {String} Tooltip for an external graphic.<BR/>
	* backgroundGraphic - {String} Url to a graphic to be used as the background under an externalGraphic.<BR/>
	* backgroundGraphicZIndex - {Number} The integer z-index value to use in rendering the background graphic.<BR/>
	* backgroundXOffset - {Number} The x offset (in pixels) for the background graphic.<BR/>
	* backgroundYOffset - {Number} The y offset (in pixels) for the background graphic.<BR/>
	* backgroundHeight - {Number} The height of the background graphic.  If not provided, the graphicHeight will be used.<BR/>
	* backgroundWidth - {Number} The width of the background width.  If not provided, the graphicWidth will be used.<BR/>
	* label - {String} The text for an optional label. For browsers that use the canvas renderer, this requires either<BR/>
	*     fillText or mozDrawText to be available.<BR/>
	* labelAlign - {String} Label alignment. This specifies the insertion point relative to the text. It is a string<BR/>
	*     composed of two characters. The first character is for the horizontal alignment, the second for the vertical<BR/>
	*     alignment. Valid values for horizontal alignment: "l"=left, "c"=center, "r"=right. Valid values for vertical<BR/>
	*     alignment: "t"=top, "m"=middle, "b"=bottom. Example values: "lt", "cm", "rb".<BR/>
	* labelXOffset - {Number} Pixel offset along the positive x axis for displacing the label. Not supported by the canvas renderer.<BR/>
	* labelYOffset - {Number} Pixel offset along the positive y axis for displacing the label. Not supported by the canvas renderer.<BR/>
	* labelSelect - {Boolean} If set to true, labels will be selectable using SelectFeature or similar controls.<BR/>
	*     Default is false.<BR/>
	* fontColor - {String} The font color for the label, to be provided like CSS.<BR/>
	* fontOpacity - {Number} Opacity (0-1) for the label<BR/>
	* fontFamily - {String} The font family for the label, to be provided like in CSS.<BR/>
	* fontSize - {String} The font size for the label, to be provided like in CSS.<BR/>
	* fontStyle - {String} The font style for the label, to be provided like in CSS.<BR/>
	* fontWeight - {String} The font weight for the label, to be provided like in CSS.<BR/>
	* display - {String} Symbolizers will have no effect if display is set to "none".  All other values have no effect.<BR/>
	* @property style
	* @type {Object}
	*/
	style: null,
	/**
	* @property url
	* @type {Object}
	*/
	url: null,
	/**
	* @property modified
	* @type {Object}
	*/
	modified: null
	
});

Copyright © 2012 Yahoo! Inc. All rights reserved.