Method and apparatus for adjusting map display
The method and apparatus facilitate simultaneous zooming and rotating in 3D map displays on mobile devices by analyzing gesture data, addressing the inefficiency of current interaction methods and enhancing user experience.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- BEIJING ROBOROCK INNOVATION TECH CO LTD
- Filing Date
- 2022-07-13
- Publication Date
- 2026-07-03
AI Technical Summary
Existing 3D map display controls on mobile devices require frequent switching between different interaction methods, such as zooming and rotating, which is cumbersome and inefficient.
A method and apparatus that allow simultaneous adjustment of map display by analyzing adjustment gesture data to identify positional changes, enabling simultaneous zooming and rotating within parallel and cross-sectional planes using a single operation.
Enables multi-viewpoint adjustments with a single operation, simplifying map display interactions and improving user experience by eliminating the need for frequent switching between different viewing angles.
Smart Images

Figure 0007884600000001 
Figure 0007884600000002 
Figure 0007884600000003
Abstract
Description
Technical Field
[0001] (Cross - reference to Related Applications) This application claims the priority of Chinese Patent Application No. 202111678189.6 filed on December 31, 2021, and all of its contents are incorporated herein by reference as part of this application.
[0002] This disclosure relates to the technical field of data processing, and particularly to a method and apparatus for adjusting map display.
Background Art
[0003] The functions of mobile terminals are becoming increasingly rich, and intelligent terminal devices are indispensable in daily life. Users can use mobile terminals to handle affairs, shop, do housework, etc. In mobile terminals, map applications are also one of the highly demanded applications. Map applications can provide accurate map data and plan travel routes according to users' needs. Users can search for destinations and perform route navigation through map applications. When a three - dimensional map is displayed on a touch - screen, users can also adjust the display content of the map, such as zooming in and out, by gestures.
[0004] Currently, in implementations of human-computer interaction for 3D maps, it is common to control the movement of the map display viewpoint with one finger, for example, by adjusting the map's movement horizontally / vertically on the mobile device screen with one finger, or to control zooming in / out and rotation of the map display viewpoint with two fingers, for example, by pinching in with two fingers to narrow the map display viewpoint, or by performing rotations based on horizontal and vertical directions with two fingers. However, in general 3D map display control, once a two-finger interaction locks onto one type of interaction, it is not possible to simultaneously change other viewpoints. For example, only zooming in / out and / or horizontal rotation, or zooming in / out and / or vertical rotation, is possible, and if it is necessary to switch to another interaction method, the two fingers must be left off the screen and operated again, making map display interaction operation cumbersome.
[0005] Furthermore, the information disclosed in the above paragraphs concerning the background technology is intended solely to deepen understanding of the background of this disclosure, and may therefore contain information that is not known to those skilled in the art. [Overview of the Initiative]
[0006] In view of this, this disclosure provides a method and apparatus for adjusting map displays.
[0007] According to one aspect of this disclosure, a method for adjusting a map display is provided, and this method is: The steps include: when an adjustment command is received on the map display page, an adjustment gesture data is obtained, wherein the adjustment command is transmitted by the user operating the touch display on the map display page, and the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position; A step of analyzing the adjustment gesture data to obtain an adjustment index, wherein the adjustment index is for identifying the positional change of the adjustment gesture during the adjustment process of the current map display. The method includes the step of scaling the map display page according to the adjustment index and rotating it by a first viewing angle and a second viewing angle, wherein the first viewing angle is the viewing angle in a parallel plane of the map and the second viewing angle is the viewing angle in a cross-section of the map.
[0008] According to another aspect of this disclosure, a map display adjustment device is provided, which is The system is configured to acquire adjustment gesture data when it receives an adjustment command on the map display page, the adjustment command being transmitted by the user operating the touch display on the map display page, and the acquisition module includes at least an adjustment start finger position and an adjustment end finger position. An analysis module is configured to analyze the aforementioned adjustment gesture data and obtain adjustment indicators, the adjustment indicators being used to identify changes in the position of the adjustment gestures during the current map display adjustment process. A zoom module configured to enlarge or reduce the map display page according to the adjustment index, The system includes a rotation module configured to rotate the map display page between a first viewing angle and a second viewing angle according to the aforementioned adjustment index.
[0009] According to yet another aspect of the present disclosure, a storage medium is provided, the storage medium storing at least one executable instruction, the executable instruction causing a processor to perform an operation corresponding to the method for adjusting the map display described above.
[0010] A further different aspect of this disclosure provides a terminal including a processor, memory, a communication interface and a communication bus, wherein the processor, memory and the communication interface communicate with each other via the communication bus. The memory is configured to store at least one executable instruction, which causes the processor to perform an operation corresponding to the map display adjustment method described above.
[0011] The above description is merely an overview of the technical solutions of this disclosure. To better understand the technical means of this disclosure, how they can be implemented in accordance with the specification, and to better understand the above and other purposes, features, and benefits of this disclosure, specific embodiments of this disclosure are described below.
[0012] By reading the detailed description of the following preferred embodiments, various advantages and benefits will become apparent to those skilled in the art. The accompanying drawings are used solely for illustrative purposes of the preferred embodiments and should not be understood as limiting the present disclosure. Throughout the accompanying drawings, the same reference numerals indicate the same components. [Brief explanation of the drawing]
[0013] [Figure 1] A flowchart illustrating a method for adjusting map displays provided by embodiments of this disclosure. [Figure 2] A flowchart illustrating another method for adjusting a map display provided by the embodiments of this disclosure. [Figure 3] Block diagram showing the configuration of a map display adjustment device provided by an embodiment of this disclosure. [Figure 4] Block diagram showing the configuration of another map display adjustment device provided by embodiments of this disclosure. [Figure 5] A schematic diagram showing the structure of a terminal provided by an embodiment of this disclosure. [Modes for carrying out the invention]
[0014] Hereinafter, exemplary embodiments of the present disclosure will be described in more detail with reference to the accompanying drawings. While the accompanying drawings illustrate exemplary embodiments of the present disclosure, the disclosure can be carried out in various forms and is not limited to these embodiments. Conversely, these embodiments are provided to enable a deeper understanding of the disclosure and to fully convey its scope to those skilled in the art.
[0015] In typical 3D map display control, once a two-finger interaction locks one type of interaction, other viewpoint changes cannot be performed simultaneously. For example, only zooming in and / or horizontal rotation, or zooming in and / or vertical rotation, are possible. If it is necessary to switch to another interaction method, the two fingers must be lifted from the screen and operated again, making map display interaction operations cumbersome. Embodiments of this disclosure provide a method for adjusting the map display, as shown in Figure 1, and the method includes the following steps.
[0016] In step 101, when an adjustment command for the map display page is received, adjustment gesture data is obtained.
[0017] Here, the adjustment command is transmitted by the user operating the touch display on the map display page, and the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position. The touch display may be located in a mobile terminal device, a site guide device, a mobile robot, etc., and the adjustment finger position is determined by establishing a coordinate system within the plane of the touch display and specifying the touch point of the finger in that coordinate system, and specifically, it may be obtained by calling a pre-configured interface or a pre-configured algorithm when the finger touches the touch display, and is not particularly limited in the embodiments of this application.
[0018] In the embodiments of this application, the command to adjust the map display page may be sent when the user's finger briefly presses the touch display. For example, if the user's finger remains on the mobile phone screen for 0.2 seconds before movement occurs, it can be determined that the current user operation indicates that the map display page should be adjusted. Furthermore, the transmission of the command to adjust the map display page to the server triggers the server to adjust the map display page in response to the user's operation.
[0019] The terminal device downloads a corresponding map application program via the Internet in advance, loads map data, stores it locally or in the cloud, and can adjust and display the map display page according to the user's operations during the use process.
[0020] In step 102, the adjustment gesture data is analyzed to obtain an adjustment index.
[0021] Here, the adjustment index is used to identify the position change of the adjustment gesture in the current map display adjustment process. Specifically, the adjustment index may be the distance between fingers, the position change of a certain reference point, such as the midpoint of the line connecting the positions of two fingers, or the position change of the finger on the touch display, etc., and is not particularly limited in the embodiments of the present application.
[0022] In the embodiments of the present application, by analyzing the data generated when the user adjusts the map display page, data capable of identifying the position change of the adjustment gesture can be obtained. For example, based on the adjustment gesture data, if the adjustment gesture is specified as finger 1 moving from a1 to a2 and finger 2 moving from b1 to b2, these two sets of finger data may also be used as the adjustment index in this step.
[0023] [[ID=???]]
[0024] In step 103, the map display page is enlarged and reduced according to the adjustment index and rotated between the first viewing angle and the second viewing angle. It should be noted that there seems to be an issue with the tag which is repeated as [[ID=???]] in the translation. Please check the original text for accuracy.Here, the first viewing angle (first viewpoint) is the viewing angle within the parallel plane of the map, and the second viewing angle (second viewpoint) is the viewing angle within the cross-section of the map. Specifically, this step involves determining the adjustment scaling ratio according to the adjustment index, for example, determining whether the two fingers are pinching in or out based on the position of the user's two fingers, scaling the map display page accordingly according to the degree of pinching in or out, determining the rotation angle between the first and second viewing angles according to the adjustment index, for example, calculating the rotation angle in the two viewing angles based on the displacement of a reference point of the two fingers during the adjustment process.
[0025] This disclosure provides a method and apparatus for adjusting a map display, a storage medium, and a terminal. Compared to related technologies, the embodiments of this disclosure acquire adjustment gesture data when an adjustment command for the map display page is received, the adjustment command is transmitted by the user operating a touch display on the map display page, the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position, the adjustment gesture data is analyzed to acquire an adjustment index, the adjustment index is for identifying positional changes of the adjustment gesture during the current map display adjustment process, the map display page is enlarged or reduced according to the adjustment index and rotated between a first viewing angle and a second viewing angle. The first viewing angle is the viewing angle within the parallel plane of the map, and the second viewing angle is the viewing angle within the cross-sectional plane of the map. This allows for the identification of adjustment indicators that can identify changes in the position of adjustment gestures based on the adjustment finger position generated when the user adjusts the map display. According to these adjustment indicators, adjustments can be made simultaneously to the map display page by zooming in / out, rotating within the parallel plane of the map, and rotating within the cross-sectional plane of the map. This enables the user to achieve multi-viewpoint adjustments with a single operation, eliminating the need for frequent switching operations to adjust the map display from different viewing angles, simplifying the adjustment operation of the map display page, and improving the user experience.
[0026] As an improvement and extension of the specific embodiment of the above embodiment, in order to fully explain the specific implementation process of this embodiment, we provide another method for adjusting the map display, as shown in Figure 2, which includes the following steps.
[0027] In step 201, when an adjustment command for the map display page is received, adjustment gesture data is acquired.
[0028] Here, the adjustment command is transmitted by the user operating the touch display on the map display page, and the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position. For an interpretation of the concepts in this step and specific embodiments, please refer to the corresponding description in step 101, which will not be repeated in the embodiments of this application.
[0029] In embodiments of this application, after step 201, the steps may further include: determining whether the adjustment gesture is a two-finger gesture based on the adjustment gesture data; if the adjustment gesture is a one-finger gesture, calculating a drag displacement based on the adjustment start gesture position and the adjustment end gesture position, wherein the drag displacement is the corresponding displacement of the finger on the touch display during the adjustment process; and moving the map display page within the parallel plane of the map based on the drag displacement. If the adjustment gesture is a two-finger gesture, step 202 is performed.
[0030] In the embodiments of this application, based on the acquired adjustment gesture data, it is determined whether it is a one-finger gesture or a two-finger gesture. If it is determined to be a one-finger gesture, map translation adjustment (map pan adjustment) is performed. If it is determined to be a two-finger gesture, the gesture data is further analyzed to obtain adjustment indicators included in the gesture data. This avoids the problem of resource waste caused by directly analyzing the data and ensures the accuracy of the map display page adjustment.
[0031] In step 202, the first center point and the second center point are calculated based on the adjustment start gesture position and the adjustment end gesture position, respectively.
[0032] Here, the first center point is the midpoint of the line connecting the positions of the two fingers at the start of the adjustment, and the second center point is the midpoint of the line connecting the positions of the two fingers at the end of the adjustment.
[0033] In the embodiments of this application, the center point between two fingers is used as a reference point, and the adjustment direction and amount during the adjustment process are determined according to the change in the position of the reference point. However, other point positions may be selected as reference points and used as criteria for determination, and the embodiments of this application are not particularly limited.
[0034] Specifically, the implementation of this step may involve obtaining the position coordinates of two fingers during the user's operation and calculating the coordinates of the center point between the two fingers based on the position coordinates. The coordinate values of the finger positions may be calculated by a calculation method in the relevant technology and are not particularly limited in the embodiments of this application.
[0035] For example, in the process of a user adjusting the map display page, the adjustment start gesture position is [(x1,y1),(x2,y2)], that is, the coordinates of the two fingers at the start of the adjustment are x1,y1 and x2,y2 respectively, and the adjustment end gesture position is [(x'1,y'1),(x'2,y'2)], and the calculated first and second center point positions are ((x1+x2) / 2,(y1+y2) / 2) and ((x'1+x'2) / 2,(y'1+y'2) / 2), respectively.
[0036] In step 203, the relative displacement between the first center point and the second center point on the touch display is calculated.
[0037] Since the coordinates of the two center points were calculated in the above step, in this step, the relative displacement can be calculated based on the coordinates of the two points.
[0038] In the embodiment of this application, during the adjustment process of the map display page, the center point of the fingers is used as a reference point, and the center point between the two fingers at the adjustment start position and the center point between the two fingers at the adjustment end position are calculated, respectively. This allows the corresponding displacement of the reference point during the screen display adjustment process to be identified, and rotation control is performed on the map display page according to this displacement.
[0039] In step 204, the adjustment ratio is calculated based on the adjustment start finger position and the adjustment end finger position.
[0040] Here, the adjustment ratio is the ratio of the distance between the two fingers at the end of the adjustment to the distance between the two fingers at the start of the adjustment.
[0041] Based on the information in step 202 above, the acquired adjustment gesture data includes the positions of the two fingers at the start and end of the adjustment process. Therefore, the distance between the two fingers at the start and the distance between the two fingers at the end can be calculated, and the ratio of these two distances can be calculated to obtain the adjustment ratio in this step.
[0042] In the embodiments of this application, the execution order of steps 204 and 202 is not limited; that is, steps 204 and 202 may be executed in parallel or independently.
[0043] In step 205, the relative displacement and the adjustment ratio are identified as the adjustment index.
[0044] In the embodiment of this application, the adjustment ratio and relative displacement are calculated, the adjustment ratio and relative displacement are identified as adjustment indicators, and the scaling of the map display page and the rotation of the map display page at different angles are controlled according to these two adjustment indicators, thereby enabling multi-angle display adjustment of the map display page and ensuring the accuracy of the map display page adjustment.
[0045] In step 206, the map display page is enlarged or reduced according to the adjustment index and rotated between the first and second viewing angles.
[0046] Here, the first viewing angle is the viewing angle within the parallel plane of the map, and the second viewing angle is the viewing angle within the cross-section of the map.
[0047] Specifically, this step may include the steps of: calculating a first displacement and a second displacement corresponding to the adjustment displacement; calculating a first angle and a second angle corresponding to the first and second displacements, respectively, according to a preset algorithm; and rotating the map display page by the first viewing angle according to the first angle and by the second viewing angle according to the second angle. Here, the first displacement is the horizontal component of the adjustment displacement on the touch display, and the second displacement is the vertical component of the adjustment displacement on the touch display. The preset algorithm may be one or more of a matrix, a function, or a preset mapping relationship between the adjustment displacement and the adjustment angle, and the method for controlling the rotation of the map display page according to the rotation angle after the rotation angle has been determined may be an implementation in related technology and is not particularly limited in the embodiments of this application.
[0048] In one embodiment, this step may further include, if the adjustment ratio is greater than 1, the step of enlarging the map display page according to the adjustment ratio, and if the adjustment ratio is less than 1, the step of reducing the map display page according to the adjustment ratio.
[0049] If the adjustment ratio is greater than 1, the distance between the two fingers during the adjustment process increases, meaning the user's fingers are in a pinch-out state. In this case, the view is determined to be enlarged, and the map display page is enlarged according to the adjustment ratio. If the adjustment ratio is less than 1, the distance between the two fingers during the adjustment process decreases, meaning the user's fingers are in a pinch-in state. In this case, the view is determined to be reduced, and the map display page is reduced according to the adjustment ratio. In actual application, the map's zoom ratio may be the same as the calculated adjustment ratio, proportional to the adjustment ratio, that is, it may be enlarged 1:1 according to the adjustment ratio, or it may be enlarged or reduced according to a predetermined ratio relationship.
[0050] In the embodiments of this application, the corresponding relative displacement during the adjustment process of a reference point, for example, the center point of the line connecting the positions of the two fingers in the two-finger gesture in this embodiment, is converted into an adjustment angle. This adjustment angle is then used to adjust the rotation of the map display page within the two reference planes, and the map display page is scaled up or down in accordance with the change in the distance between the two fingers during the adjustment process. As a result, the user can adjust the map display page from multiple angles with just one operation, eliminating the need for the user to perform multiple operations to switch between different viewpoints of the map display. This simplifies the map display adjustment operation and improves the user experience.
[0051] This disclosure provides a method and apparatus for adjusting a map display, and compared to related technologies, the embodiments of this disclosure acquire adjustment gesture data when an adjustment command for the map display page is received, the adjustment command is transmitted by the user operating a touch display on the map display page, the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position, the adjustment gesture data is analyzed to acquire an adjustment index, the adjustment index is for identifying the positional change of the adjustment gesture in the current map display adjustment process, the map display page is enlarged or reduced according to the adjustment index and rotated between a first viewing angle and a second viewing angle, the aforementioned One viewing angle is the viewing angle within the parallel plane of the map, and the second viewing angle is the viewing angle within the cross-sectional plane of the map. This allows for the identification of adjustment indicators that can identify changes in the position of adjustment gestures based on the adjustment finger position generated when the user adjusts the map display. According to these adjustment indicators, adjustments can be made simultaneously to the map display page by zooming in / out, rotating within the parallel plane of the map, and rotating within the cross-sectional plane of the map. This enables the user to adjust multiple viewing angles with a single operation, eliminating the need for frequent switching operations to adjust the map display from different viewing angles, simplifying the adjustment operation of the map display page, and improving the user experience.
[0052] As an embodiment of the method shown in Figure 1 above, the present invention provides a map display adjustment device, which, as shown in Figure 3, comprises an acquisition module 31, an analysis module 32, a zoom module 33, and a rotation module 34.
[0053] The acquisition module 31 is configured to acquire adjustment gesture data when it receives an adjustment command on the map display page, the adjustment command being transmitted by the user operating the touch display on the map display, and the adjustment gesture data including at least an adjustment start finger position and an adjustment end finger position.
[0054] The analysis module 32 is configured to analyze the adjustment gesture data and obtain adjustment indicators, which are used to identify changes in the position of the adjustment gestures during the adjustment process of the current map display.
[0055] The zoom module 33 is configured to zoom in and out of the map display page according to the adjustment index.
[0056] The rotation module 34 is configured to rotate the map display page between a first viewing angle and a second viewing angle according to the adjustment index.
[0057] In one embodiment, as shown in Figure 4, the analysis module 32 includes a first calculation unit 321 and a specific unit 322. The first calculation unit 321 is configured to calculate a first center point and a second center point based on the adjustment start gesture position and the adjustment end gesture position, wherein the first center point is the midpoint of the line connecting the positions of the two fingers at the start of the adjustment, and the second center point is the midpoint of the line connecting the positions of the two fingers at the end of the adjustment. The first calculation unit 321 is further configured to calculate the relative displacement between the first center point and the second center point on the touch display. The first calculation unit 321 is further configured to calculate an adjustment ratio based on the adjustment start finger position and the adjustment end finger position, wherein the adjustment ratio is the ratio of the distance between the two fingers at the end of the adjustment to the distance between the two fingers at the start of the adjustment. The specified unit 322 is configured to identify the relative displacement and the adjustment ratio as the adjustment index.
[0058] In one embodiment, the rotation module 34 includes a second calculation unit 341 and a rotation unit 342. The second calculation unit 341 is configured to calculate a first displacement and a second displacement corresponding to the adjustment displacement, wherein the first displacement is the horizontal component of the adjustment displacement in the touch display, and the second displacement is the vertical component of the adjustment displacement in the touch display. The second calculation unit 341 is further configured to calculate a first angle and a second angle corresponding to the first displacement and the second displacement, respectively, according to a preset algorithm. The rotation unit 342 is configured to rotate the map display page at a first viewing angle according to the first angle, and at a second viewing angle according to the second angle.
[0059] In one embodiment, the scaling module 33 is If the adjustment ratio is greater than 1, the zoom unit 331 is configured to enlarge the map display page according to the adjustment ratio, The system includes a reduction unit 332 configured to reduce the map display page according to the adjustment ratio if the adjustment ratio is less than 1.
[0060] In one embodiment, the apparatus is The system further includes a determination module 35 configured to determine whether the adjustment gesture is a two-finger gesture based on the adjustment gesture data.
[0061] In one embodiment, the analysis module 32 is specifically configured to analyze the adjustment gesture data and obtain an adjustment index when the judgment module determines that the adjustment gesture is a two-finger gesture.
[0062] In one embodiment, the apparatus is The calculation module 36 is configured such that, when the judgment module determines that the adjustment gesture is a one-finger gesture, it calculates the drag displacement based on the adjustment start gesture position and the adjustment end gesture position, and the drag displacement is the corresponding displacement of the finger on the touch display during the adjustment process. The system further includes a movement module 37 configured to move the map display page within a parallel plane of the map based on the drag displacement.
[0063] This application provides a method and apparatus for adjusting a map display, and compared with related technologies, the embodiments of this disclosure acquire adjustment gesture data when an adjustment command for the map display page is received, the adjustment command is transmitted by the user operating a touch display on the map display page, the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position, the adjustment gesture data is analyzed to acquire an adjustment index, the adjustment index is for identifying positional changes of the adjustment gesture during the current map display adjustment process, the map display page is enlarged or reduced according to the adjustment index and rotated between a first viewing angle and a second viewing angle. The first viewing angle is the viewing angle within the parallel plane of the map, and the second viewing angle is the viewing angle within the cross-sectional plane of the map. This allows for the identification of adjustment indicators that can identify changes in the position of adjustment gestures based on the adjustment finger position generated when the user adjusts the map display. According to these adjustment indicators, adjustments can be made simultaneously to the map display page by zooming in / out, rotating within the parallel plane of the map, and rotating within the cross-sectional plane of the map. This enables the user to adjust multiple viewing angles with a single operation, eliminating the need for frequent switching operations to adjust the map display for different viewing angles, simplifying the adjustment operation of the map display page, and improving the user experience.
[0064] One embodiment of the present disclosure provides a storage medium in which at least one executable instruction is stored, and when the computer executable instruction is executed, the map display adjustment method of any of the above embodiment of the method is realized.
[0065] Figure 5 is a schematic diagram of the structure of a terminal provided by one embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific form of the terminal.
[0066] As shown in Figure 5, the terminal may include a processor 402, a communications interface 404, memory 406, and a communications bus 408.
[0067] Here, the processor 402, the communication interface 404, and the memory 406 communicate with each other via the communication bus 408.
[0068] The communication interface 404 is configured to communicate with network elements of other devices, such as clients or other servers.
[0069] The processor 402 is configured to execute the program 410, and specifically, can perform the correlated steps in the embodiment of the map display adjustment method described above.
[0070] Specifically, program 410 may include program code, which includes computer operation instructions.
[0071] The processor 402 may be a central processing unit CPU, an application-specific integrated circuit (ASIC), or one or more integrated circuits of the embodiments of this disclosure. The terminal may include one or more processors, which may be of the same type, for example, one or more CPUs, or different types of processors, for example, one or more CPUs and one or more ASICs.
[0072] Memory 406 is configured to store program 410. Memory 406 may include high-speed RAM memory, or it may include non-volatile memory, such as at least one magnetic disk memory.
[0073] Program 410 is specifically configured to cause processor 402 to perform the following operations: When an adjustment command is received on the map display page, adjustment gesture data is acquired, the adjustment command is transmitted by the user operating the touch display on the map display page, and the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position. The adjustment gesture data is analyzed to obtain an adjustment index, which is used to identify the positional change of the adjustment gesture during the current map display adjustment process. The map display page is enlarged or reduced according to the adjustment index, and rotated by a first viewing angle and a second viewing angle, where the first viewing angle is the viewing angle within the parallel plane of the map, and the second viewing angle is the viewing angle within the cross-section of the map.
[0074] Of course, as those skilled in the art will know, each module or step of the above disclosure may be implemented by a general-purpose computing device, which may be integrated into a single computing device or distributed across a network of multiple computing devices, which may optionally be implemented by computing device-executable program code, which may be stored in a memory device and executed by a computing device, which may in some cases perform steps shown or described in an order different from the order herein, which may be implemented as separate integrated circuit modules, or which may be implemented by combining multiple modules or steps in them into a single integrated circuit module. Thus, the disclosure is not limited to any particular combination of hardware and software.
[0075] The foregoing are merely preferred embodiments of the Disclosure and are not intended to limit the Disclosure. Those skilled in the art can make various modifications and variations of the Disclosure. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the Disclosure shall all be within the scope of protection of the Disclosure.
Claims
1. The steps include: when an adjustment command is received on the map display page, an adjustment gesture data is obtained, wherein the adjustment command is transmitted by the user operating the touch display on the map display page, and the adjustment gesture data includes at least an adjustment start finger position and an adjustment end finger position; A step of analyzing the adjustment gesture data to obtain an adjustment index, wherein the adjustment index is for identifying the positional change of the adjustment gesture during the adjustment process of the current map display. The steps include simultaneously scaling the map display page according to the adjustment index, rotating it by a first viewing angle, and rotating it by a second viewing angle, wherein the first viewing angle is the viewing angle in a parallel plane of the map, and the second viewing angle is the viewing angle in a cross-section of the map, The step of analyzing the aforementioned adjustment gesture data to obtain adjustment indicators is: A step of calculating a first center point and a second center point based on the adjustment start gesture position and the adjustment end gesture position, wherein the first center point is the midpoint of the line connecting the positions of the two fingers at the start of the adjustment, and the second center point is the midpoint of the line connecting the positions of the two fingers at the end of the adjustment. A step of calculating the relative displacement between the first center point and the second center point in the touch display, A step of calculating an adjustment ratio based on the adjustment start finger position and adjustment end finger position, wherein the adjustment ratio is the ratio of the distance between the two fingers at the end of the adjustment to the distance between the two fingers at the start of the adjustment. The step of identifying the relative displacement and the adjustment ratio as the adjustment index, The steps of simultaneously scaling the map display page according to the adjustment index, rotating it in the first viewing angle, and rotating it in the second viewing angle are: A step of calculating a first displacement and a second displacement corresponding to the relative displacement, wherein the first displacement is the horizontal component of the relative displacement of the touch display, and the second displacement is the vertical component of the relative displacement of the touch display, A step of calculating a first angle and a second angle corresponding to the first displacement and the second displacement, respectively, according to a pre-set algorithm, The steps include rotating the map display page according to the first angle and the second angle, respectively. A method for adjusting map display, characterized by the following:
2. The steps of simultaneously scaling the map display page according to the adjustment index, rotating it in the first viewing angle, and rotating it in the second viewing angle are: If the adjustment ratio is greater than 1, the step of enlarging the map display page according to the adjustment ratio, If the adjustment ratio is less than 1, the step of reducing the map display page according to the adjustment ratio is included. The method for adjusting the map display according to feature 1.
3. When a command to adjust the map display page is received, after acquiring the adjustment gesture data, the method shall The method further includes the step of determining whether the adjustment gesture is a two-finger gesture based on the adjustment gesture data, The step of analyzing the aforementioned adjustment gesture data to obtain adjustment indicators is: If the adjustment gesture is a two-finger gesture, the method includes the step of analyzing the adjustment gesture data to obtain an adjustment index. The method for adjusting the map display according to feature 1.
4. The aforementioned method, If the adjustment gesture is a one-finger gesture, the step is to calculate the drag displacement based on the adjustment start gesture position and the adjustment end gesture position, wherein the drag displacement is the corresponding displacement of the finger on the touch display during the adjustment process. The further step includes moving the map display page within a parallel plane of the map based on the drag displacement, The method for adjusting the map display according to feature 3.
5. The system is configured to acquire adjustment gesture data when it receives an adjustment command on the map display page, the adjustment command being transmitted by the user operating the touch display on the map display page, and the adjustment gesture data includes an acquisition module that includes at least an adjustment start finger position and an adjustment end finger position. An analysis module configured to analyze the adjustment gesture data and obtain adjustment indicators, wherein the adjustment indicators are for identifying changes in the position of the adjustment gestures during the adjustment process of the current map display, A zoom module configured to enlarge or reduce the map display page according to the adjustment index, The system includes a rotation module configured to rotate the map display page between a first viewing angle and a second viewing angle according to the adjustment index, The aforementioned analysis module is A first calculation unit is configured to calculate a first center point and a second center point based on the adjustment start gesture position and the adjustment end gesture position, wherein the first center point is the midpoint of the line connecting the positions of the two fingers at the start of the adjustment, and the second center point is the midpoint of the line connecting the positions of the two fingers at the end of the adjustment. A second calculation unit configured to calculate the relative displacement between the first center point and the second center point in the touch display, A third calculation unit is configured to calculate an adjustment ratio based on the adjustment start finger position and the adjustment end finger position, wherein the adjustment ratio is the ratio of the distance between the two fingers at the end of the adjustment to the distance between the two fingers at the start of the adjustment. A specific unit configured to identify the relative displacement and the adjustment ratio as the adjustment index, A map display adjustment device characterized by the following features.
6. At least one executable instruction is stored, and the executable instruction causes the processor to perform an operation corresponding to the map display adjustment method described in any one of claims 1 to 4. storage medium.
7. The system includes a processor, memory, a communication interface, and a communication bus, wherein the processor, memory, and communication interface communicate with each other via the communication bus. The memory is configured to store at least one executable instruction, the executable instruction causing the processor to perform an operation corresponding to the map display adjustment method described in any one of claims 1 to 4. Terminal.