This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.core.openstreetmaplayer [2015/09/21 01:08] admin |
thinkgeo.mapsuite.core.openstreetmaplayer [2017/03/16 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== ThinkGeo.MapSuite.Core.OpenStreetMapLayer ====== | ====== ThinkGeo.MapSuite.Core.OpenStreetMapLayer ====== | ||
+ | |||
+ | {{section>upgrade_map_suite_to_10.0}} | ||
+ | |||
This class is use for Open Street Map Layer, and you also can get map from open street map server. | This class is use for Open Street Map Layer, and you also can get map from open street map server. | ||
===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
Line 14: | Line 17: | ||
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} OpenStreetMapLayer(GeoWebProxy) ** | + | ** {{wiki:PublicMethod.gif|}} OpenStreetMapLayer(WebProxy) ** |
This is the constructor the for the class. | This is the constructor the for the class. | ||
Line 21: | Line 24: | ||
== Parameters == | == Parameters == | ||
* //webProxy// | * //webProxy// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoWebProxy|GeoWebProxy]] | + | * Type:WebProxy |
* Description:The web proxy for OpenStreetMap Server | * Description:The web proxy for OpenStreetMap Server | ||
Line 27: | Line 30: | ||
==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
==== Public Methods ==== | ==== Public Methods ==== | ||
- | ** {{wiki:PublicMethod.gif|}} GetThreadSafetyLevel() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing() ** |
N/A | N/A | ||
Line 34: | Line 37: | ||
== 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 46: | Line 49: | ||
== 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 62: | Line 69: | ||
== 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 74: | Line 85: | ||
== 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 82: | Line 97: | ||
== 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 98: | Line 121: | ||
== 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 118: | Line 141: | ||
== 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 130: | Line 165: | ||
== 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 148: | Line 187: | ||
* //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 158: | Line 205: | ||
== 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 178: | Line 233: | ||
== 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 198: | Line 269: | ||
== 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 365: | Line 436: | ||
* //e// | * //e// | ||
* Type:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | * Type:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | ||
+ | * 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 541: | Line 644: | ||
* //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 624: | Line 695: | ||
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | * Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | ||
- | |||
- | ** {{wiki:PublicProperty.gif|}} CacheDirectory ** | ||
- | |||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | == Return Value == | ||
- | * Type:String | ||
** {{wiki:PublicProperty.gif|}} ProjectedTileCache ** | ** {{wiki:PublicProperty.gif|}} ProjectedTileCache ** | ||
Line 647: | Line 710: | ||
N/A | N/A | ||
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.GeoWebProxy|GeoWebProxy]] | + | * Type:WebProxy |
** {{wiki:PublicProperty.gif|}} CustomServerUris ** | ** {{wiki:PublicProperty.gif|}} CustomServerUris ** | ||
Line 672: | Line 735: | ||
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | ||
+ | |||
+ | ** {{wiki:PublicProperty.gif|}} RequestDrawingInterval ** | ||
+ | |||
+ | N/A | ||
+ | == Remarks == | ||
+ | N/A | ||
+ | == Return Value == | ||
+ | * Type:TimeSpan | ||
** {{wiki:PublicProperty.gif|}} IsOpen ** | ** {{wiki:PublicProperty.gif|}} IsOpen ** | ||
Line 698: | Line 769: | ||
** {{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 721: | Line 800: | ||
* Type:Single | * Type:Single | ||
- | ** {{wiki:PublicProperty.gif|}} IsNegative ** | + | ** {{wiki:PublicProperty.gif|}} BlueTranslation ** |
N/A | N/A | ||
Line 727: | Line 806: | ||
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 735: | Line 814: | ||
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 743: | Line 822: | ||
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 751: | Line 830: | ||
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 759: | Line 838: | ||
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 785: | Line 880: | ||
Event Arguments:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | ||
- | ** {{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]] |