ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
The ScaleLineAdornmentLayer is a concrete class inherited from AdornmentLayer. The ScaleLineAdornmentLayer class allows you show a ScaleLine graphic on the map.
Creates a new instance of the ScaleLineAdornmentLayer class. The default location of this ScaleLineAdornmentLayer is the lower left corner of the CurrentExtent of the map.
N/A
Creates a new instance of the ScaleLineAdornmentLayer class by passing in the specified ScreenPoint, which will be the start position of this ScaleLineAdornmentLayer when it is shown on the map.
N/A
startPoint
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
canvas
labelsInAllLayers
N/A
N/A
Return Value
N/A
N/A
canvas
adornmentWidth
adornmentHeight
N/A
N/A
Return Value
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
extentToRefresh
bufferTime
bufferTimeType
N/A
N/A
Return Value
N/A
N/A
Return Value
bufferTime
bufferTimeType
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
extentsToRefresh
bufferTime
N/A
N/A
Return Value
extentsToRefresh
bufferTime
bufferTimeType
N/A
N/A
Return Value
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
This method draws the Layer.
This abstract method is called from the concrete public method Draw. This method draws the representation of the layer based on the extent you provided. When implementing this abstract method, consider each feature and its column data values. You can use the full power of the GeoCanvas to do the drawing. If you need column data for a feature, be sure to override the GetRequiredColumnNamesCore and add the columns you need to the collection. In many of the styles, we add properties to allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection.
Return Value
canvas
labelsInAllLayers
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Value
N/A
N/A
Return Type:String
N/A
N/A
N/A
N/A
Return Type:Single
This propery is a dictionary that exposes what text will be drawn to represent the ScaleLine Unit.
We will display different letters for different units of measure; for example: “m” for meters, “ft” for feet, etc.
Return Type:Dictionary<String,String>
N/A
N/A
Return Type:DrawingExceptionMode
N/A
N/A
Return Type:TimeSpan
N/A
N/A
Return Type:Single
N/A
N/A
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Boolean
N/A
N/A
N/A
N/A
Return Type:AdornmentLocation
N/A
N/A
Return Type:String
N/A
N/A
Gets or sets a Proj4 projection parameter string which shows what coordinate system the map is using.
N/A
Return Type:Projection
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:TimeSpan
N/A
N/A
N/A
N/A
Return Type:Single
Gets or sets the UnitSystem to be used for the ScaleLine.
By setting this property, you can set the top and button unit for the ScaleLine.
Return Type:ScaleLineUnitSystem
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Single
N/A
N/A
Return Type:Boolean
N/A
N/A
Return Type:Single
N/A
N/A
N/A
N/A
N/A
N/A
N/A