Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
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
ScaleLineAdornmentLayer(ScreenPointF)
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
ScaleLineAdornmentLayer(AdornmentLocation)
Creates a new instance of the ScaleLineAdornmentLayer class by passing in the specified enumeration of the AdornmentLocation that will be used to set the start position of this ScaleLineAdornmentLayer when it is shown on the map.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
RequestDrawing(RectangleShape,TimeSpan)
N/A
N/A
RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
N/A
N/A
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)
N/A
N/A
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
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.
OnRequestedDrawing(RequestedDrawingLayerEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
DrawExceptionCore(GeoCanvas,Exception)
N/A
N/A
OnDrawingException(DrawingExceptionLayerEventArgs)
N/A
N/A
N/A
N/A
OnDrawingAttribution(DrawingAttributionLayerEventArgs)
N/A
N/A
N/A
N/A
N/A
N/A
Gets or sets a Proj4 projection parameter string which shows what coordinate system the map is using.
N/A
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.
By setting this property, you can set the top and button unit for the ScaleLine.
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
Event Arguments:DrawnAttributionLayerEventArgs
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.