Packageorg.openscales.core.feature
Classpublic class LineStringFeature
InheritanceLineStringFeature Inheritance Feature Inheritance flash.display.Sprite

Feature used to draw a LineString geometry on FeatureLayer



Public Properties
 PropertyDefined By
 Inheritedattributes : Object
Feature
 Inheriteddata : Object
Feature
 InheriteddateCreation : String
Feature
 Inheritedgeometry : Geometry
Feature
 InheritedisEditable : Boolean
To know if the vector feature is editable when its vector layer is in edit mode
Feature
 Inheritedlayer : VectorLayer
Feature
 Inheritedleft : Number
[read-only]
Feature
  lineString : LineString
[read-only]
LineStringFeature
 Inheritedlonlat : Location
[read-only]
Feature
 InheritedoriginalStyle : Style
Feature
 Inheritedselected : Boolean
Feature
 Inheritedstate : String
Feature
 Inheritedstyle : Style
Feature
 Inheritedtop : Number
[read-only]
Feature
Public Methods
 MethodDefined By
  
LineStringFeature(geom:LineString = null, data:Object = null, style:Style = null, isEditable:Boolean = false)
LineStringFeature
 Inherited
atPoint(lonlat:Location, toleranceLon:Number, toleranceLat:Number):Boolean
Determines if the feature is placed at the given point with a certain tolerance (or not).
Feature
  
[override] To obtain feature clone
LineStringFeature
 Inherited
compatibleFeatures(features:Vector.<Feature>):Boolean
[static]
Feature
 Inherited
destroy():void
Method to destroy a the feature instance.
Feature
  
dottedTo(px1:Pixel, px2:Pixel, pWhiteSize:int, pDottedSize:int):void
LineStringFeature
 Inherited
draw():void
The function allow to customize the display of this feature.
Feature
 Inherited
onMouseClick(pevt:MouseEvent):void
Feature
 Inherited
onMouseDoubleClick(pevt:MouseEvent):void
Feature
 Inherited
onMouseDown(pevt:MouseEvent):void
Feature
 Inherited
onMouseHover(pevt:MouseEvent):void
Events Management
Feature
 Inherited
onMouseMove(pevt:MouseEvent):void
Feature
 Inherited
onMouseOut(pevt:MouseEvent):void
Feature
 Inherited
onMouseUp(pevt:MouseEvent):void
Feature
 Inherited
onScreen():Boolean
Determines if the feature is visible on the screen
Feature
 Inherited
Feature
 Inherited
Feature
Protected Methods
 MethodDefined By
 Inherited
acceptSymbolizer(symbolizer:Symbolizer):Boolean
Feature
  
executeDrawing(symbolizer:Symbolizer):void
[override]
LineStringFeature
 Inherited
renderRule(rule:Rule):void
Feature
Property Detail
lineStringproperty
lineString:LineString  [read-only]


Implementation
    public function get lineString():LineString
Constructor Detail
LineStringFeature()Constructor
public function LineStringFeature(geom:LineString = null, data:Object = null, style:Style = null, isEditable:Boolean = false)



Parameters
geom:LineString (default = null)
 
data:Object (default = null)
 
style:Style (default = null)
 
isEditable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Feature

To obtain feature clone

Returns
Feature
dottedTo()method 
public function dottedTo(px1:Pixel, px2:Pixel, pWhiteSize:int, pDottedSize:int):void

Parameters

px1:Pixel
 
px2:Pixel
 
pWhiteSize:int
 
pDottedSize:int

executeDrawing()method 
override protected function executeDrawing(symbolizer:Symbolizer):void

Parameters

symbolizer:Symbolizer