This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    thinkgeo.mapsuite.portablecore.featurelayer [2015/09/21 08:07] admin  | 
                
                    thinkgeo.mapsuite.portablecore.featurelayer [2017/03/16 21:59] (current) | 
            ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.Core.FeatureLayer ====== | ====== ThinkGeo.MapSuite.Core.FeatureLayer ====== | ||
| + | |||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| + | |||
| This class represents a layer that is comprised of feature data. | This class represents a layer that is comprised of feature data. | ||
| ===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
| Line 6: | Line 9: | ||
| ***ThinkGeo.MapSuite.Core.FeatureLayer** | ***ThinkGeo.MapSuite.Core.FeatureLayer** | ||
| *[[ThinkGeo.MapSuite.Core.WkbFileFeatureLayer]] | *[[ThinkGeo.MapSuite.Core.WkbFileFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.BoundarySolutionsParcelFeatureLayer]] | + | *[[ThinkGeo.MapSuite.Core.TabFeatureLayer]] | 
| + | *[[ThinkGeo.MapSuite.Core.TinyGeoFeatureLayer]] | ||
| *[[ThinkGeo.MapSuite.Core.GpxFeatureLayer]] | *[[ThinkGeo.MapSuite.Core.GpxFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.KmlFeatureLayer]] | + | *[[ThinkGeo.MapSuite.Core.GridFeatureLayer]] | 
| - | *[[ThinkGeo.MapSuite.Core.S57FeatureLayer]] | + | *[[ThinkGeo.MapSuite.Core.InMemoryFeatureLayer]] | 
| - | *[[ThinkGeo.MapSuite.Core.NoaaWeatherWarningsFeatureLayer]] | + | |
| - | *[[ThinkGeo.MapSuite.Core.NoaaWeatherStationFeatureLayer]] | + | |
| - | *[[ThinkGeo.MapSuite.Core.ShapeFileFeatureLayer]] | + | |
| - | *[[ThinkGeo.MapSuite.Core.CadFeatureLayer]] | + | |
| - | *[[ThinkGeo.MapSuite.Core.OracleFeatureLayer]] | + | |
| - | *[[ThinkGeo.MapSuite.Core.FileGeoDatabaseFeatureLayer]] | + | |
| - | *[[ThinkGeo.MapSuite.Core.TinyGeoFeatureLayer]] | + | |
| *[[ThinkGeo.MapSuite.Core.InMemoryGridFeatureLayer]] | *[[ThinkGeo.MapSuite.Core.InMemoryGridFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.TabFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.GridFeatureLayer]] | ||
| *[[ThinkGeo.MapSuite.Core.MultipleFeatureLayer]] | *[[ThinkGeo.MapSuite.Core.MultipleFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.WfsFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.MsSql2008FeatureLayer]] | ||
| *[[ThinkGeo.MapSuite.Core.MultipleShapeFileFeatureLayer]] | *[[ThinkGeo.MapSuite.Core.MultipleShapeFileFeatureLayer]] | ||
| - | *[[ThinkGeo.MapSuite.Core.InMemoryFeatureLayer]] | + | *[[ThinkGeo.MapSuite.Core.ShapeFileFeatureLayer]] | 
| ===== Members Summary ===== | ===== Members Summary ===== | ||
| ==== Public Constructors ==== | ==== Public Constructors ==== | ||
| Line 30: | Line 23: | ||
| ** {{wiki:ProtectedMethod.gif|}} FeatureLayer() ** | ** {{wiki:ProtectedMethod.gif|}} FeatureLayer() ** | ||
| - | This is a constructor for this class. | + | * //This is a constructor for this class.// | 
| == Remarks == | == Remarks == | ||
| - | This is a constructor for this class. | + | * //This is a constructor for this class.// | 
| == Parameters == | == Parameters == | ||
| <div newline></div> | <div newline></div> | ||
| ==== 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 75: | Line 64: | ||
| == 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 91: | Line 76: | ||
| == 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 127: | Line 100: | ||
| == 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 147: | Line 120: | ||
| == 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 171: | Line 132: | ||
| == 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 193: | Line 150: | ||
| * //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 239: | Line 180: | ||
| == 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 275: | Line 200: | ||
| == 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 286: | Line 211: | ||
| ** {{wiki:PublicMethod.gif|}} ToString() ** | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 298: | Line 223: | ||
| ** {{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 314: | Line 239: | ||
| ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 326: | Line 251: | ||
| ** {{wiki:PublicMethod.gif|}} GetType() ** | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 337: | Line 262: | ||
| <div newline></div> | <div newline></div> | ||
| ==== Protected Methods ==== | ==== Protected Methods ==== | ||
| - | ** {{wiki:ProtectedMethod.gif|}} 1BU=(IEnumerable<String>) ** | ||
| - | |||
| - | N/A | ||
| - | == Remarks == | ||
| - | N/A | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Boolean | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //returningColumnNames// | ||
| - | * Type:IEnumerable<String> | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} 1xU=(GeoCanvas,Dictionary<String,Collection<Feature>>,Collection<SimpleCandidate>,ZoomLevel,RectangleShape) ** | ||
| - | |||
| - | N/A | ||
| - | == Remarks == | ||
| - | N/A | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Void | ||
| - | * Description:N/A | ||
| - | |||
| - | == Parameters == | ||
| - | * //canvas// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //featuresForFilters// | ||
| - | * Type:Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //labelsInAllLayers// | ||
| - | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //currentZoomLevel// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //marginWorldExtent// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| - | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| ** {{wiki:ProtectedMethod.gif|}} OnDrawingFeatures(DrawingFeaturesEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawingFeatures(DrawingFeaturesEventArgs) ** | ||
| - | This method raises the DrawingFeatures event. | + | * //This method raises the DrawingFeatures event.// | 
| == Remarks == | == Remarks == | ||
| - | You can call this method from a derived class to enable it to raise the event. This may be useful if you plan to extend the FeatureLayer and you need access to the event. This event is meant to allow you to add or remove the features to be drawn. | + | * //You can call this method from a derived class to enable it to raise the event. This may be useful if you plan to extend the FeatureLayer and you need access to the event. This event is meant to allow you to add or remove the features to be drawn.// | 
| == Return Value == | == Return Value == | ||
| Line 403: | Line 280: | ||
| ** {{wiki:ProtectedMethod.gif|}} OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) ** | ** {{wiki:ProtectedMethod.gif|}} OnDrawingWrappingFeatures(DrawingWrappingFeaturesFeatureLayerEventArgs) ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 415: | Line 292: | ||
| * Type:[[ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | * Type:[[ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | ||
| * Description:N/A | * Description:N/A | ||
| - | |||
| - | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Collection<SimpleCandidate>) ** | ||
| - | |||
| - | This method will draw the FeatureLayer source based on the parameters provided. | ||
| - | == Remarks == | ||
| - | The DrawCore will be called when the layer is being drawn. It will check if the InternalFeatures are within the extent and whether it is within a defined zoom level. If these parameters are met, then it will apply the styles of the proper zoom level to the InternalFeatures for drawing. Lastly, it will draw InternalFeatures on the GeoImage or native image passed in to the method. | ||
| - | |||
| - | == Return Value == | ||
| - | * Type:Void | ||
| - | * Description:None | ||
| - | |||
| - | == Parameters == | ||
| - | * //canvas// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
| - | * Description:This parameter is the GeoCanvas used to Draw the layer. | ||
| - | |||
| - | * //labelsInAllLayers// | ||
| - | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
| - | * Description:This parameter is not used for ImageLayers. | ||
| <div newline></div> | <div newline></div> | ||
| ** {{wiki:ProtectedMethod.gif|}} SetupTools() ** | ** {{wiki:ProtectedMethod.gif|}} SetupTools() ** | ||
| - | This method sets up the EditTools and QueryTools objects. | + | * //This method sets up the EditTools and QueryTools objects.// | 
| == Remarks == | == Remarks == | ||
| - | This method is the concrete wrapper for the abstract method SetupToolsCore. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework. | + | * //This method is the concrete wrapper for the abstract method SetupToolsCore. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.// | 
| == Return Value == | == Return Value == | ||
| Line 451: | Line 308: | ||
| ** {{wiki:ProtectedMethod.gif|}} SetupToolsCore() ** | ** {{wiki:ProtectedMethod.gif|}} SetupToolsCore() ** | ||
| - | This method sets up the EditTools and QueryTools objects. | + | * //This method sets up the EditTools and QueryTools objects.// | 
| == Remarks == | == Remarks == | ||
| - | This method is the concrete wrapper for the abstract method SetupTools. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want. | + | * //This method is the concrete wrapper for the abstract method SetupTools. The SetupTools method allows you to create the QueryTool, EditTools and other tools you may need on your object. We created this method so that if you want to extend one of the tool classes, you can override the SetupToolsCore and create any class you want.// | 
| == Return Value == | == Return Value == | ||
| Line 463: | Line 320: | ||
| ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ** {{wiki:ProtectedMethod.gif|}} OpenCore() ** | ||
| - | This method opens the FeatureLayer so that it is initialized and ready to use. | + | * //This method opens the FeatureLayer 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 FeatureLayer. Most methods on the FeatureLayer will throw an exception if the state of the FeatureLayer is not opened. When the map draws each FeatureLayer, it will open the layer as one of its first steps, then after it is finished drawing with that FeatureLayer it will close it. In this way we are sure to release all resources used by the FeatureLayer. | + | * //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 FeatureLayer. Most methods on the FeatureLayer will throw an exception if the state of the FeatureLayer is not opened. When the map draws each FeatureLayer, it will open the layer as one of its first steps, then after it is finished drawing with that FeatureLayer it will close it. In this way we are sure to release all resources used by the FeatureLayer.// | 
| == Return Value == | == Return Value == | ||
| Line 475: | Line 332: | ||
| ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloseCore() ** | ||
| - | This method closes the FeatureSource and releases any resources it was using. | + | * //This method closes the FeatureSource and releases any resources it was using.// | 
| == Remarks == | == Remarks == | ||
| - | This protected virtual method is called from the concrete public method Close. The close method plays an important role in the life cycle of the FeatureLayer. 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 FeatureLayer 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 protected virtual method is called from the concrete public method Close. The close method plays an important role in the life cycle of the FeatureLayer. 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 FeatureLayer 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 487: | Line 344: | ||
| ** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetBoundingBoxCore() ** | ||
| - | This method returns the bounding box of the FeatureLayer. | + | * //This method returns the bounding box of the FeatureLayer.// | 
| == Remarks == | == Remarks == | ||
| - | This method is called from the concrete public method GetBoundingBox. It returns the bounding box of the FeatureLayer. | + | * //This method is called from the concrete public method GetBoundingBox. It returns the bounding box of the FeatureLayer.// | 
| == Return Value == | == Return Value == | ||
| Line 497: | Line 354: | ||
| == Parameters == | == Parameters == | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** | + | ** {{wiki:ProtectedMethod.gif|}} DrawCore(GeoCanvas,Collection<SimpleCandidate>) ** | 
| - | N/A | + | * //This method will draw the FeatureLayer source based on the parameters provided.// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //The DrawCore will be called when the layer is being drawn. It will check if the InternalFeatures are within the extent and whether it is within a defined zoom level. If these parameters are met, then it will apply the styles of the proper zoom level to the InternalFeatures for drawing. Lastly, it will draw InternalFeatures on the GeoImage or native image passed in to the method.// | 
| == Return Value == | == Return Value == | ||
| * Type:Void | * Type:Void | ||
| - | * Description:N/A | + | * Description:None | 
| == Parameters == | == Parameters == | ||
| - | * //eventArgs// | + | * //canvas// | 
| - | * Type:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | + | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | 
| - | * Description:N/A | + | * Description:This parameter is the GeoCanvas used to Draw the layer. | 
| + | |||
| + | * //labelsInAllLayers// | ||
| + | * Type:Collection<[[ThinkGeo.MapSuite.Core.SimpleCandidate|SimpleCandidate]]> | ||
| + | * Description:This parameter is not used for ImageLayers. | ||
| <div newline></div> | <div newline></div> | ||
| ** {{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 531: | Line 392: | ||
| ** {{wiki:ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** | ** {{wiki:ProtectedMethod.gif|}} GetThreadSafetyLevelCore() ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 543: | Line 404: | ||
| ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ** {{wiki:ProtectedMethod.gif|}} CloneDeepCore() ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 555: | Line 416: | ||
| ** {{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 575: | Line 436: | ||
| ** {{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 595: | Line 456: | ||
| ** {{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 611: | Line 472: | ||
| ** {{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 627: | Line 488: | ||
| ** {{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 647: | Line 508: | ||
| ** {{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 663: | Line 524: | ||
| ** {{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 679: | Line 540: | ||
| ** {{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 693: | Line 554: | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | + | ** {{wiki:ProtectedMethod.gif|}} OnRequestedDrawing(RequestedDrawingLayerEventArgs) ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 704: | Line 565: | ||
| == Parameters == | == Parameters == | ||
| - | <div newline></div> | + | * //eventArgs// | 
| - | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | + | * Type:[[ThinkGeo.MapSuite.Core.RequestedDrawingLayerEventArgs|RequestedDrawingLayerEventArgs]] | 
| - | + | ||
| - | N/A | + | |
| - | == Remarks == | + | |
| - | N/A | + | |
| - | + | ||
| - | == Return Value == | + | |
| - | * Type:Object | + | |
| - | * Description:N/A | + | |
| - | + | ||
| - | == Parameters == | + | |
| - | <div newline></div> | + | |
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} 1RU=(ZoomLevel) ** | + | |
| - | + | ||
| - | N/A | + | |
| - | == Remarks == | + | |
| - | N/A | + | |
| - | + | ||
| - | == Return Value == | + | |
| - | * Type:Collection<String> | + | |
| - | * Description:N/A | + | |
| - | + | ||
| - | == Parameters == | + | |
| - | * //drawingZoomLevel// | + | |
| - | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | + | |
| * Description:N/A | * Description:N/A | ||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} 1hU=(GeoCanvas,FeatureSource,IEnumerable<String>,IEnumerable<String>,RectangleShape,ZoomLevel) ** | + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| - | * Type:Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>> | + | * Type:Void | 
| * Description:N/A | * Description:N/A | ||
| == Parameters == | == Parameters == | ||
| - | * //canvas// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.GeoCanvas|GeoCanvas]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //featureSource// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.FeatureSource|FeatureSource]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //styleFilters// | ||
| - | * Type:IEnumerable<String> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //columnNames// | ||
| - | * Type:IEnumerable<String> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //marginWorldExtent// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //currentZoomLevel// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
| - | * Description:N/A | ||
| - | |||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} 2BU=(FeatureSource,IEnumerable<String>,IEnumerable<String>,IEnumerable<String>,RectangleShape,ZoomLevel) ** | + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| - | * Type:Dictionary<String,Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]>> | + | * Type:Object | 
| * Description:N/A | * Description:N/A | ||
| == Parameters == | == Parameters == | ||
| - | * //featureSource// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.FeatureSource|FeatureSource]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //featureIdsForDrawing// | ||
| - | * Type:IEnumerable<String> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //styleFilters// | ||
| - | * Type:IEnumerable<String> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //columnNames// | ||
| - | * Type:IEnumerable<String> | ||
| - | * Description:N/A | ||
| - | |||
| - | * //marginWorldExtent// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| - | * Description:N/A | ||
| - | |||
| - | * //currentZoomLevel// | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevel|ZoomLevel]] | ||
| - | * Description:N/A | ||
| - | |||
| <div newline></div> | <div newline></div> | ||
| - | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} 2xU=(RectangleShape,Single,Single,Single) ** | + | ** {{wiki:ProtectedMethod.gif|}}{{wiki:Static.gif|}} ApplyDrawingMargin(RectangleShape,Single,Single,Single) ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| Line 836: | Line 625: | ||
| ** {{wiki:PublicProperty.gif|}} WrappingExtent ** | ** {{wiki:PublicProperty.gif|}} WrappingExtent ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| Line 844: | Line 633: | ||
| ** {{wiki:PublicProperty.gif|}} WrappingMode ** | ** {{wiki:PublicProperty.gif|}} WrappingMode ** | ||
| - | Thie property gets or sets whether allow wrap date line. | + | * //Thie property gets or sets whether allow wrap date line.// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.WrappingMode|WrappingMode]] | * Type:[[ThinkGeo.MapSuite.Core.WrappingMode|WrappingMode]] | ||
| Line 852: | Line 641: | ||
| ** {{wiki:PublicProperty.gif|}} EditTools ** | ** {{wiki:PublicProperty.gif|}} EditTools ** | ||
| - | This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer. | + | * //This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer.// | 
| == Remarks == | == Remarks == | ||
| - | The EditTools are supplied as an easily accessible wrapper for the editing methods of the FeatureSource. | + | * //The EditTools are supplied as an easily accessible wrapper for the editing methods of the FeatureSource.// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.EditTools|EditTools]] | * Type:[[ThinkGeo.MapSuite.Core.EditTools|EditTools]] | ||
| Line 860: | Line 649: | ||
| ** {{wiki:PublicProperty.gif|}} FeatureIdsToExclude ** | ** {{wiki:PublicProperty.gif|}} FeatureIdsToExclude ** | ||
| - | A collection of strings representing record id of features not to get in the Layer. | + | * //A collection of strings representing record id of features not to get in the Layer.// | 
| == Remarks == | == Remarks == | ||
| - | This string collection is a handy place to specify what records not to get from the source. Suppose you have a shape file of roads and you want to hide the roads within a particular rectangle, simply execute GetFeaturesInsideBoundingBox() and add the id of the return features to the collection and forget about them. Since you can set this by Layer it makes is easy to determine what to and what not to. | + | * //This string collection is a handy place to specify what records not to get from the source. Suppose you have a shape file of roads and you want to hide the roads within a particular rectangle, simply execute GetFeaturesInsideBoundingBox() and add the id of the return features to the collection and forget about them. Since you can set this by Layer it makes is easy to determine what to and what not to.// | 
| == Return Value == | == Return Value == | ||
| * Type:Collection<String> | * Type:Collection<String> | ||
| Line 868: | Line 657: | ||
| ** {{wiki:PublicProperty.gif|}} QueryTools ** | ** {{wiki:PublicProperty.gif|}} QueryTools ** | ||
| - | This property gets the QueryTools that allow you to easily query Features from the Feature Layer. | + | * //This property gets the QueryTools that allow you to easily query Features from the Feature Layer.// | 
| == Remarks == | == Remarks == | ||
| - | This property gets the QueryTools that allow you to easily query Features from the Feature Layer. The QueryTools are supplied as an easily accessible wrapper for the query methods of the FeatureSource. | + | * //This property gets the QueryTools that allow you to easily query Features from the Feature Layer. The QueryTools are supplied as an easily accessible wrapper for the query methods of the FeatureSource.// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.QueryTools|QueryTools]] | * Type:[[ThinkGeo.MapSuite.Core.QueryTools|QueryTools]] | ||
| Line 876: | Line 665: | ||
| ** {{wiki:PublicProperty.gif|}} MaxRecordsToDraw ** | ** {{wiki:PublicProperty.gif|}} MaxRecordsToDraw ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:Int32 | * Type:Int32 | ||
| + | |||
| + | ** {{wiki:PublicProperty.gif|}} DrawingMarginInPixel ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | == Return Value == | ||
| + | * Type:Single | ||
| ** {{wiki:PublicProperty.gif|}} FeatureSource ** | ** {{wiki:PublicProperty.gif|}} FeatureSource ** | ||
| - | This property gets the FeatureSource for the FeatureLayer. | + | * //This property gets the FeatureSource for the FeatureLayer.// | 
| == Remarks == | == Remarks == | ||
| - | The FeatureSource is the provider of data to the FeatureLayer. There are different FeatureSource classes to match the various ways that feature data is stored. It is important that, when you inherit from the FeatureLayer, in the constructor you set the FeatureSource you want to use. | + | * //The FeatureSource is the provider of data to the FeatureLayer. There are different FeatureSource classes to match the various ways that feature data is stored. It is important that, when you inherit from the FeatureLayer, in the constructor you set the FeatureSource you want to use.// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.FeatureSource|FeatureSource]] | * Type:[[ThinkGeo.MapSuite.Core.FeatureSource|FeatureSource]] | ||
| Line 892: | Line 689: | ||
| ** {{wiki:PublicProperty.gif|}} DrawingQuality ** | ** {{wiki:PublicProperty.gif|}} DrawingQuality ** | ||
| - | This property gets and sets the general drawing quality for the FeatureLayer's canvas. | + | * //This property gets and sets the general drawing quality for the FeatureLayer's canvas.// | 
| == Remarks == | == Remarks == | ||
| - | The DrawingQuality enumeration allows you to control, in a macro sense, the drawing quality that will be used in the GeoCanvas. Each GeoCanvas, which is responsible for drawing of the features, may have its own specialized drawing quality properties. What the DrawingQuality enumeration does is define some general guidelines for each GeoCanvas. For example, if you set the DrawingQuality to HighSpeed, then inside of the GdiPlusGeoCanvas there is a profile for HighSpeed. This profile sets specific properties, such as the smoothing mode and composing drawing mode of the GdiPlusGeoCanvas. As each GeoCanvas may have different drawing quality properties, this offers a general way to control drawing quality and speed. If you need complete control over how a specific GeoCanvas will draw, then you can set the DrawingQuality to Custom. This will tell the specific GeoCanvas to use the properties on its own object instead of one of the pre-defined profiles. If one of the profiles -- such as HighSpeed or HighQuality -- is set, then the specific GeoCanvas ignores its own properties for drawing quality. | + | * //The DrawingQuality enumeration allows you to control, in a macro sense, the drawing quality that will be used in the GeoCanvas. Each GeoCanvas, which is responsible for drawing of the features, may have its own specialized drawing quality properties. What the DrawingQuality enumeration does is define some general guidelines for each GeoCanvas. For example, if you set the DrawingQuality to HighSpeed, then inside of the GdiPlusGeoCanvas there is a profile for HighSpeed. This profile sets specific properties, such as the smoothing mode and composing drawing mode of the GdiPlusGeoCanvas. As each GeoCanvas may have different drawing quality properties, this offers a general way to control drawing quality and speed. If you need complete control over how a specific GeoCanvas will draw, then you can set the DrawingQuality to Custom. This will tell the specific GeoCanvas to use the properties on its own object instead of one of the pre-defined profiles. If one of the profiles -- such as HighSpeed or HighQuality -- is set, then the specific GeoCanvas ignores its own properties for drawing quality.// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] | * Type:[[ThinkGeo.MapSuite.Core.DrawingQuality|DrawingQuality]] | ||
| Line 900: | Line 697: | ||
| ** {{wiki:PublicProperty.gif|}} ZoomLevelSet ** | ** {{wiki:PublicProperty.gif|}} ZoomLevelSet ** | ||
| - | This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer. | + | * //This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer.// | 
| == Remarks == | == Remarks == | ||
| - | The ZoomLevelSet is a class that contains all of the ZoomLevels for the FeatureLayer. Each ZoomLevel contains the styles that are used to determine how to draw the InternalFeatures. | + | * //The ZoomLevelSet is a class that contains all of the ZoomLevels for the FeatureLayer. Each ZoomLevel contains the styles that are used to determine how to draw the InternalFeatures.// | 
| == Return Value == | == Return Value == | ||
| * Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | * Type:[[ThinkGeo.MapSuite.Core.ZoomLevelSet|ZoomLevelSet]] | ||
| Line 908: | Line 705: | ||
| ** {{wiki:PublicProperty.gif|}} DrawingMarginPercentage ** | ** {{wiki:PublicProperty.gif|}} DrawingMarginPercentage ** | ||
| - | This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct. | + | * //This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct.// | 
| == Remarks == | == Remarks == | ||
| - | This extra margin that we draw exists so that labels match up if they are partially cut off. | + | * //This extra margin that we draw exists so that labels match up if they are partially cut off.// | 
| == Return Value == | == Return Value == | ||
| * Type:Double | * Type:Double | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} DrawingMarginInPixel ** | ||
| - | |||
| - | N/A | ||
| - | == Remarks == | ||
| - | N/A | ||
| - | == Return Value == | ||
| - | * Type:Single | ||
| - | |||
| - | ** {{wiki:PublicProperty.gif|}} GeometryValidationMode ** | ||
| - | |||
| - | N/A | ||
| - | == Remarks == | ||
| - | N/A | ||
| - | == Return Value == | ||
| - | * Type:[[ThinkGeo.MapSuite.Core.GeometryValidationMode|GeometryValidationMode]] | ||
| - | |||
| - | ** {{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 948: | Line 721: | ||
| ** {{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 956: | Line 729: | ||
| ** {{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 964: | Line 737: | ||
| ** {{wiki:PublicProperty.gif|}} Name ** | ** {{wiki:PublicProperty.gif|}} Name ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| - | == Return Value == | + | |
| - | * Type:String | + | |
| - | + | ||
| - | ** {{wiki:PublicProperty.gif|}} Attribution ** | + | |
| - | + | ||
| - | N/A | + | |
| - | == Remarks == | + | |
| - | N/A | + | |
| == Return Value == | == Return Value == | ||
| * Type:String | * Type:String | ||
| Line 980: | Line 745: | ||
| ** {{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 988: | Line 753: | ||
| ** {{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|}} yhU= ** | + | ** {{wiki:ProtectedProperty.gif|}} FetchedCount ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:Int64 | * Type:Int64 | ||
| - | ** {{wiki:ProtectedProperty.gif|}} zRU= ** | + | ** {{wiki:ProtectedProperty.gif|}} FetchedBytes ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:Int64 | * Type:Int64 | ||
| - | ** {{wiki:ProtectedProperty.gif|}} 0BU= ** | + | ** {{wiki:ProtectedProperty.gif|}} StyleTime ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:TimeSpan | * Type:TimeSpan | ||
| - | ** {{wiki:ProtectedProperty.gif|}} 0xU= ** | + | ** {{wiki:ProtectedProperty.gif|}} FetchTime ** | 
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| == Return Value == | == Return Value == | ||
| * Type:TimeSpan | * Type:TimeSpan | ||
| Line 1085: | Line 834: | ||
| ** {{wiki:ProtectedProperty.gif|}} IsOpenCore ** | ** {{wiki:ProtectedProperty.gif|}} IsOpenCore ** | ||
| - | This property returns true if the FeatureLayer is open and false if it is not. | + | * //This property returns true if the FeatureLayer is open and false if it is not.// | 
| == Remarks == | == Remarks == | ||
| - | Various methods on the FeatureLayer require that it be in an open state. If one of those methods is called when the state is not open, then the method will throw an exception. To enter the open state, you must call the FeatureLayer Open method. The method will raise an exception if the current FeatureLayer is already open. | + | * //Various methods on the FeatureLayer require that it be in an open state. If one of those methods is called when the state is not open, then the method will throw an exception. To enter the open state, you must call the FeatureLayer Open method. The method will raise an exception if the current FeatureLayer is already open.// | 
| == Return Value == | == Return Value == | ||
| * Type:Boolean | * Type:Boolean | ||
| Line 1093: | Line 842: | ||
| ==== Public Events ==== | ==== Public Events ==== | ||
| ** {{wiki:PublicEvent.gif|}} DrawingFeatures ** | ** {{wiki:PublicEvent.gif|}} DrawingFeatures ** | ||
| - | This event is raised when features are about to be drawn in the layer. | + | * //This event is raised when features are about to be drawn in the layer.// | 
| == Remarks == | == Remarks == | ||
| - | This event is raised when features are about to be drawn in the layer. In the event arguments, there is a collection of features to be drawn. You can easily add or remove items from this collection so that extra items will draw or not draw. | + | * //This event is raised when features are about to be drawn in the layer. In the event arguments, there is a collection of features to be drawn. You can easily add or remove items from this collection so that extra items will draw or not draw.// | 
| Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingFeaturesEventArgs|DrawingFeaturesEventArgs]] | ||
| ** {{wiki:PublicEvent.gif|}} DrawingWrappingFeatures ** | ** {{wiki:PublicEvent.gif|}} DrawingWrappingFeatures ** | ||
| - | N/A | + | * //N/A// | 
| == Remarks == | == Remarks == | ||
| - | N/A | + | * //N/A// | 
| Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | Event Arguments:[[ThinkGeo.MapSuite.Core.DrawingWrappingFeaturesFeatureLayerEventArgs|DrawingWrappingFeaturesFeatureLayerEventArgs]] | ||
| - | ** {{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]] | ||