Although MapX annotation and modification annotation functions are available, they are all very difficult to use, and the user experience is very poor. It is not only difficult to control programming, but also inconvenient to operate: the tool selection should be constantly switched, and the mobile element is very insensitive. Therefore, we hope to achieve a friendly interaction.
Imagine this: by default, all are pan tools. You can freely move the map. The zoom function is not considered here. There is a labeling function. When it is turned on, it is used when it is in a blank area. This function is used to move an existing element. You can move the annotation only when you click the left button on the element in the annotation status. Once the annotation movement is completed, the system returns to the annotation status.
Implementation:
Current element settings: as long as you move the cursor over the element, the element is the current element. After removing the element, the current element is cleared.
Status settings: 1-browse; 2-moving elements; 3-Annotation
Default: Pan Tool
Press the mouse:
The current element exists, and the status is 3: the element is moved, and the status is 2;
The current element does not exist, and the status is 4: The annotation prompt is displayed to mark;
Move the mouse:
Search for the elements at the current position
Locate the element and view the status (1): Set the element to the current element.
Locate the element and mark the status (3): Set the element to the current element, and change the icon to the move icon.
No element found. View Status (1): Clear the current element
No element found. annotation status (3): Clear the current element. The Restoration icon is the annotation icon.
Hover the mouse:
View status of the current element (1): normal pop-up operations, information, and associated menus.
The current element exists. The moving status is (2). The moving process ends and is restored to the annotation status. The status is 3.