[]
Represents a map with tiles and vectors.
[ToolboxBitmap(typeof(C1Map), "C1Map.png")]
public class C1Map : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize
Name | Description |
---|---|
C1Map() | Initializes a new instance of the C1Map class. |
Name | Description |
---|---|
MaxZoomValue | The maximum zoom of a C1Map. |
MinZoomValue | The minimum zoom of a C1Map. |
Name | Description |
---|---|
AllowTranslating | Gets or sets whether allow translate the map by user action. |
AllowZooming | Gets or sets whether allow change the zoom by user action. |
CoordinateSystem | Gets or sets the coordinate system used by this C1Map. |
DefaultSize | |
DistanceScale | Gets the distance scale settings for this C1Map. |
HorizontalLoop | Defines whether the map will be scrolled to west or east endlessly. |
Layers | Gets the collection of map layers displayed in this C1Map. |
Legends | Gets the collection of legends displayed in this C1Map. |
PanTool | Gets the pan tool settings for this C1Map. |
TileLayer | Gets the tile layer settings for this C1Map. |
UseAntiAliasedGraphics | Gets or sets a value indicating whether to use anti-aliasing while rendering map graphics. |
Viewport | Gets the the viewport settings for this C1Map. |
ZoomTool | Gets the zoom tool settings for this C1Map. |
Name | Description |
---|---|
BeginInit() | |
BeginUpdate() | Begins the batch updating, suspend the frequent repainting. |
CalculateAutoZoomCenter(out double, out Point, IEnumerable<VectorItem>) | Calculates the suitable zoom and center which can show all or selected the vector items. |
CenterTo(Point) | Makes the specified position as the center of the map. |
Dispose(bool) | Clean up any resources being used. |
EndInit() | |
EndUpdate() | Ends the batch updating, force a repainting. |
EndUpdate(bool) | Ends the batch updating. |
GeographicToLogic(Point) | Transforms a point from geographic coordinates to logic coordinates. |
GeographicToScreen(Point) | Transforms a point from geographic coordinates to screen coordinates. |
GetBitmap(bool) | Obtains an bitmap image of the current C1Map display. |
GetMetafile(bool) | Obtains an metafile of the current C1Map display. |
HitTest(Point) | Returns information about the map at a specified point on the map boundary. |
IsInputKey(Keys) | |
LogicToGeographic(Point) | Transforms a point from logic coordinates to geographic coordinates. |
LogicToScreen(Point) | Transforms a point from logic coordinates to screen coordinates. |
OnClick(EventArgs) | |
OnGotFocus(EventArgs) | |
OnKeyDown(KeyEventArgs) | |
OnLostFocus(EventArgs) | |
OnMouseDown(MouseEventArgs) | |
OnMouseMove(MouseEventArgs) | |
OnMouseUp(MouseEventArgs) | |
OnMouseWheel(MouseEventArgs) | |
OnPaint(PaintEventArgs) | |
ResetToDefaultStyle() | Resets the map styles to default. |
ScreenToGeographic(Point) | Transforms a point from screen coordinates to geographic coordinates. |
ScreenToLogic(Point) | Transforms a point from screen coordinates to logic coordinates. |
SetZoomCenter(double, Point) | Sets the zoom and center of the map. |
Translate(float, float) | Moves the map with the specified offsets. |
ZoomAt(double, Point) | Zooms the map with the specified delta, at the specified position. |
ZoomToItems(IEnumerable<VectorItem>) | Zoom to fit the selected items. |
Name | Description |
---|---|
CenterChanged | Occurs when the center of the map is changed. |
TileLoaded | Occurs when the tile image is downloaded. |
ZoomChanged | Occurs when the zoom of the map is changed. |