The part of the article introduces the basic use code of MAPX, this article continues to explore some of the basics of controls, including zooming in, zooming out, scaling to initial size (full picture), panning, rectangular selection, circle selection, arrows, opening layer dialogs, opening ActiveX Properties dialog boxes, adding symbols, and more.
The standard tools provided by MAPX, different tools will enable the mouse to complete a variety of tasks. For example, if the current tool is set to Milabeltool, a label is placed on the specified Map object when the mouse is clicked. The mouse cursor changes the shape according to the tool you are using. The list of standard tools available for MapX is as follows:
Tools |
Constant |
Describe |
ADD Line |
Miaddlinetool |
Add a line entity to the insert Layer |
ADD Point |
Miaddpointtool |
Click to add point entities to the insert layer. |
ADD polyline |
Miaddpolylinetool |
Add a polyline entity to the insert layer. |
ADD Region |
Miaddregiontool |
Add a zone entity to the insert layer. |
Arrow |
Miarrowtool |
Click the title or note. Also, it can move a selected entity or change its size in an editable layer. |
Center |
Micentertool |
Click the mouse to center the map. |
Label |
Milabeltool |
Click the entity to annotate. |
Pan |
Mipantool |
Drag the map and reposition the center of the map. |
Polygon Select |
Mipolygonselecttool |
Click the mouse to draw a polygon, and the object within the polygon is selected. |
Radius Select |
Miradiusselecttool |
Drag the mouse and select the entity within the drag radius. |
Rect Select |
Mirectselecttool |
Drag to select an entity within the rectangle. |
Select Tool |
Miselecttool |
Click to select an entity. |
Symbol |
Misymboltool |
Place symbol annotations. |
Text |
Mitexttool |
Place text annotations. |
Zoom in |
Mizoomintool |
Amplification. |
Zoom out |
Mizoomouttool |
Narrow. |