Class Index | File Index

Classes


Class FeatureStyle

The style to display a Feature
Defined in: FeatureStyle.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
FeatureStyle(style)
Method Summary
Method Attributes Method Name and Description
<static>  
FeatureStyle.fromColorToString(color)
Convert an internal color to a string based color representation
<static>  
FeatureStyle.fromStringToColor(color_string)
Convert a color from a string to RGB
 
Check if a style is equals to render poly
 
Check if a style is equals to render point
 
Check if a style is equals to render poly
Class Detail
FeatureStyle(style)
Parameters:
style
an object containing the following style properties
  • strokeColor : the color for line, or polygon outline
  • strokeWidth : the width of a line
  • fillColor : the color for solid polygon or point
  • fillTextureUrl : the texture for solid polygon
  • iconUrl : the icon to be used for point
  • pointMaxSize : maximum size (in meter) for a point
Method Detail
<static> FeatureStyle.fromColorToString(color)
Convert an internal color to a string based color representation
Parameters:
color

<static> FeatureStyle.fromStringToColor(color_string)
Convert a color from a string to RGB
Parameters:
color_string

isEqualForLine(style)
Check if a style is equals to render poly
Parameters:
style

isEqualForPoint(style)
Check if a style is equals to render point
Parameters:
style

isEqualForPoly(style)
Check if a style is equals to render poly
Parameters:
style

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Mar 21 2013 10:38:11 GMT+0100 (CET)