| Package | org.openscales.core.routing |
| Class | public class SampleRouting |
| Inheritance | SampleRouting AbstractRouting Handler Object |
| Method | Defined By | ||
|---|---|---|---|
| SampleRouting | |||
![]() | addIntermediaryPoint(intermedPoint:PointFeature):void
To add an intermediary point to the itinerary
| AbstractRouting | |
![]() | addIntermediaryPoints(intermedPointsArray:Vector.<PointFeature>):void
To add an array of intermediaries point to the itinerary
| AbstractRouting | |
![]() | editItinerary(event:FeatureEvent):void | AbstractRouting | |
![]() | getIntermediaryPointByIndex(index:int):Marker | AbstractRouting | |
![]() | intermediaryPointsNumber():Number
Number of intermediary points
| AbstractRouting | |
![]() | refreshRouting():void
for refreshing the itinerary
| AbstractRouting | |
![]() | removeIntermediaryPoint(intermedPoint:PointFeature):void
To remove an intermediary point from the itinerary
| AbstractRouting | |
![]() | removeIntermediaryPoints(intermedPointsArray:Vector.<PointFeature>):void
To remove an array of intermediary point from the itinerary
| AbstractRouting | |
sendRequest():void [override]
his function returns the points list ordered by distances from the start point
| SampleRouting | ||
sortOnValue(a:Number, b:Number):Number | SampleRouting | ||
| SampleRouting | () | Constructor |
public function SampleRouting(map:Map = null, active:Boolean = false, resultsLayer:VectorLayer = null)map:Map (default = null) | |
active:Boolean (default = false) | |
resultsLayer:VectorLayer (default = null) |
| sendRequest | () | method |
override public function sendRequest():voidhis function returns the points list ordered by distances from the start point
| sortOnValue | () | method |
public function sortOnValue(a:Number, b:Number):NumberParameters
a:Number | |
b:Number |
Number |