This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
thinkgeo.mapsuite.portablecore.openstreetmaplayer [2015/09/21 08:15] admin |
thinkgeo.mapsuite.portablecore.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 9: | Line 12: | ||
** {{wiki:PublicMethod.gif|}} OpenStreetMapLayer() ** | ** {{wiki:PublicMethod.gif|}} OpenStreetMapLayer() ** | ||
- | The default constructor | + | * //The default constructor// |
== Remarks == | == Remarks == | ||
- | The constructor initilizes the properties. WebProxy is set to null. | + | * //The constructor initilizes the properties. WebProxy is set to null.// |
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} OpenStreetMapLayer(WebProxy) ** | + | ** {{wiki:PublicMethod.gif|}} OpenStreetMapLayer(GeoWebProxy) ** |
- | This is the constructor the for the class. | + | * //This is the constructor the for the class.// |
== Remarks == | == Remarks == | ||
- | This constructor initializes a new layer and assgin a web proxy. | + | * //This constructor initializes a new layer and assgin a web proxy.// |
== Parameters == | == Parameters == | ||
* //webProxy// | * //webProxy// | ||
- | * Type:WebProxy | + | * Type:[[ThinkGeo.MapSuite.Core.GeoWebProxy|GeoWebProxy]] |
* 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|}} RequestDrawing() ** | + | ** {{wiki:PublicMethod.gif|}} GetThreadSafetyLevel() ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Void | + | * Type:[[ThinkGeo.MapSuite.Core.ThreadSafetyLevel|ThreadSafetyLevel]] |
* Description:N/A | * Description:N/A | ||
== Parameters == | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape) ** | + | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Void | + | * Type:[[ThinkGeo.MapSuite.Core.Layer|Layer]] |
* 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|}} RequestDrawing(IEnumerable<RectangleShape>) ** | + | ** {{wiki:PublicMethod.gif|}} Open() ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 66: | Line 65: | ||
== Parameters == | == Parameters == | ||
- | * //extentsToRefresh// | ||
- | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | ||
- | * Description:N/A | ||
- | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan) ** | + | ** {{wiki:PublicMethod.gif|}} Close() ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 82: | Line 77: | ||
== Parameters == | == Parameters == | ||
- | * //bufferTime// | ||
- | * Type:TimeSpan | ||
- | * Description:N/A | ||
- | |||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan,RequestDrawingBufferTimeType) ** | + | ** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Void | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
* 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|}} RequestDrawing(RectangleShape,TimeSpan) ** | + | ** {{wiki:PublicMethod.gif|}} Draw(GeoCanvas,Collection<SimpleCandidate>) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 118: | Line 101: | ||
== Parameters == | == Parameters == | ||
- | * //extentToRefresh// | + | * //canvas// |
- | * Type:[[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 | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType) ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing() ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 138: | Line 121: | ||
== 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(IEnumerable<RectangleShape>,TimeSpan) ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 162: | Line 133: | ||
== Parameters == | == Parameters == | ||
- | * //extentsToRefresh// | + | * //extentToRefresh// |
- | * Type:IEnumerable<[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]> | + | * Type:[[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>,TimeSpan,RequestDrawingBufferTimeType) ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 184: | Line 151: | ||
* //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|}} GetThreadSafetyLevel() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(TimeSpan) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:[[ThinkGeo.MapSuite.Core.ThreadSafetyLevel|ThreadSafetyLevel]] | + | * Type:Void |
* Description:N/A | * Description:N/A | ||
== Parameters == | == Parameters == | ||
- | <div newline></div> | + | * //bufferTime// |
- | ** {{wiki:PublicMethod.gif|}} CloneDeep() ** | + | * Type:TimeSpan |
+ | * 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|}} Open() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(RectangleShape,TimeSpan) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 230: | Line 181: | ||
== Parameters == | == Parameters == | ||
- | <div newline></div> | + | * //extentToRefresh// |
- | ** {{wiki:PublicMethod.gif|}} Close() ** | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
+ | * Description:N/A | ||
- | N/A | + | * //bufferTime// |
- | == Remarks == | + | * Type:TimeSpan |
- | N/A | + | * Description:N/A |
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
<div newline></div> | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} GetBoundingBox() ** | + | ** {{wiki:PublicMethod.gif|}} RequestDrawing(IEnumerable<RectangleShape>,TimeSpan) ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //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 | + | |
- | == Remarks == | + | |
- | N/A | + | |
== Return Value == | == Return Value == | ||
Line 266: | Line 201: | ||
== Parameters == | == Parameters == | ||
- | * //canvas// | + | * //extentsToRefresh// |
- | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | + | * Type:IEnumerable<[[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 | ||
Line 277: | Line 212: | ||
** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 289: | Line 224: | ||
** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 305: | Line 240: | ||
** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 317: | Line 252: | ||
** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 330: | Line 265: | ||
** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
- | This method opens the Layer so that it is initialized and ready to use. | + | * //This method opens the Layer so that it is initialized and ready to use.// |
== Remarks == | == Remarks == | ||
- | This abstract method is called from the concrete public method Open. The open method plays an important role, as it is responsible for initializing the Layer. Most methods on the Layer will throw an exception if the state of the Layer is not opened. When the map draws each layer, the layer will be opened as one of its first steps; then, after it is finished drawing with that layer, it will close it. In this way, we are sure to release all resources used by the Layer. When implementing the abstract method, consider opening the FeatureSource or RasterSource. You will get a chance to close these in the Close method of the Layer. | + | * //This abstract method is called from the concrete public method Open. The open method plays an important role, as it is responsible for initializing the Layer. Most methods on the Layer will throw an exception if the state of the Layer is not opened. When the map draws each layer, the layer will be opened as one of its first steps; then, after it is finished drawing with that layer, it will close it. In this way, we are sure to release all resources used by the Layer. When implementing the abstract method, consider opening the FeatureSource or RasterSource. You will get a chance to close these in the Close method of the Layer.// |
== Return Value == | == Return Value == | ||
Line 342: | Line 277: | ||
** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
- | This method closes the Layer and releases any resources it was using. | + | * //This method closes the Layer and releases any resources it was using.// |
== Remarks == | == Remarks == | ||
- | This abstract method is called from the concrete public method Close. The close method plays an important role in the life cycle of the Layer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed Layer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future. | + | * //This abstract method is called from the concrete public method Close. The close method plays an important role in the life cycle of the Layer. It may be called after drawing to release any memory and other resources that were allocated since the Open method was called. If you override this method, it is recommended that you take the following things into account: This method may be called multiple times, so we suggest you write the method so that that a call to a closed Layer is ignored and does not generate an error. We also suggest that in the Close you free all resources that have been opened. Remember that the object will not be destroyed, but will be re-opened possibly in the near future.// |
== Return Value == | == Return Value == | ||
Line 354: | Line 289: | ||
** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Collection<SimpleCandidate>) ** | ** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Collection<SimpleCandidate>) ** | ||
- | This method draws the Layer. | + | * //This method draws the Layer.// |
== Remarks == | == Remarks == | ||
- | This method is the concrete wrapper for the abstract method DrawCore. 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 that allow the user to specify which field they need; then, in the GetRequiredColumnNamesCore, we read that property and add it to the collection. | + | * //This method is the concrete wrapper for the abstract method DrawCore. 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 that 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 == | == Return Value == | ||
Line 374: | Line 309: | ||
** {{wiki:ProtectedMethod.gif|}} SendWebRequest(WebRequest) ** | ** {{wiki:ProtectedMethod.gif|}} SendWebRequest(WebRequest) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 390: | Line 325: | ||
** {{wiki:ProtectedMethod.gif|}} SendWebRequestCore(WebRequest) ** | ** {{wiki:ProtectedMethod.gif|}} SendWebRequestCore(WebRequest) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 406: | Line 341: | ||
** {{wiki:ProtectedMethod.gif|}} OnSendingWebRequest(SendingWebRequestEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnSendingWebRequest(SendingWebRequestEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 422: | Line 357: | ||
** {{wiki:ProtectedMethod.gif|}} OnSentWebRequest(SentWebRequestEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnSentWebRequest(SentWebRequestEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 433: | Line 368: | ||
* //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 | * Description:N/A | ||
Line 454: | Line 373: | ||
** {{wiki:ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnRequestingDrawing(RequestingDrawingLayerEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 470: | Line 389: | ||
** {{wiki:ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 482: | Line 401: | ||
** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 494: | Line 413: | ||
** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 506: | Line 425: | ||
** {{wiki:ProtectedMethod.gif|}} DrawException(GeoCanvas,Exception) ** | ** {{wiki:ProtectedMethod.gif|}} DrawException(GeoCanvas,Exception) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 526: | Line 445: | ||
** {{wiki:ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,Exception) ** | ** {{wiki:ProtectedMethod.gif|}} DrawExceptionCore(GeoCanvas,Exception) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 546: | Line 465: | ||
** {{wiki:ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionLayerEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawingException(DrawingExceptionLayerEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 562: | Line 481: | ||
** {{wiki:ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionLayerEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawnException(DrawnExceptionLayerEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 578: | Line 497: | ||
** {{wiki:ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas,String) ** | ** {{wiki:ProtectedMethod.gif|}} DrawAttributionCore(GeoCanvas,String) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 598: | Line 517: | ||
** {{wiki:ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionLayerEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawingAttribution(DrawingAttributionLayerEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 614: | Line 533: | ||
** {{wiki:ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionLayerEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawnAttribution(DrawnAttributionLayerEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 630: | Line 549: | ||
** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawingProgressChanged(DrawingProgressChangedEventArgs) ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 641: | Line 560: | ||
* //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 | * Description:N/A | ||
Line 646: | Line 581: | ||
** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 658: | Line 593: | ||
** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
Line 671: | Line 606: | ||
** {{wiki:PublicProperty.gif|}} CachePictureFormat ** | ** {{wiki:PublicProperty.gif|}} CachePictureFormat ** | ||
- | The cache for picture format | + | * //The cache for picture format// |
== Remarks == | == Remarks == | ||
- | get or set a OpenStreetMapLayerPictureFormat object | + | * //get or set a OpenStreetMapLayerPictureFormat object// |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.OpenStreetMapLayerPictureFormat|OpenStreetMapLayerPictureFormat]] | * Type:[[ThinkGeo.MapSuite.Core.OpenStreetMapLayerPictureFormat|OpenStreetMapLayerPictureFormat]] | ||
Line 679: | Line 614: | ||
** {{wiki:PublicProperty.gif|}} TimeoutInSeconds ** | ** {{wiki:PublicProperty.gif|}} TimeoutInSeconds ** | ||
- | Gets or sets a value represents the request timeout from the OpenStreetMap server. | + | * //Gets or sets a value represents the request timeout from the OpenStreetMap server.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Int32 | * Type:Int32 | ||
Line 687: | Line 622: | ||
** {{wiki:PublicProperty.gif|}} TileCache ** | ** {{wiki:PublicProperty.gif|}} TileCache ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== 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 ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | * Type:[[ThinkGeo.MapSuite.Core.BitmapTileCache|BitmapTileCache]] | ||
Line 703: | Line 646: | ||
** {{wiki:PublicProperty.gif|}} WebProxy ** | ** {{wiki:PublicProperty.gif|}} WebProxy ** | ||
- | This property gets or sets the proxy used for requesting a Web Response. | + | * //This property gets or sets the proxy used for requesting a Web Response.// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:WebProxy | + | * Type:[[ThinkGeo.MapSuite.Core.GeoWebProxy|GeoWebProxy]] |
** {{wiki:PublicProperty.gif|}} CustomServerUris ** | ** {{wiki:PublicProperty.gif|}} CustomServerUris ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Collection<Uri> | * Type:Collection<Uri> | ||
Line 719: | Line 662: | ||
** {{wiki:PublicProperty.gif|}} ProjectionFromSphericalMercator ** | ** {{wiki:PublicProperty.gif|}} ProjectionFromSphericalMercator ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | * Type:[[ThinkGeo.MapSuite.Core.Projection|Projection]] | ||
Line 727: | Line 670: | ||
** {{wiki:PublicProperty.gif|}} ZoomlevelSet ** | ** {{wiki:PublicProperty.gif|}} ZoomlevelSet ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== 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 ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 751: | Line 686: | ||
** {{wiki:PublicProperty.gif|}} HasBoundingBox ** | ** {{wiki:PublicProperty.gif|}} HasBoundingBox ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 759: | Line 694: | ||
** {{wiki:PublicProperty.gif|}} DrawingTime ** | ** {{wiki:PublicProperty.gif|}} DrawingTime ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:TimeSpan | * Type:TimeSpan | ||
Line 767: | Line 702: | ||
** {{wiki:PublicProperty.gif|}} Name ** | ** {{wiki:PublicProperty.gif|}} Name ** | ||
- | N/A | + | * //N/A// |
- | == Remarks == | + | |
- | N/A | + | |
- | == Return Value == | + | |
- | * Type:String | + | |
- | + | ||
- | ** {{wiki:PublicProperty.gif|}} Attribution ** | + | |
- | + | ||
- | N/A | + | |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:String | * Type:String | ||
Line 783: | Line 710: | ||
** {{wiki:PublicProperty.gif|}} IsVisible ** | ** {{wiki:PublicProperty.gif|}} IsVisible ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 791: | Line 718: | ||
** {{wiki:PublicProperty.gif|}} Transparency ** | ** {{wiki:PublicProperty.gif|}} Transparency ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Single | * Type:Single | ||
- | ** {{wiki:PublicProperty.gif|}} BlueTranslation ** | + | ** {{wiki:PublicProperty.gif|}} IsNegative ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Single | + | * Type:Boolean |
- | ** {{wiki:PublicProperty.gif|}} RedTranslation ** | + | ** {{wiki:PublicProperty.gif|}} IsGrayscale ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Single | + | * Type:Boolean |
- | ** {{wiki:PublicProperty.gif|}} GreenTranslation ** | + | ** {{wiki:PublicProperty.gif|}} DrawingExceptionMode ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Single | + | * Type:[[ThinkGeo.MapSuite.Core.DrawingExceptionMode|DrawingExceptionMode]] |
- | ** {{wiki:PublicProperty.gif|}} KeyColors ** | + | ** {{wiki:PublicProperty.gif|}} Attribution ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Collection<[[ThinkGeo.MapSuite.Core.GeoColor|GeoColor]]> | + | * Type:String |
- | ** {{wiki:PublicProperty.gif|}} IsNegative ** | + | ** {{wiki:PublicProperty.gif|}} RequestDrawingInterval ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
- | * Type:Boolean | + | * Type:TimeSpan |
- | + | ||
- | ** {{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 ==== | ||
** {{wiki:ProtectedProperty.gif|}} IsOpenCore ** | ** {{wiki:ProtectedProperty.gif|}} IsOpenCore ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
== Return Value == | == Return Value == | ||
* Type:Boolean | * Type:Boolean | ||
Line 864: | Line 775: | ||
==== Public Events ==== | ==== Public Events ==== | ||
** {{wiki:PublicEvent.gif|}} SendingWebRequest ** | ** {{wiki:PublicEvent.gif|}} SendingWebRequest ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
Event Arguments:[[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.SendingWebRequestEventArgs|SendingWebRequestEventArgs]] | ||
** {{wiki:PublicEvent.gif|}} SentWebRequest ** | ** {{wiki:PublicEvent.gif|}} SentWebRequest ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
Event Arguments:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.SentWebRequestEventArgs|SentWebRequestEventArgs]] | ||
- | ** {{wiki:PublicEvent.gif|}} RequestedDrawing ** | + | ** {{wiki:PublicEvent.gif|}} DrawingException ** |
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
- | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | + | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] |
- | + | ||
- | ** {{wiki:PublicEvent.gif|}} RequestingDrawing ** | + | |
- | N/A | + | |
- | == Remarks == | + | |
- | N/A | + | |
- | + | ||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | + | |
** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** | ** {{wiki:PublicEvent.gif|}} DrawingProgressChanged ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingProgressChangedEventArgs|DrawingProgressChangedEventArgs]] | ||
- | |||
- | ** {{wiki:PublicEvent.gif|}} DrawingException ** | ||
- | N/A | ||
- | == Remarks == | ||
- | N/A | ||
- | |||
- | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingExceptionLayerEventArgs|DrawingExceptionLayerEventArgs]] | ||
** {{wiki:PublicEvent.gif|}} DrawnException ** | ** {{wiki:PublicEvent.gif|}} DrawnException ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnExceptionLayerEventArgs|DrawnExceptionLayerEventArgs]] | ||
** {{wiki:PublicEvent.gif|}} DrawingAttribution ** | ** {{wiki:PublicEvent.gif|}} DrawingAttribution ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingAttributionLayerEventArgs|DrawingAttributionLayerEventArgs]] | ||
** {{wiki:PublicEvent.gif|}} DrawnAttribution ** | ** {{wiki:PublicEvent.gif|}} DrawnAttribution ** | ||
- | N/A | + | * //N/A// |
== Remarks == | == Remarks == | ||
- | N/A | + | * //N/A// |
Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawnAttributionLayerEventArgs|DrawnAttributionLayerEventArgs]] | ||
+ | |||
+ | ** {{wiki:PublicEvent.gif|}} RequestedDrawing ** | ||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | ||
+ | |||
+ | ** {{wiki:PublicEvent.gif|}} RequestingDrawing ** | ||
+ | * //N/A// | ||
+ | == Remarks == | ||
+ | * //N/A// | ||
+ | |||
+ | Event Arguments:[[ThinkGeo.MapSuite.Core.RequestingDrawingLayerEventArgs|RequestingDrawingLayerEventArgs]] | ||