Friendly interaction in Mapx

Source: Internet
Author: User
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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.