Functions | |
void | AxMap.ClearExtentHistory () |
Clears the extent history. More... | |
void | AxMap.LockWindow (tkLockMode lockMode) |
Locks the window so that any changes will not be displayed until it is unlocked. More... | |
virtual void | AxMap.Undo () |
Reverts the last operation performed by user in interactive ShapeEditor. More... | |
void | AxMap.ZoomIn (double percent) |
Zooms the display in by the given factor. More... | |
void | AxMap.ZoomOut (double percent) |
Zooms the display out by the specified factor. More... | |
void | AxMap.ZoomToLayer (int layerHandle) |
Zooms the map display to the specified layer. More... | |
void | AxMap.ZoomToMaxExtents () |
Zooms the map to the maximum extents of all loaded layers. More... | |
void | AxMap.ZoomToMaxVisibleExtents () |
Zooms the map to the maximum extents of all loaded visible layers. More... | |
int | AxMap.ZoomToNext () |
Zooms the map view to the next extents if there are next extents in the extents history. More... | |
int | AxMap.ZoomToPrev () |
Zooms the map view to the previous extents if there are previous extents in the extents history. More... | |
bool | AxMap.ZoomToSelected (int layerHandle) |
Zoomes map to display selected shapes of the specified shapefile. More... | |
void | AxMap.ZoomToShape (int layerHandle, int shape) |
Zooms the map display to the specified shape in the shapefile contained by the specified layer. More... | |
bool | AxMap.ZoomToTileLevel (int zoom) |
Zooms map to specified zoom level of the active tile provider (Tiles.Provider). More... | |
bool | AxMap.ZoomToWorld () |
Zooms to World extents (-180.0; 180.0; -90.0; 90.0) More... | |
Properties | |
tkCustomState | AxMap.AnimationOnZooming [get, set] |
Gets or sets a value indicating whether animation will be displayed zooming map in or out. More... | |
tkCursorMode | AxMap.CursorMode [get, set] |
Gets or sets the cursor mode for the map. More... | |
bool | AxMap.DisableWaitCursor [get, set] |
Gets or sets a boolean value which indicates whether a wait cursor will be displayed on map redraw. More... | |
tkCustomState | AxMap.InertiaOnPanning [get, set] |
Gets or sets a value indicating whether animation will be displayed to simulate inertia after panning operation. More... | |
tkLockMode | AxMap.IsLocked [get, set] |
Checks to see if the map is currently locked or not. More... | |
double | AxMap.MouseWheelSpeed [get, set] |
Gets or sets the speed of zooming with mouse wheel. More... | |
bool | AxMap.RecenterMapOnZoom [get, set] |
Gets or sets a value indicating whether to move the mouse click point to the center of the map when using the Zoom In or Zoom Out tools. More... | |
bool | AxMap.ReuseTileBuffer [get, set] |
Gets or sets a value indicating whether currently rendered tile buffer should be scaled and reused during the next redraw. More... | |
bool | AxMap.SendMouseDown [get, set] |
Gets or sets whether the map sends mouse down events. More... | |
bool | AxMap.SendMouseMove [get, set] |
Gets or sets whether the map sends mouse move events. More... | |
bool | AxMap.SendMouseUp [get, set] |
Gets or sets whether the map sends mouse up events. More... | |
bool | AxMap.SendOnDrawBackBuffer [get, set] |
Gets or sets a boolean value which indicates whether the map sends on draw back buffer events. More... | |
bool | AxMap.SendSelectBoxDrag [get, set] |
Gets or sets whether the map sends the SelectBoxDrag event. More... | |
bool | AxMap.SendSelectBoxFinal [get, set] |
Gets or sets whether the map sends the SelectBoxFinal event. More... | |
bool | AxMap.ShowZoomBar [get, set] |
Gets or sets a value indicating whether zoom bar will be displayed on the map. More... | |
bool | AxMap.TrapRMouseDown [get, set] |
Gets or sets a boolean value which can affect the displaying of the context menus in client code by the right click. More... | |
bool | AxMap.UseAlternatePanCursor [get, set] |
Gets or sets a value indicating whether the legacy 'hand' cursor should be used for map panning rather than the standard 'NSEW' four-point cursor. More... | |
bool | AxMap.UseSeamlessPan [get, set] |
Gets or sets a boolean value which indicate whether map will be redrawn in the course of panning operation. More... | |
int | AxMap.ZoomBarMaxZoom [get, set] |
Gets or sets maximum zoom level to be used by zoom bar. More... | |
int | AxMap.ZoomBarMinZoom [get, set] |
Gets or sets minimum zoom level to be used by zoom bar. More... | |
tkZoomBarVerbosity | AxMap.ZoomBarVerbosity [get, set] |
Gets or sets the amount of information to be displayed in zoom bar tool tip. More... | |
tkZoomBehavior | AxMap.ZoomBehavior [get, set] |
Gets or sets zoom behaviour for the map control. More... | |
tkZoomBoxStyle | AxMap.ZoomBoxStyle [get, set] |
Gets or sets a style of zoom box, which is used to select a region with Zoom In tool. More... | |
double | AxMap.ZoomPercent [get, set] |
Gets or sets the factor by which to zoom the view of the map in or out. More... | |
Here is a list of properties and methods which affect the way a user interacts with the map. This module is a part of the documentation of AxMap class.
void AxMap.ClearExtentHistory | ( | ) |
Clears the extent history.
void AxMap.LockWindow | ( | tkLockMode | lockMode | ) |
Locks the window so that any changes will not be displayed until it is unlocked.
This is very useful if you are making a large number of changes at once and don't want the map to be redrawn between each change. The changes of drawing options in the related classes (Shapefile, Labels, etc.) won't cause the redraw of the map even if it's not locked.
lockMode | The state of the lock mode. |
|
virtual |
Reverts the last operation performed by user in interactive ShapeEditor.
This method is preferable over AxMap.UndoList.Undo since it can also undo point added during creation of new shape, which are not registered in the undo list.
void AxMap.ZoomIn | ( | double | percent | ) |
Zooms the display in by the given factor.
percent | A number between 0.0 and 1.0, being the factor to zoom in by. |
void AxMap.ZoomOut | ( | double | percent | ) |
Zooms the display out by the specified factor.
percent | A number between 0.0 and 1.0, being the factor to zoom out by. |
void AxMap.ZoomToLayer | ( | int | layerHandle | ) |
Zooms the map display to the specified layer.
layerHandle | The handle of the layer to zoom to. |
void AxMap.ZoomToMaxExtents | ( | ) |
Zooms the map to the maximum extents of all loaded layers.
Layers which are not visible are still used to compute maximum extents.
void AxMap.ZoomToMaxVisibleExtents | ( | ) |
Zooms the map to the maximum extents of all loaded visible layers.
Layers which are not visible are not used to compute maximum extents.
int AxMap.ZoomToNext | ( | ) |
Zooms the map view to the next extents if there are next extents in the extents history.
int AxMap.ZoomToPrev | ( | ) |
Zooms the map view to the previous extents if there are previous extents in the extents history.
bool AxMap.ZoomToSelected | ( | int | layerHandle | ) |
Zoomes map to display selected shapes of the specified shapefile.
layerHandle | Layer handle of shapefile layer with selected shapes. |
If the layer isn't shapefile or there is no selected shapes in it, nothing will happen.
void AxMap.ZoomToShape | ( | int | layerHandle, |
int | shape | ||
) |
Zooms the map display to the specified shape in the shapefile contained by the specified layer.
layerHandle | The handle of the layer containing the shape to zoom to. |
shape | The index of the shape to zoom to. |
bool AxMap.ZoomToTileLevel | ( | int | zoom | ) |
Zooms map to specified zoom level of the active tile provider (Tiles.Provider).
zoom | Zoom level |
bool AxMap.ZoomToWorld | ( | ) |
Zooms to World extents (-180.0; 180.0; -90.0; 90.0)
Projection should be specified for map in order for this methods to work.
|
getset |
Gets or sets a value indicating whether animation will be displayed zooming map in or out.
Default csAuto value will display animation only if there are no data layers within visisble extents. Animation also won't be displayed if there are more than 4 zoom levels between current and target level.
|
getset |
Gets or sets the cursor mode for the map.
The cursor mode determines how the map handles mouse click events on the map. The only mode not handled by the map is cmNone.
|
getset |
Gets or sets a boolean value which indicates whether a wait cursor will be displayed on map redraw.
|
getset |
Gets or sets a value indicating whether animation will be displayed to simulate inertia after panning operation.
Default csAuto value will display animation only if there are no data layers within visisble extents.
|
getset |
Checks to see if the map is currently locked or not.
|
getset |
Gets or sets the speed of zooming with mouse wheel.
The default values is 0.5. The values in 0.1 - 10.0 range are accepted. The value 1.0 will turn off the zooming by mouse wheel.
|
getset |
Gets or sets a value indicating whether to move the mouse click point to the center of the map when using the Zoom In or Zoom Out tools.
The default value is False, indicating that the map is not recentered,
but instead keeps the click point at the mouse position and zooms around that point.
|
getset |
Gets or sets a value indicating whether currently rendered tile buffer should be scaled and reused during the next redraw.
|
getset |
Gets or sets whether the map sends mouse down events.
|
getset |
Gets or sets whether the map sends mouse move events.
|
getset |
Gets or sets whether the map sends mouse up events.
|
getset |
Gets or sets a boolean value which indicates whether the map sends on draw back buffer events.
|
getset |
Gets or sets whether the map sends the SelectBoxDrag event.
|
getset |
Gets or sets whether the map sends the SelectBoxFinal event.
|
getset |
Gets or sets a value indicating whether zoom bar will be displayed on the map.
Zoom bar can be displayed only if projection of the map is set. Zoom levels depend upon tile of the current tile provider.
/see AxMap.TileProvider, AxMap.Projection
|
getset |
Gets or sets a boolean value which can affect the displaying of the context menus in client code by the right click.
|
getset |
Gets or sets a value indicating whether the legacy 'hand' cursor should be used for map panning rather than the standard 'NSEW' four-point cursor.
|
getset |
Gets or sets a boolean value which indicate whether map will be redrawn in the course of panning operation.
The default value is false. Setting this value to true can improve the user experience but decrease the performance in case large layers are displayed.
|
getset |
Gets or sets maximum zoom level to be used by zoom bar.
This property won't increase the number of available levels, if certain levels aren't supported by the provider they still won't be displayed.
|
getset |
Gets or sets minimum zoom level to be used by zoom bar.
This property won't increase the number of available levels, if certain levels aren't supported by the provider they still won't be displayed.
|
getset |
Gets or sets the amount of information to be displayed in zoom bar tool tip.
|
getset |
Gets or sets zoom behaviour for the map control.
|
getset |
Gets or sets a style of zoom box, which is used to select a region with Zoom In tool.
|
getset |
Gets or sets the factor by which to zoom the view of the map in or out.