Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class uses the grid file provided.
*System.Object ThinkGeo.MapSuite.PortableCore.Layer *ThinkGeo.MapSuite.PortableCore.FeatureLayer ThinkGeo.MapSuite.PortableCore.GridFeatureLayer
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | This is the default constructor for the class. | ||
![]() | String | This is a constructor for the class. |
Name | Parameters | DeclaringType | Summary |
---|
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Layer | Create a copy of Layer using the deep clone process. | |
![]() | Layer | This method closes the Layer and releases any resources it was using. | |
![]() | GeoCanvas, Collection<SimpleCandidate> | Layer | This method draws the Layer. |
![]() | Object | Object | |
![]() ![]() | GridDefinition, GridInterpolationModel, Stream | ||
![]() | |||
![]() ![]() | GridDefinition, GridInterpolationModel | ||
![]() | Layer | This method returns the bounding box of the Layer. | |
![]() | Object | ||
![]() | Object | ||
![]() | Layer | This method opens the Layer so that it is initialized and ready to use. | |
![]() | IEnumerable<RectangleShape>, TimeSpan | Layer | |
![]() | IEnumerable<RectangleShape> | Layer | |
![]() | RectangleShape | Layer | |
![]() | Layer | ||
![]() | RectangleShape, TimeSpan | Layer | |
![]() | TimeSpan | Layer | |
![]() | Object |
Name | Parameters | DeclaringType | Summary |
---|---|---|---|
![]() | Layer | Create a copy of Layer using the deep clone process. The default implemenation uses serialization. | |
![]() | Layer(overriden) | ||
![]() | GeoCanvas, String | Layer | |
![]() | GeoCanvas, Collection<SimpleCandidate> | Layer(overriden) | |
![]() | GeoCanvas, Exception | Layer | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. |
![]() | GeoCanvas, Exception | Layer | This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException. |
![]() | Object | ||
![]() | Layer(overriden) | This method returns the bounding box of the FeatureLayer. | |
![]() | Object | ||
![]() | DrawingAttributionLayerEventArgs | Layer | |
![]() | DrawingExceptionLayerEventArgs | Layer | |
![]() | DrawingFeaturesEventArgs | FeatureLayer | This method raises the DrawingFeatures event. |
![]() | DrawingProgressChangedEventArgs | Layer | |
![]() | DrawingWrappingFeaturesFeatureLayerEventArgs | FeatureLayer | |
![]() | DrawnAttributionLayerEventArgs | Layer | |
![]() | DrawnExceptionLayerEventArgs | Layer | |
![]() | RequestedDrawingLayerEventArgs | Layer | |
![]() | RequestingDrawingLayerEventArgs | Layer | |
![]() | Layer(overriden) | ||
![]() | FeatureLayer | This method sets up the EditTools and QueryTools objects. | |
![]() | FeatureLayer | This method sets up the EditTools and QueryTools objects. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | String | Layer | |
![]() | Double | Gets the cell size from the grid. | |
![]() | String | ||
![]() | DrawingExceptionMode | Layer | Gets or sets the DrawExcpetionMode when exception happens. |
![]() | Double | FeatureLayer | This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct. |
![]() | DrawingQuality | FeatureLayer | This property gets and sets the general drawing quality for the FeatureLayer's canvas. |
![]() | TimeSpan | Layer | This property gets the last drawing time for the layer. |
![]() | EditTools | FeatureLayer | This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer. |
![]() | Collection<String> | FeatureLayer | A collection of strings representing record id of features not to get in the Layer. |
![]() | FeatureSource | FeatureLayer | This property gets the FeatureSource for the FeatureLayer. |
![]() | Boolean | Layer(overriden) | This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In GridFeatureLayer, we override this API and mark it as true. |
![]() | Boolean | Layer | This property gets and sets if the image should be converted to grayscale. |
![]() | Boolean | Layer | This property gets and sets whether the image should be converted to negative (inverse colors). |
![]() | Boolean | Layer | This property returns true if the Layer is open and false if it is not. |
![]() | Boolean | Layer | This property gets and set the visible state of the layer. |
![]() | Int32 | FeatureLayer | |
![]() | String | Layer | This property gets and sets the name for the layer. |
![]() | Double | Gets the NoDataValue from the grid. | |
![]() | Int32 | Gets the column number from the grid. | |
![]() | Int32 | Gets the row number from the grid. | |
![]() | String | This property gets and sets the path and filename to the grid file you want to use. | |
![]() | QueryTools | FeatureLayer | This property gets the QueryTools that allow you to easily query Features from the Feature Layer. |
![]() | TimeSpan | Layer | |
![]() | Single | Layer | This property gets and sets the amount of transparency to apply to the image. |
![]() | RectangleShape | FeatureLayer | |
![]() | WrappingMode | FeatureLayer | Thie property gets or sets whether allow wrap date line. |
![]() | ZoomLevelSet | FeatureLayer | This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer. |
Name | Return | DeclaringType | Summary |
---|---|---|---|
![]() | Boolean | Layer(overriden) |
Name | Event Arguments | DeclaringType | Summary |
---|---|---|---|
![]() | DrawingAttributionLayerEventArgs | Layer | |
![]() | DrawingExceptionLayerEventArgs | Layer | |
![]() | DrawingFeaturesEventArgs | FeatureLayer | This event is raised when features are about to be drawn in the layer. |
![]() | DrawingProgressChangedEventArgs | Layer | |
![]() | DrawingWrappingFeaturesFeatureLayerEventArgs | FeatureLayer | |
![]() | DrawnAttributionLayerEventArgs | Layer | |
![]() | DrawnExceptionLayerEventArgs | Layer | |
![]() | RequestedDrawingLayerEventArgs | Layer | |
![]() | RequestingDrawingLayerEventArgs | Layer | |
![]() | StreamLoadingEventArgs |
This is the default constructor for the class.
This is the default constructor. If you use this constructor, then you need to set the required properties manually.
This is the default constructor. If you use this constructor, then you need to set the required properties manually.
Name | Type | Description |
---|
This is a constructor for the class.
This constructor allows you to provide the path and filename information for the grid file.
This constructor gets the layer ready to use.
Name | Type | Description |
---|---|---|
gridPathFilename | String<!– System.String –> | This parameter is the path and filename of the grid file you want to use. |
Create a copy of Layer using the deep clone process.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
Layer<!– ThinkGeo.MapSuite.PortableCore.Layer –> | A cloned Layer. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This method closes the Layer and releases any resources it was using.
This method is the concrete wrapper for the abstract method CloseCore. 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.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This method draws the Layer.
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.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –> | This parameter is the canvas object or a GeoImage to draw on. |
labelsInAllLayers | Collection<SimpleCandidate><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} –> | This parameter represents the labels used for collision detection and duplication checking. |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Boolean<!– System.Boolean –> |
Name | Type | Description |
---|---|---|
obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
<!– static –>
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
gridDefinition | GridDefinition<!– ThinkGeo.MapSuite.PortableCore.GridDefinition –> | |
gridInterpolationModel | GridInterpolationModel<!– ThinkGeo.MapSuite.PortableCore.GridInterpolationModel –> | |
outputStream | Stream<!– System.IO.Stream –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
<!– static –>
Name | Type | Description |
---|---|---|
gridDefinition | GridDefinition<!– ThinkGeo.MapSuite.PortableCore.GridDefinition –> | |
gridInterpolationModel | GridInterpolationModel<!– ThinkGeo.MapSuite.PortableCore.GridInterpolationModel –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
This method returns the bounding box of the Layer.
This method is the concrete wrapper for the abstract method GetBoundingBoxCore. This method returns the bounding box of the RasterLayer.
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 Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns the bounding box of the Layer. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Int32<!– System.Int32 –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Type<!– System.Type –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method opens the Layer so that it is initialized and ready to use.
This method is the concrete wrapper for the abstract method OpenCore. 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.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
extentsToRefresh | IEnumerable<RectangleShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.RectangleShape} –> | |
bufferTime | TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
extentsToRefresh | IEnumerable<RectangleShape><!– System.Collections.Generic.IEnumerable{ThinkGeo.MapSuite.PortableCore.RectangleShape} –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
extentToRefresh | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
extentToRefresh | RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | |
bufferTime | TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
bufferTime | TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
String<!– System.String –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Create a copy of Layer using the deep clone process. The default implemenation uses serialization.
The difference between deep clone and shallow clone is as follows: In shallow cloning, only the object is copied; the objects within it are not. By contrast, deep cloning copies the cloned object as well as all the objects within.
Return Type | Description |
---|---|
Layer<!– ThinkGeo.MapSuite.PortableCore.Layer –> | A cloned Layer. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer(overriden) –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –> | |
attribution | String<!– System.String –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –> | |
labelsInAllLayers | Collection<SimpleCandidate><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.PortableCore.SimpleCandidate} –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer(overriden) –> Go Back
This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
This method can be overriden its logic by rewrite the DrawExceptionCore.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –> | The target canvas to draw the layer. |
e | Exception<!– System.Exception –> | The exception thrown when layer.Draw(). |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This method will draw on the canvas when the layer.Draw throw exception and the DrawExceptionMode is set to DrawException instead of ThrowException.
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
canvas | GeoCanvas<!– ThinkGeo.MapSuite.PortableCore.GeoCanvas –> | The target canvas to draw the layer. |
e | Exception<!– System.Exception –> | The exception thrown when layer.Draw(). |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
This method 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 Type | Description |
---|---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> | This method returns the bounding box of the FeatureLayer. |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer(overriden) –> Go Back
Return Type | Description |
---|---|
Object<!– System.Object –> |
Name | Type | Description |
---|
<!– System.Object –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
args | DrawingAttributionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | DrawingExceptionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This method raises the DrawingFeatures event.
<list type=“bullet”> <item>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.</item> </list>
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | DrawingFeaturesEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs –> | This parameter represents the event arguments for the event. |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | DrawingWrappingFeaturesFeatureLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
args | DrawnAttributionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
e | DrawnExceptionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
eventArgs | RequestedDrawingLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|---|---|
eventArgs | RequestingDrawingLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.Layer(overriden) –> Go Back
This method sets up the EditTools and QueryTools objects.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This method sets up the EditTools and QueryTools objects.
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 Type | Description |
---|---|
Void<!– System.Void –> |
Name | Type | Description |
---|
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Gets the cell size from the grid.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
Gets or sets the DrawExcpetionMode when exception happens.
Return Type |
---|
DrawingExceptionMode<!– ThinkGeo.MapSuite.PortableCore.DrawingExceptionMode –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This property gets and sets the extra drawing margin as a percentage around the map that draw to ensure that labeling is correct.
This extra margin that we draw exists so that labels match up if they are partially cut off.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This property gets and sets the general drawing quality for the FeatureLayer's canvas.
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 Type |
---|
DrawingQuality<!– ThinkGeo.MapSuite.PortableCore.DrawingQuality –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This property gets the last drawing time for the layer.
We track the drawing time for the layer and report it back in this method. This is useful for determining the speed of various layers.
Return Type |
---|
TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This property gets the EditTools that allow you to easily edit InternalFeatures in the Feature Layer.
The EditTools are supplied as an easily accessible wrapper for the editing methods of the FeatureSource.
Return Type |
---|
EditTools<!– ThinkGeo.MapSuite.PortableCore.EditTools –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
A collection of strings representing record id of features not to get in the Layer.
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 Type |
---|
Collection<String><!– System.Collections.ObjectModel.Collection{System.String} –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This property gets the FeatureSource for the FeatureLayer.
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 Type |
---|
FeatureSource<!– ThinkGeo.MapSuite.PortableCore.FeatureSource –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In GridFeatureLayer, we override this API and mark it as true.
The default implementation in the base class returns false.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer(overriden) –> Go Back
This property gets and sets if the image should be converted to grayscale.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This property gets and sets whether the image should be converted to negative (inverse colors).
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This property returns true if the Layer is open and false if it is not.
This method is the concrete wrapper for the abstract method IsOpenCore. Various methods on the Layer 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 Layer Open method. The method will raise an exception if the current Layer is already open.
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 Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This property gets and set the visible state of the layer.
If this property is set to false, the layer will not draw. We ensure this in the Draw method. This is useful for legends and other controls that control the visibility of layers.
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This property gets and sets the name for the layer.
The name is user defined. It is useful to set, as it may be used for higher level components such as legends, etc.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Gets the NoDataValue from the grid.
Return Type |
---|
Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
Gets the column number from the grid.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
Gets the row number from the grid.
Return Type |
---|
Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
This property gets and sets the path and filename to the grid file you want to use.
This should be the complete path and filename of a grid file.
Return Type |
---|
String<!– System.String –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
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. The QueryTools are supplied as an easily accessible wrapper for the query methods of the FeatureSource.
Return Type |
---|
QueryTools<!– ThinkGeo.MapSuite.PortableCore.QueryTools –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Return Type |
---|
TimeSpan<!– System.TimeSpan –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
This property gets and sets the amount of transparency to apply to the image.
Return Type |
---|
Single<!– System.Single –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Return Type |
---|
RectangleShape<!– ThinkGeo.MapSuite.PortableCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Thie property gets or sets whether allow wrap date line.
Return Type |
---|
WrappingMode<!– ThinkGeo.MapSuite.PortableCore.WrappingMode –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
This property gets and sets the ZoomLevelSet, which contains the specific zoom levels for the FeatureLayer.
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 Type |
---|
ZoomLevelSet<!– ThinkGeo.MapSuite.PortableCore.ZoomLevelSet –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Return Type |
---|
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer(overriden) –> Go Back
Event Arguments |
---|
DrawingAttributionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingAttributionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Event Arguments |
---|
DrawingExceptionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingExceptionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
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. 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 |
---|
DrawingFeaturesEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingFeaturesEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Event Arguments |
---|
DrawingProgressChangedEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingProgressChangedEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Event Arguments |
---|
DrawingWrappingFeaturesFeatureLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawingWrappingFeaturesFeatureLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.FeatureLayer –> Go Back
Event Arguments |
---|
DrawnAttributionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawnAttributionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Event Arguments |
---|
DrawnExceptionLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.DrawnExceptionLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Event Arguments |
---|
RequestedDrawingLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.RequestedDrawingLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Event Arguments |
---|
RequestingDrawingLayerEventArgs<!– ThinkGeo.MapSuite.PortableCore.RequestingDrawingLayerEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.Layer –> Go Back
Event Arguments |
---|
StreamLoadingEventArgs<!– ThinkGeo.MapSuite.PortableCore.StreamLoadingEventArgs –> |
<!– ThinkGeo.MapSuite.PortableCore.GridFeatureLayer –> Go Back
NOTOC MapSuitePortableCore ThinkGeo.MapSuite.PortableCore UpdateDocumentation
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.