CN114082185A - Virtual map display method and device, terminal equipment and storage medium - Google Patents

Virtual map display method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN114082185A
CN114082185A CN202111389180.3A CN202111389180A CN114082185A CN 114082185 A CN114082185 A CN 114082185A CN 202111389180 A CN202111389180 A CN 202111389180A CN 114082185 A CN114082185 A CN 114082185A
Authority
CN
China
Prior art keywords
touch operation
virtual map
user interface
input
graphical user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111389180.3A
Other languages
Chinese (zh)
Inventor
李宇城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202111389180.3A priority Critical patent/CN114082185A/en
Publication of CN114082185A publication Critical patent/CN114082185A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/53Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game
    • A63F13/537Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen
    • A63F13/5378Controlling the output signals based on the game progress involving additional visual information provided to the game scene, e.g. by overlay to simulate a head-up display [HUD] or displaying a laser sight in a shooting game using indicators, e.g. showing the condition of a game character on screen for displaying an additional top view, e.g. radar screens or maps

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a display method and device of a virtual map, terminal equipment and a storage medium, and relates to the technical field of human-computer interaction. The display method of the virtual map comprises the following steps: responding to an input first touch operation aiming at a target location on the virtual map, and adjusting a preset display position of a graphical user interface to the target location; and responding to the input second touch operation to zoom the virtual map. The terminal responds to the input first touch operation and displays the target location at a preset display position of the graphical user interface; and then responding to the input second touch operation, zooming the virtual map, viewing the target location, wherein the target location is not displaced in the zooming process, and the experience of viewing the location in the map by a user is improved.

Description

Virtual map display method and device, terminal equipment and storage medium
Technical Field
The invention relates to the technical field of human-computer interaction, in particular to a display method and device of a virtual map, terminal equipment and a storage medium.
Background
With the continuous updating and development of the hardware configuration of the intelligent terminal, various applications and games on the intelligent terminal also enter a rapid development stage. In some applications or games, a user needs to check maps with different scales, the user performs zooming operation by using two hands, and meanwhile due to the change of the scales, the position of a to-be-checked place in the map on a screen can be displaced in the zooming process, the user needs to reposition, the user cannot conveniently check the place in the map, and the user experience is reduced.
Disclosure of Invention
The present invention aims to provide a method, an apparatus, a terminal device and a storage medium for displaying a virtual map, so as to solve the problems that in the related art, a user needs to perform a zoom operation with both hands, and a location to be viewed during the zoom operation is displaced, the user needs to reposition, the user is inconvenient to view the location in the map, and the user experience is reduced.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for displaying a virtual map, where a terminal device provides a graphical user interface, where: a virtual map, the method comprising:
responding to an input first touch operation aiming at a target place on the virtual map, and adjusting a preset display position of the graphical user interface to the target place;
and responding to the input second touch operation, and zooming the virtual map.
Optionally, the first touch operation is a long press touch operation acting on the target location, and the second touch operation is a sliding touch operation.
Optionally, the second touch operation is a sliding touch operation with the target location as a sliding starting point.
Optionally, if the sliding touch operation is a sliding touch operation facing a first direction, the responding to the input second touch operation performs a zoom operation on the game, including:
and responding to the input sliding touch operation towards the first direction, and amplifying the virtual map.
Optionally, if the sliding touch operation is a sliding touch operation facing a second direction, the responding to the input second touch operation performs a zoom operation on the game, including:
and zooming out the virtual map in response to the input sliding touch operation towards the second direction.
Optionally, the method further includes:
and if the cancel operation of the second touch operation is detected, stopping zooming the virtual map.
Optionally, the cancelling operation is a hands-free operation.
Optionally, the sliding touch operation is a sliding touch operation continuous to the long-press touch operation; or, a sliding touch operation discontinuous from the long press touch operation.
Optionally, the adjusting the preset display position of the gui to the target location includes:
and adjusting the display center of the graphical user interface to the target location.
In a second aspect, an embodiment of the present invention further provides a display apparatus for a virtual map, where a terminal device provides a graphical user interface, where: a virtual map, the apparatus comprising:
the adjusting module is used for responding to an input first touch operation aiming at a target place on the virtual map and adjusting a preset display position of the graphical user interface to the target place;
and the zooming module is used for responding to the input second touch operation and zooming the virtual map.
Optionally, the first touch operation is a long press touch operation acting on the target location, and the second touch operation is a sliding touch operation.
Optionally, the second touch operation is a sliding touch operation with the target location as a sliding starting point.
Optionally, if the sliding touch operation is a sliding touch operation facing the first direction, the zooming module is further configured to respond to the input sliding touch operation facing the first direction and zoom in the virtual map.
Optionally, if the sliding touch operation is a sliding touch operation facing a second direction, the zooming module is further configured to respond to the input sliding touch operation facing the second direction, and zoom out the virtual map.
Optionally, the apparatus further comprises:
and the zooming stopping module is used for stopping zooming the virtual map if the canceling operation of the second touch operation is detected.
Optionally, the cancellation operation is a hands-free operation.
Optionally, the sliding touch operation is a sliding touch operation continuous to the long-press touch operation; or, a sliding touch operation discontinuous from the long press touch operation.
Optionally, the adjusting module is further configured to adjust a display center of the graphical user interface to the target location.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: a memory in which a computer program executable by the processor is stored, and a processor that implements the method for displaying a virtual map according to any one of the first aspect described above when the computer program is executed by the processor.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is read and executed, the method for displaying a virtual map according to any one of the first aspect is implemented.
The invention has the beneficial effects that: the embodiment of the invention provides a display method and device of a virtual map, a terminal device and a storage medium, wherein a graphical user interface is provided through the terminal device, and the graphical user interface displays: a virtual map, the method may include: responding to an input first touch operation aiming at a target location on the virtual map, and adjusting a preset display position of a graphical user interface to the target location; and responding to the input second touch operation to zoom the virtual map. The terminal responds to the input first touch operation and displays the target location at a preset display position of the graphical user interface; and then responding to the input second touch operation, zooming the virtual map, realizing the viewing of the target location, wherein the target location cannot be displaced in the zooming process, and the experience of viewing the location in the map by the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart illustrating a method for displaying a virtual map according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a graphical user interface provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a graphical user interface according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a display apparatus of a virtual map according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it should be noted that if the terms "upper", "lower", etc. are used for indicating the orientation or positional relationship based on the orientation or positional relationship shown in the drawings or the orientation or positional relationship which is usually arranged when the product of the application is used, the description is only for convenience of describing the application and simplifying the description, but the indication or suggestion that the referred device or element must have a specific orientation, be constructed in a specific orientation and operation, and thus, cannot be understood as the limitation of the application.
Furthermore, the terms "first," "second," and the like in the description and in the claims, as well as in the drawings, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
With the continuous updating and development of the hardware configuration of the intelligent terminal, various applications and games on the intelligent terminal also enter a rapid development stage. In some applications or games, a user needs to check maps with different scales, the user performs zooming operation by using two hands, and meanwhile due to the change of the scales, the position of a to-be-checked place in the map on a screen can be displaced in the zooming process, the user needs to reposition, the user cannot conveniently check the place in the map, and the user experience is reduced.
To solve the technical problems in the related art, an embodiment of the present application provides a method for displaying a virtual map, in which a terminal device provides a graphical user interface, and the graphical user interface displays: the virtual map, the method may include: responding to an input first touch operation aiming at a target location on the virtual map, and adjusting a preset display position of a graphical user interface to the target location; and responding to the input second touch operation to zoom the virtual map. The terminal responds to the input first touch operation and displays the target location at a preset display position of the graphical user interface; and then responding to the input second touch operation, zooming the virtual map, realizing the viewing of the target location, wherein the target location cannot be displaced in the zooming process, improving the experience of viewing the location in the map by the user, and improving the zooming efficiency of the virtual map.
The embodiment of the application provides a display method of a virtual map, and an execution main body of the display method can be terminal equipment. In practical application, the terminal device may be any one of the following devices: smart phones, tablet computers, desktop computers, notebook computers, and the like, which are not particularly limited in this application. The following explains a method for displaying a virtual map provided in the embodiments of the present application, with a terminal as an execution subject.
The terminal may be displayed with a graphical user interface in which a virtual map may be displayed. The virtual map may be a virtual map in a game, a virtual map in a navigation application, or a virtual map in other scenes, which is not specifically limited in the embodiment of the present application.
Optionally, the Game may be an SLG (Simulation Game), and of course, may also be other types of games that need to be applied to a virtual map, which is not specifically limited in this embodiment of the present application.
The virtual map may be a map drawn based on an actual geographic environment or a completely fictive map made by a designer. The virtual map may be a three-dimensional map or a two-dimensional map.
Fig. 1 is a schematic flowchart of a method for displaying a virtual map according to an embodiment of the present invention, as shown in fig. 1, the method may include:
s101, responding to the input first touch operation aiming at the target location on the virtual map, and adjusting the preset display position of the graphical user interface to the target location.
The virtual map may include a plurality of preset locations, and the plurality of preset locations include a target location.
In some embodiments, a user may determine a target location from a plurality of preset locations of a virtual map according to actual needs, and then input a first touch operation for the target location; the terminal can respond to the first touch operation and adjust the preset display position of the graphical user interface to the target position, so that the target position is displayed at the preset display position of the graphical user interface.
It should be noted that adjusting the preset display position of the gui to the target location means adjusting the target location selected by the user to the preset display position of the gui and fixing the preset display position displayed on the gui, so that the target location is not displaced during the subsequent map scaling operation by the user, and thus, the repositioning is not required. The terminal can adjust the position of the virtual camera, so that the target location is displayed at the preset display position of the graphical user interface. The preset display position may be a display center of the graphical user interface, a preset region of the graphical user interface, or other positions set in advance according to actual requirements, which is not specifically limited in the embodiment of the present application.
In addition, the first touch operation may be a click operation or a long-time press operation, where the click operation may be a click operation or a double-click operation, and of course, the first touch operation may also be other types of operations.
And S102, responding to the input second touch operation and zooming the virtual map.
The second touch operation may be continuous with the first touch operation, that is, the starting touch point of the second touch operation is the same as the ending touch point of the first touch operation. The second touch operation may also be discontinuous from the first touch operation, i.e., the starting touch point of the second touch operation is different from the ending touch point of the first touch operation.
In some embodiments, when the user needs to zoom the virtual map, a second touch operation may be input on the graphical user interface, and the terminal zooms the virtual map in response to the second touch operation. The terminal can respond to the second touch operation, adjust the height of the virtual camera and zoom the virtual map.
It should be noted that the second touch operation may be a sliding operation, a clicking operation, an operation on a zoom control displayed on the graphical user interface, and the like, which is not specifically limited in the embodiment of the present application.
In practical applications, the first touch operation and the second touch operation may be operations input by a user through a display screen of the touch terminal.
In summary, an embodiment of the present invention provides a method for displaying a virtual map, in which a terminal device provides a graphical user interface, and the graphical user interface displays: the virtual map, the method may include: responding to an input first touch operation aiming at a target location on the virtual map, and adjusting a preset display position of the graphical user interface to the target location; and responding to the input second touch operation to zoom the virtual map. The terminal responds to the input first touch operation and displays the target location at a preset display position of the graphical user interface; and then responding to the input second touch operation, zooming the virtual map, viewing the target location, wherein the target location is not displaced in the zooming process, and the experience of viewing the location in the map by a user is improved.
Optionally, the first touch operation is a long press touch operation applied to the target location, and the second touch operation is a slide touch operation.
Optionally, the sliding touch operation is a sliding touch operation continuous with the long-press touch operation; or, a sliding touch operation discontinuous from the long press touch operation.
In some embodiments, the terminal, in response to an input long-press touch operation acting on the target location, may count a press duration of the long-press touch operation, determine whether the press duration is greater than or equal to a preset duration, and adjust a preset display position of the graphical user interface to the target location when it is determined that the press duration is greater than or equal to the preset duration.
In other embodiments, the terminal may determine a pressure value of the long-press touch operation in response to the input long-press touch operation acting on the target location, determine whether the pressure value is greater than or equal to a preset pressure threshold, and adjust the preset display position of the gui to the target location when it is determined that the pressure value is greater than or equal to the preset pressure threshold.
In addition, when the second touch operation is a sliding touch operation, the second touch operation may be a sliding operation that is continuous with the first touch operation, that is, a starting point of the sliding operation may be an end point (a position of the target point) of the first touch operation; the second touch operation may also be a sliding operation that is not consecutive to the first touch operation, that is, the starting point of the sliding operation may be any position in the graphical user interface.
Optionally, the second touch operation is a sliding touch operation with the target location as a sliding starting point.
In the embodiment of the present application, the user inputs the long press touch operation applied to the target point, where the end point of the long press touch operation is the position of the target point, and when the second touch operation and the first touch operation are continuous, the sliding start point of the second touch operation is the target point.
In summary, the first touch operation is a long-press touch operation applied to the target location, and the second touch operation is a sliding touch operation with the target location as a sliding starting point. The first touch operation and the second touch operation are continuous operations, and a user can quickly zoom the map by inputting consecutive operations with one hand (for example, using the same finger to firstly perform a long-time touch operation and then perform a sliding touch operation).
Optionally, if the sliding touch operation is a sliding touch operation facing the first direction.
The process of performing a zoom operation on the game in response to the input second touch operation in S102 may include:
and responding to the input sliding touch operation towards the first direction, and magnifying the virtual map.
The first direction may be a downward direction or a rightward direction, and may also be an upward direction or a leftward direction.
In some embodiments, the terminal may respond to an input sliding touch operation, determine a direction of the sliding touch operation, determine whether the direction of the sliding touch operation is a first direction, and if the direction is the first direction, enlarge the virtual map.
It should be noted that the terminal may enlarge the virtual map by adjusting the height of the virtual camera, for example, the display content of the virtual map in the graphical user interface may be enlarged by reducing the height of the virtual camera, and accordingly, the display range of the virtual map in the graphical user interface may be reduced.
Fig. 2 is a schematic display diagram of a graphical user interface according to an embodiment of the present invention, as shown in fig. 2, a virtual map is displayed in the graphical user interface, the second touch operation may be a sliding touch operation that slides downward with a position a as a starting point, and after the second touch operation is input, the virtual map may be enlarged, so that a smaller range of virtual map is correspondingly displayed, that is, fewer places are included in the virtual map.
In summary, the terminal responds to the input sliding touch operation towards the first direction to amplify the virtual map, the user only needs to input the sliding touch operation towards the first direction, the sliding touch operation can be completed by a single finger, and in the amplifying process, as the target location is fixedly displayed at the preset display position of the graphical user interface, the virtual map does not jump, so that the experience of the user for amplifying the virtual map is greatly improved.
Optionally, if the sliding touch operation is a sliding touch operation facing the second direction.
The process of performing the zoom operation on the game in response to the input second touch operation in S102 may include:
and responding to the input sliding touch operation towards the second direction to shrink the virtual map.
The second direction may be an upward direction, a leftward direction, or a downward direction or a rightward direction.
In some embodiments, the terminal may respond to an input sliding touch operation, determine a direction of the sliding touch operation, determine whether the direction of the sliding touch operation is a second direction, and if the direction of the sliding touch operation is the second direction, shrink the virtual map.
It should be noted that the terminal may reduce the virtual map by adjusting the height of the virtual camera, for example, the display content of the virtual map in the graphical user interface may be reduced by increasing the height of the virtual camera, and accordingly the display range of the virtual map in the graphical user interface may be enlarged.
Fig. 3 is a schematic display diagram of a graphical user interface according to an embodiment of the present invention, as shown in fig. 3, a virtual map is displayed in the graphical user interface, the second touch operation may be a sliding touch operation that slides upward with the position a as a starting point, and after the second touch operation is input, the virtual map may be reduced, and accordingly, a virtual map with a wider range is displayed, that is, more places are included in the virtual map.
In summary, the terminal responds to the input sliding touch operation towards the second direction to reduce the virtual map, the user only needs to input the sliding touch operation towards the second direction, the sliding touch operation can be completed by a single finger, and in the reducing process, as the target location is fixedly displayed at the preset display position of the graphical user interface, the virtual map does not jump, so that the experience of the user in reducing the virtual map is greatly improved.
Optionally, the method may further include: and if the cancel operation of the second touch operation is detected, stopping zooming the virtual map.
In some embodiments, when the zooming of the virtual map meets the user's requirement, the user may input a cancel operation, and the terminal may control the virtual camera to maintain the current height in response to the cancel operation, stop zooming the virtual map, and display the virtual map within the current range. After the operation is cancelled, the target location can no longer be fixedly displayed in the preset display area, and the user can further change the display area of the virtual map in the graphical user interface through touch operation such as sliding operation according to needs.
In practical application, the cancellation operation may be a sliding operation in a preset third direction, a touch operation for a cancellation control displayed on the graphical user interface, and other types of touch operations, which is not specifically limited in this embodiment of the present application.
Optionally, the cancellation operation is a hands-free operation.
It should be noted that, after the user inputs the second touch operation, the user may perform a hands-off operation, and when the terminal may detect that the touch point of the second touch operation disappears, it is determined that the cancel operation of the second touch operation is detected.
Optionally, the process of adjusting the preset display position of the gui to the target location in S101 includes: and adjusting the display center of the graphical user interface to the target location.
In some embodiments, a user may determine a target location from a plurality of preset locations of a virtual map according to actual needs, and then input a first touch operation for the target location; the terminal can respond to the first touch operation, and adjust the display center of the graphical user interface to the target location, so that the target location is displayed in the display center of the graphical user interface.
In summary, the display center of the graphical user interface is adjusted to the target location, and the target location is displayed in the display center of the graphical user interface, so that the user can observe the target location conveniently, and the virtual map is zoomed based on the target location.
In summary, an embodiment of the present invention provides a method for displaying a virtual map, in which a terminal device provides a graphical user interface, and the graphical user interface displays: a virtual map, the method may include: responding to an input first touch operation aiming at a target location on the virtual map, and adjusting a preset display position of a graphical user interface to the target location; and responding to the input second touch operation to zoom the virtual map. The terminal responds to the input first touch operation and displays the target location at a preset display position of the graphical user interface; and then responding to the input second touch operation, zooming the virtual map, realizing the viewing of the target location, wherein the target location cannot be displaced in the zooming process, improving the experience of viewing the location in the map by the user, and improving the zooming efficiency of the virtual map.
The following describes a display apparatus, a terminal device, a storage medium, and the like of a virtual map for executing the display method of the virtual map provided in the present application, and for specific implementation processes and technical effects thereof, reference is made to the relevant contents of the display method of the virtual map, which will not be described in detail below.
Fig. 4 is a schematic structural diagram of a display apparatus of a virtual map according to an embodiment of the present invention, and as shown in fig. 4, a graphical user interface is provided through a terminal device, where: the virtual map, the apparatus may include:
the adjusting module 401 is configured to adjust a preset display position of the graphical user interface to a target location on the virtual map in response to an input first touch operation for the target location;
a zooming module 402, configured to zoom the virtual map in response to the input second touch operation.
Optionally, the first touch operation is a long press touch operation acting on the target location, and the second touch operation is a sliding touch operation.
Optionally, the second touch operation is a sliding touch operation with the target location as a sliding starting point.
Optionally, if the sliding touch operation is a sliding touch operation facing the first direction, the zooming module 402 is further configured to respond to the input sliding touch operation facing the first direction and zoom in the virtual map.
Optionally, if the sliding touch operation is a sliding touch operation facing a second direction, the zooming module 402 is further configured to respond to the input sliding touch operation facing the second direction to zoom out the virtual map.
Optionally, the apparatus further comprises:
and the zooming stopping module is used for stopping zooming the virtual map if the canceling operation of the second touch operation is detected.
Optionally, the cancelling operation is a hands-free operation.
Optionally, the sliding touch operation is a sliding touch operation continuous to the long-press touch operation; or, a sliding touch operation discontinuous from the long press touch operation.
Optionally, the adjusting module 401 is further configured to adjust a display center of the gui to the target location.
The display device of the virtual map is used for executing the display method of the virtual map provided by the foregoing embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 5, the terminal device may include: a processor 501 and a memory 502.
The memory 502 is used for storing programs, and the processor 501 calls the programs stored in the memory 502 to execute the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A display method of a virtual map is characterized in that a graphical user interface is provided through a terminal device, and the graphical user interface displays: a virtual map, the method comprising:
responding to an input first touch operation aiming at a target place on the virtual map, and adjusting a preset display position of the graphical user interface to the target place;
and responding to the input second touch operation, and zooming the virtual map.
2. The method according to claim 1, wherein the first touch operation is a long press touch operation applied to the target location, and the second touch operation is a slide touch operation.
3. The method according to claim 2, wherein the second touch operation is a sliding touch operation with the target location as a sliding starting point.
4. The method of claim 2, wherein if the sliding touch operation is a sliding touch operation facing a first direction, the second touch operation responding to the input performs a zoom operation on the game, including:
and responding to the input sliding touch operation towards the first direction, and amplifying the virtual map.
5. The method of claim 2, wherein if the sliding touch operation is a sliding touch operation facing a second direction, the second touch operation in response to the input performs a zoom operation on the game, and the method comprises:
and zooming out the virtual map in response to the input sliding touch operation towards the second direction.
6. The method of claim 2, further comprising:
and if the cancel operation of the second touch operation is detected, stopping zooming the virtual map.
7. The method of claim 6, wherein the cancellation operation is a hands-free operation.
8. The method according to claim 2, wherein the sliding touch operation is a sliding touch operation consecutive to the long-press touch operation; or, a sliding touch operation discontinuous from the long press touch operation.
9. The method of claim 1, wherein the adjusting the preset display position of the graphical user interface to the target location comprises:
and adjusting the display center of the graphical user interface to the target location.
10. A zooming device of a virtual map is characterized in that a graphical user interface is provided through a terminal device, and the graphical user interface displays: a virtual map, the apparatus comprising:
the adjusting module is used for responding to an input first touch operation aiming at a target place on the virtual map and adjusting a preset display position of the graphical user interface to the target place;
and the zooming module is used for responding to the input second touch operation and zooming the virtual map.
11. A terminal device, comprising: a memory storing a computer program executable by the processor, and a processor implementing the method of displaying a virtual map according to any one of claims 1 to 9 when the computer program is executed by the processor.
12. A storage medium having stored thereon a computer program which, when read and executed, implements the method of displaying a virtual map according to any one of claims 1 to 9.
CN202111389180.3A 2021-11-22 2021-11-22 Virtual map display method and device, terminal equipment and storage medium Pending CN114082185A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111389180.3A CN114082185A (en) 2021-11-22 2021-11-22 Virtual map display method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111389180.3A CN114082185A (en) 2021-11-22 2021-11-22 Virtual map display method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114082185A true CN114082185A (en) 2022-02-25

Family

ID=80303054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111389180.3A Pending CN114082185A (en) 2021-11-22 2021-11-22 Virtual map display method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114082185A (en)

Similar Documents

Publication Publication Date Title
EP3223127B1 (en) Apparatus for executing split screen display and operating method therefor
US9292161B2 (en) Pointer tool with touch-enabled precise placement
CN109771941B (en) Method, device, equipment and medium for selecting virtual object in game
US9035883B2 (en) Systems and methods for modifying virtual keyboards on a user interface
CN102520860B (en) A kind of method and mobile terminal for carrying out desktop display control
KR102147879B1 (en) Magnifying tool for viewing and interacting with data visualizations on mobile devices
US20140145945A1 (en) Touch-based input control method
KR20150092672A (en) Apparatus and Method for displaying plural windows
CN111857468A (en) Content sharing method and device, equipment and storage medium
CN107704157B (en) Multi-screen interface operation method and device and storage medium
CN114546212B (en) Method, device and equipment for adjusting interface display state and storage medium
CN111701226A (en) Control method, device and equipment for control in graphical user interface and storage medium
CN113536173B (en) Page processing method and device, electronic equipment and readable storage medium
CN106469000A (en) A kind of screen content amplification method and terminal unit
US20120179963A1 (en) Multi-touch electronic device, graphic display interface thereof and object selection method of multi-touch display
CN111427505A (en) Page operation method, device, terminal and storage medium
CN112269501A (en) Icon moving method and device and electronic equipment
CN113282213A (en) Interface display method and device
CN113244611B (en) Virtual article processing method, device, equipment and storage medium
CN106249879A (en) The display packing of a kind of virtual reality image and terminal
CN110417984B (en) Method, device and storage medium for realizing operation in special-shaped area of screen
CN112799571B (en) Display control method, device, terminal and storage medium for secondary confirmation
CN108491152B (en) Touch screen terminal control method, terminal and medium based on virtual cursor
CN112764862A (en) Application program control method and device and electronic equipment
CN111638828A (en) Interface display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination