A fully Dot-Net data visualization control for displaying map data provided by the MapWinData libary. Fully extensible by developers to render new data sources.
Classes
| Class | Description | |
|---|---|---|
|
Exceptions | Exceptions thrown by map control and by basic RenderableLayer classes. |
|
Exceptions.InvalidFeatureGeometry | Thrown when an invalid feature geometry is encountered. |
|
Exceptions.InvalidLayerHandle | Thrown when an invalid layer handle is passed to a function. |
|
Exceptions.InvalidLayerObject | Thrown when an invalid layer object is added to the map. |
|
Exceptions.InvalidPosition | Thrown when an invalid position is passed to a function. |
|
Exceptions.InvalidSimpleImage | Thrown when an invalid file is opened by the RenderableSimpleImage class. |
|
Exceptions.LayerHandleAlreadySet | Thrown when a layer handle is already set on a layer, but it was set again. |
|
Exceptions.NullFeatureGeometry | Thrown when a null feature geometry is encountered. |
|
MapView | The main map view component. This class cannot be inherited. |
|
RenderableDrawingLayer | A renderable layer which contains user-defined drawings. Also exposes an OnRender event to allow user-level drawing operations to take place midway through rendering of layers (by placing this DrawingLayer object at the desired position in the layer stack). Drawing may be done directly to the resource, or by calling drawing functions. Drawings may be screen-referenced (always in place) or world-referenced (moves with the map data on pans, etc). |
|
RenderableDrawingLayer.dlIcon | Represents an icon to be drawn on the layer. |
|
RenderableDrawingLayer.dlLine | Represents a simple line object to be drawn on this layer. |
|
RenderableDrawingLayer.dlPolygon | Represents a simple polygon to be drawn on this layer. |
|
RenderableDrawingLayer.dlRect | Represents a rectangle to be drawn on this layer. |
|
RenderableLabelLayer | A renderable layer containing label information. Ideally each layer that wishes to show labels will have a corresponding label layer; but collision avoidance may work better with all in one layer. Developers may also prefer to put labels in one layer or in seperate layers by preference. |
|
RenderableLabelLayer.LabelItem | A class representing an individual label. Note that fonts, colors, etc are all set for each label individually. |
|
RenderableLayer | Represents a layer which may be rendered to MapView. This class must be inherited to provide additional functionality and thus create "Drawing Adapters" for additional data sources and formats. Any class which inherits from RenderableLayer may be added to the map and displayed (assuming it does something in Render()). This class is abstract (MustInherit in Visual Basic)abstractMustInherit and so cannot be instantiated. |
|
RenderableRasterLayer | Represents a renderable layer which draws MapWinData.Raster objects. |
|
RenderableSimpleImageLayer | Represents a renderable layer for simple images (georeferenced bitmaps, jpegs, gifs, png, 3-band RGB TIF (use RasterLayer for GeoTIFF) |
|
RenderableVectorLayer | Represents a renderable layer for drawing MapWinData.VectorLayer data objects. |
Delegates
| Delegate | Description | |
|---|---|---|
|
MapView.ClickHandlerEx | This event fires when the map is clicked. "Click" is also fired, but this event provides mouse coordinates in both projected and unprojected form in addition. |
|
MapView.DoubleClickHandlerEx | This event fires when the map is double clicked. "DoubleClick" is also fired, but this event provides mouse coordinates in both projected and unprojected form in addition. |
|
MapView.PostRenderHandler | This event fires after all rendering has been done. |
|
MapView.PreRenderHandler | This event fires after the background color is drawn but before any other map data is rendered. |
|
RenderableDrawingLayer.OnRenderHandler | This event is raised when the layer is rendered. |
Enumerations
| Enumeration | Description | |
|---|---|---|
|
eMapResizeBehavior | Defines the behavior of the map when it is resized. |
|
eMouseCursorMode | Defines the behavior of the map when the left mouse button is clicked. |
|
RenderableDrawingLayer.Referencing | Defines whether drawing should be spatially referenced (moves with map data) or screen-referenced (stays put during zoom/pan/etc). |