ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
This class is the base class for all types of Layers.
RequestDrawing(RectangleShape,TimeSpan)
RequestDrawing(RectangleShape,TimeSpan,RequestDrawingBufferTimeType)
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan)
RequestDrawing(IEnumerable<RectangleShape>,TimeSpan,RequestDrawingBufferTimeType)
DrawException(GeoCanvas,Exception)
DrawExceptionCore(GeoCanvas,Exception)
OnDrawingException(DrawingExceptionLayerEventArgs)
DrawAttributionCore(GeoCanvas,String)
OnDrawingAttribution(DrawingAttributionLayerEventArgs)
N/A
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.
This property indicates whether 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.
The default value is false.
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.
The name is user defined. It is useful to set, as it may be used for higher level components such as legends, etc.
N/A
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.
This property gets and sets the amount of transparency to apply to the image.
None
None
None
None
Gets a value represents a collection of key colors. If HasKeyColor property is false, it will throw exception when you use KeyColors.
It will make these colors transparent when draw image.
This property gets and sets whether the image should be converted to negative (inverse colors).
None
None
N/A
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.
N/A
Event Arguments:DrawnAttributionLayerEventArgs