| Package | net.systemeD.halcyon.styleparser |
| Class | public class StyleList |
Each array element applies to that sublayer (z-index). If there is no element, nothing is drawn on that sublayer.
StyleLists are created by StyleChooser.getStyles.
See also
| Property | Defined by | ||
|---|---|---|---|
| maxwidth : Number = 0 | StyleList | ||
| pointStyles : Object | StyleList | ||
| shapeStyles : Object | StyleList | ||
| shieldStyles : Object | StyleList | ||
| subparts : Array List of subparts used in this StyleList.
| StyleList | ||
| textStyles : Object | StyleList | ||
| validAt : int = -1 Zoom level this StyleList is valid at.
| StyleList | ||
| Method | Defined by | ||
|---|---|---|---|
|
addSubpart(s:String):void
Record that a subpart is used in this StyleList.
| StyleList | ||
|
hasFills():Boolean
Does this StyleList contain any styles with a fill?
| StyleList | ||
|
hasStyles():Boolean
Does this StyleList contain any styles?
| StyleList | ||
|
isValidAt(zoom:uint):Boolean
Is this StyleList valid at a given zoom?
| StyleList | ||
|
layerOverride():Number
Does this StyleList manually force an OSM layer?
| StyleList | ||
|
toString():String
Summarise StyleList as String - for debugging.
| StyleList | ||
| maxwidth | property |
public var maxwidth:Number = 0
| pointStyles | property |
public var pointStyles:Object
| shapeStyles | property |
public var shapeStyles:Object
| shieldStyles | property |
public var shieldStyles:Object
| subparts | property |
public var subparts:ArrayList of subparts used in this StyleList.
| textStyles | property |
public var textStyles:Object
| validAt | property |
public var validAt:int = -1Zoom level this StyleList is valid at. If -1, valid at all styles (i.e. doesn't need to be recomputed on zoom in/out); otherwise, specifies a single zoom level.
| addSubpart | () | method |
public function addSubpart(s:String):voidRecord that a subpart is used in this StyleList.
Parameterss:String |
| hasFills | () | method |
public function hasFills():BooleanDoes this StyleList contain any styles with a fill?
ReturnsBoolean |
| hasStyles | () | method |
public function hasStyles():BooleanDoes this StyleList contain any styles?
ReturnsBoolean |
| isValidAt | () | method |
public function isValidAt(zoom:uint):BooleanIs this StyleList valid at a given zoom?
Parameterszoom:uint |
Boolean |
| layerOverride | () | method |
public function layerOverride():NumberDoes this StyleList manually force an OSM layer?
ReturnsNumber |
| toString | () | method |
public function toString():StringSummarise StyleList as String - for debugging.
ReturnsString |