This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.mapshapelayer [2015/09/21 01:07] admin |
thinkgeo.mapsuite.core.mapshapelayer [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.MapShapeLayer ====== | ====== ThinkGeo.MapSuite.Core.MapShapeLayer ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
Ideally I would want to make this inherit from the FeatureLayer so you could do spatial queries. In the interests of time I inherited from the Layer to make things simple and show the point of how easy it is to extend Map Suite. When we roll this into the main product we may create a FeatureSource and FeatureLayer. | Ideally I would want to make this inherit from the FeatureLayer so you could do spatial queries. In the interests of time I inherited from the Layer to make things simple and show the point of how easy it is to extend Map Suite. When we roll this into the main product we may create a FeatureSource and FeatureLayer. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 16: | Line 19: | ||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ** {{wiki:PublicMethod.gif|}} GetThreadSafetyLevel() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing() ** |
N/A | N/A | ||
Line 23: | Line 26: | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.ThreadSafetyLevel|ThreadSafetyLevel]] | + | * Type:Void |
* Description:N/A | * Description:N/A | ||
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape) ** |
N/A | N/A | ||
Line 35: | Line 38: | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.Layer|Layer]] | + | * Type:Void |
* Description:N/A | * Description:N/A | ||
== Parameters == | == Parameters == | ||
+ | * //extentToRefresh// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Open() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>) ** |
N/A | N/A | ||
Line 51: | Line 58: | ||
== Parameters == | == Parameters == | ||
+ | * //extentsToRefresh// | ||
+ | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | ||
+ | * Description:N/A | ||
+ | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Close() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan) ** |
N/A | N/A | ||
Line 63: | Line 74: | ||
== Parameters == | == Parameters == | ||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
+ | * Description:N/A | ||
+ | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan,RequestDrawingBufferTimeType) ** |
N/A | N/A | ||
Line 71: | Line 86: | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:Void |
* Description:N/A | * Description:N/A | ||
== Parameters == | == Parameters == | ||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTimeType// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] | ||
+ | * Description:N/A | ||
+ | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Draw(GeoCanvas,Collection<SimpleCandidate>) ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan) ** |
N/A | N/A | ||
Line 87: | Line 110: | ||
== Parameters == | == Parameters == | ||
- | * //canvas// | + | * //extentToRefresh// |
- | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
* Description:N/A | * Description:N/A | ||
- | * //labelsInAllLayers// | + | * //bufferTime// |
- | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | + | * Type:TimeSpan |
* Description:N/A | * Description:N/A | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType) ** |
N/A | N/A | ||
Line 107: | Line 130: | ||
== Parameters == | == Parameters == | ||
+ | * //extentToRefresh// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTimeType// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] | ||
+ | * Description:N/A | ||
+ | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape) ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>,TimeSpan) ** |
N/A | N/A | ||
Line 119: | Line 154: | ||
== Parameters == | == Parameters == | ||
- | * //extentToRefresh// | + | * //extentsToRefresh// |
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> |
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
* Description:N/A | * Description:N/A | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>) ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType) ** |
N/A | N/A | ||
Line 137: | Line 176: | ||
* //extentsToRefresh// | * //extentsToRefresh// | ||
* Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTime// | ||
+ | * Type:TimeSpan | ||
+ | * Description:N/A | ||
+ | |||
+ | * //bufferTimeType// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestDrawingBufferTimeType|RequestDrawingBufferTimeType]] | ||
* Description:N/A | * Description:N/A | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan) ** | + | ** {{wiki:PublicMethod.gif|}} GetThreadSafetyLevel() ** |
N/A | N/A | ||
Line 147: | Line 194: | ||
== Return Value == | == Return Value == | ||
- | * Type:Void | + | * Type:[[ThinkGeo.MapSuite.Core.ThreadSafetyLevel|ThreadSafetyLevel]] |
* Description:N/A | * Description:N/A | ||
== Parameters == | == Parameters == | ||
- | * //bufferTime// | + | <div newline></div> |
- | * Type:TimeSpan | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | * Description:N/A | + | |
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.Layer|Layer]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan) ** | + | ** {{wiki:PublicMethod.gif|}} Open() ** |
N/A | N/A | ||
Line 167: | Line 222: | ||
== Parameters == | == Parameters == | ||
- | * //extentToRefresh// | + | <div newline></div> |
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | + | ** {{wiki:PublicMethod.gif|}} Close() ** |
- | * Description:N/A | + | |
- | * //bufferTime// | + | N/A |
- | * Type:TimeSpan | + | == Remarks == |
- | * Description:N/A | + | N/A |
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>,TimeSpan) ** | + | ** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** |
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | <div newline></div> | ||
+ | ** {{wiki:PublicMethod.gif|}} Draw(GeoCanvas,Collection<SimpleCandidate>) ** | ||
N/A | N/A | ||
Line 187: | Line 258: | ||
== Parameters == | == Parameters == | ||
- | * //extentsToRefresh// | + | * //canvas// |
- | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] |
* Description:N/A | * Description:N/A | ||
- | * //bufferTime// | + | * //labelsInAllLayers// |
- | * Type:TimeSpan | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> |
* Description:N/A | * Description:N/A | ||
Line 267: | Line 338: | ||
* Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
* Description:This parameter represents the labels used for collision detection and duplication checking. | * Description:This parameter represents the labels used for collision detection and duplication checking. | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //eventArgs// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | ||
+ | * Description:N/A | ||
+ | |||
+ | <div newline></div> | ||
+ | ** {{wiki:ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | |||
+ | == Return Value == | ||
+ | * Type:Void | ||
+ | * Description:N/A | ||
+ | |||
+ | == Parameters == | ||
+ | * //eventArgs// | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | ||
+ | * Description:N/A | ||
<div newline></div> | <div newline></div> | ||
Line 466: | Line 569: | ||
* //e// | * //e// | ||
* Type:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | * Type:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //eventArgs// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //eventArgs// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | ||
* Description:N/A | * Description:N/A | ||
Line 533: | Line 604: | ||
== Return Value == | == Return Value == | ||
* Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.MapShape|MapShape]]> | * Type:Dictionary<String,[[ThinkGeo.MapSuite.Core.MapShape|MapShape]]> | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} RequestDrawingInterval ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:TimeSpan | ||
** {{wiki:PublicProperty.gif|}} IsOpen ** | ** {{wiki:PublicProperty.gif|}} IsOpen ** | ||
Line 559: | Line 638: | ||
** {{wiki:PublicProperty.gif|}} Name ** | ** {{wiki:PublicProperty.gif|}} Name ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:String | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} Attribution ** | ||
N/A | N/A | ||
Line 582: | Line 669: | ||
* Type:Single | * Type:Single | ||
- | ** {{wiki:PublicProperty.gif|}} IsNegative ** | + | ** {{wiki:PublicProperty.gif|}} BlueTranslation ** |
N/A | N/A | ||
Line 588: | Line 675: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:Boolean | + | * Type:Single |
- | ** {{wiki:PublicProperty.gif|}} IsGrayscale ** | + | ** {{wiki:PublicProperty.gif|}} RedTranslation ** |
N/A | N/A | ||
Line 596: | Line 683: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:Boolean | + | * Type:Single |
- | ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** | + | ** {{wiki:PublicProperty.gif|}} GreenTranslation ** |
N/A | N/A | ||
Line 604: | Line 691: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] | + | * Type:Single |
- | ** {{wiki:PublicProperty.gif|}} Attribution ** | + | ** {{wiki:PublicProperty.gif|}} KeyColors ** |
N/A | N/A | ||
Line 612: | Line 699: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:String | + | * Type:Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]> |
- | ** {{wiki:PublicProperty.gif|}} RequestDrawingInterval ** | + | ** {{wiki:PublicProperty.gif|}} IsNegative ** |
N/A | N/A | ||
Line 620: | Line 707: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:TimeSpan | + | * Type:Boolean |
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} IsGrayscale ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:Boolean | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] | ||
==== Protected Properties ==== | ==== Protected Properties ==== | ||
Line 632: | Line 735: | ||
==== Public Events ==== | ==== Public Events ==== | ||
- | ** {{wiki:PublicEvent.gif|}} DrawingException ** | + | ** {{wiki:PublicEvent.gif|}} RequestedDrawing ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] |
- | ** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** | + | ** {{wiki:PublicEvent.gif|}} RequestingDrawing ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] |
- | ** {{wiki:PublicEvent.gif|}} DrawnException ** | + | ** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] |
- | ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** | + | ** {{wiki:PublicEvent.gif|}} DrawingException ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] |
- | ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** | + | ** {{wiki:PublicEvent.gif|}} DrawnException ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] |
- | ** {{wiki:PublicEvent.gif|}} RequestedDrawing ** | + | ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] |
- | ** {{wiki:PublicEvent.gif|}} RequestingDrawing ** | + | ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** |
N/A | N/A | ||
== Remarks == | == Remarks == | ||
N/A | N/A | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] |