CN108008905B - Map display method and device, electronic equipment and storage medium - Google Patents

Map display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108008905B
CN108008905B CN201711261734.5A CN201711261734A CN108008905B CN 108008905 B CN108008905 B CN 108008905B CN 201711261734 A CN201711261734 A CN 201711261734A CN 108008905 B CN108008905 B CN 108008905B
Authority
CN
China
Prior art keywords
map
gesture
touch
sweeping
pressure
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.)
Active
Application number
CN201711261734.5A
Other languages
Chinese (zh)
Other versions
CN108008905A (en
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.)
Ctrip Travel Network Technology Shanghai Co Ltd
Original Assignee
Ctrip Travel Network Technology Shanghai 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 Ctrip Travel Network Technology Shanghai Co Ltd filed Critical Ctrip Travel Network Technology Shanghai Co Ltd
Priority to CN201711261734.5A priority Critical patent/CN108008905B/en
Publication of CN108008905A publication Critical patent/CN108008905A/en
Application granted granted Critical
Publication of CN108008905B publication Critical patent/CN108008905B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a map display method, a map display device, electronic equipment and a storage medium, wherein the map display method comprises the following steps: displaying a map on a display screen, and recognizing a sweeping gesture on the map; judging whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold value; if the touch pressure of the sweeping gesture is not less than the first pressure threshold, judging whether the sweeping gesture keeps the first time threshold at the same touch position; if not, when the sweeping gesture is recognized to move along the first direction/the second direction, the map is enlarged/reduced by taking the initial touch position of the sweeping gesture as the center; if so, the touch position is marked as a selected position on the map, and when another scanning gesture is recognized and moves along the first direction/the second direction by using the touch pressure not less than the first pressure threshold value, the map is enlarged/reduced by taking the selected position as the center. The method and the device provided by the invention can realize the map zooming of a single finger and the determination of the zooming center according to different pressures and touch positions.

Description

Map display method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of computer application, in particular to a map display method, a map display device, electronic equipment and a storage medium.
Background
Existing mobile devices, such as smartphones, car navigation, etc., are loaded with map displays in which the display map is drawn from map data, which typically includes a large number of map location markers (e.g., points of Interest (POI), such as restaurants, hotels, shopping malls, schools, gas stations, etc.).
The existing map has a single operation mode, and the movement of the map can only be realized by single-finger operation. In some prior arts, map enlargement is realized by two single-finger-click touches with a very short interval time, but in this way, only map stepwise enlargement can be realized, and map reduction cannot be realized. In other prior art, zooming in and out of the map is accomplished by the icons of the "+" and "-" signs indicating user touch, however, these icons tend to obscure map information.
Therefore, how to improve the map display control efficiency is an urgent problem to be solved in the field.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a map display method, a map display device, electronic equipment and a storage medium, so as to improve the map display control efficiency.
According to an aspect of the present invention, there is provided a map displaying method, including: displaying a map on a display screen, and recognizing a sweeping gesture on the map; judging whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold value; if the touch pressure of the sweeping gesture is smaller than a first pressure threshold, moving the map according to the moving direction and the moving displacement of the sweeping gesture; if the touch pressure of the sweeping gesture is not less than a first pressure threshold, judging whether the sweeping gesture keeps a first time threshold at the same touch position; if the sweeping gesture does not keep a first time threshold value at the same touch position, zooming in the map by taking the initial touch position of the sweeping gesture as a center when the sweeping gesture is recognized to move along a first direction, and zooming out the map by taking the initial touch position of the sweeping gesture as a center when the sweeping gesture is recognized to move along a second direction, wherein the first direction is opposite to the second direction; if the sweep gesture keeps the same touch position for a first time threshold, identifying the touch position of the sweep gesture, marking the touch position as a selected position on the map, after the sweep gesture keeps the same touch position for the first time threshold, when another sweep gesture is identified and moves along a first direction with the touch pressure not less than the first pressure threshold, taking the selected position as the center, magnifying the map, and when the sweep gesture is identified and moves along a second direction with the touch pressure not less than the first pressure threshold, magnifying the map with the selected position as the center.
Optionally, if the touch pressure of the swipe gesture is not less than the first pressure threshold, and when the swipe gesture is recognized to move along the first direction/the second direction, the moving distance of the swipe gesture is proportional to the ratio of zooming in/out.
Optionally, the identifying a touch location of the swipe gesture and marking the touch location as a selected location on the map comprises: taking the selected position as a center, and acquiring a plurality of interest points in the currently displayed map; classifying according to the information of the interest points; displaying the classified name icons radially around the selected location, wherein a line connecting any classified name icon with the selected location is not parallel to the first direction and the second direction.
Optionally, after the sweep gesture is maintained at the same touch position for a first time threshold, when another sweep gesture is recognized to move in a direction other than the first direction and the second direction with a touch pressure not less than the first pressure threshold, calculating an included angle between a moving direction of the another sweep gesture and a connecting line between each name icon and the selected position; determining a name icon with the smallest included angle between the connecting line of the selected position and the moving direction of the other sweeping gesture; and displaying a plurality of interest point lists under the classification corresponding to the name icon on one side of the name icon away from the selected position.
Optionally, the displaying, at a side of the name icon far from the selected location, a plurality of interest point lists under a category corresponding to the name icon includes: obtaining the distances between a plurality of interest points under the classification corresponding to the name icon and the selected position; and arranging the interest points from near to far according to the distance and forming the interest point list.
Optionally, the name icon of each category further displays the number of interest points under the category.
Optionally, after the sweep gesture is maintained at the same touch position for a first time threshold, when another sweep gesture is recognized to move along the first direction/the second direction with a touch pressure not less than the first pressure threshold, the number of the points of interest displayed by the name icon is updated.
Optionally, there is a break between the swipe gesture and another swipe gesture.
Optionally, the swipe gesture and the other swipe gesture are consecutive.
According to still another aspect of the present invention, there is also provided a map display apparatus, including: the display module displays a map on a display screen and identifies a sweeping gesture on the map; the first judgment module is used for judging whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold value; the map moving module is used for moving the map according to the moving direction and the moving displacement of the sweeping gesture if the touch pressure of the sweeping gesture is smaller than a first pressure threshold; the second judgment module is used for judging whether the sweeping gesture keeps a first time threshold value at the same touch position or not if the touch pressure of the sweeping gesture is not smaller than the first pressure threshold value; the recognition module is used for recognizing the moving direction of the sweeping gesture if the sweeping gesture does not keep a first time threshold value at the same touch position; a first zooming module, configured to zoom in the map around an initial touch position of the sweeping gesture as a center when the recognition module recognizes that the sweeping gesture moves in a first direction, and zoom out the map around the initial touch position of the sweeping gesture as a center when the recognition module recognizes that the sweeping gesture moves in a second direction, where the first direction and the second direction are opposite; a second zooming module, configured to identify a touch location of the swipe gesture if the swipe gesture remains at the same touch location for a first time threshold, and mark the touch location as a selected location on the map, and after the swipe gesture remains at the same touch location for the first time threshold, when another swipe gesture is identified and the other swipe gesture moves along a first direction with a touch pressure not less than the first pressure threshold, the second zooming module zooms in the map with the selected location as a center, and when the swipe gesture is identified and the other swipe gesture moves along a second direction with a touch pressure not less than the first pressure threshold, the second zooming module zooms in the map with the selected location as a center.
According to still another aspect of the present invention, there is also provided an electronic apparatus, including: a processor; a storage medium having stored thereon a computer program which, when executed by the processor, performs the steps as described above.
According to yet another aspect of the present invention, there is also provided a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps as described above.
Compared with the prior art, the invention has the advantages that:
1) the map is moved and zoomed through single-finger touch movement gestures with different pressures, and meanwhile, the central point of the map is determined through continuous touch at the same position by a single finger larger than a pressure threshold value, so that a user can conveniently touch the map without displaying any icon for zooming in and out on an interface for displaying the map, and the display scale of the map is increased;
2) the classification of the interest points is realized through single-finger touch, and in the arrangement of the classified name icons and the selected positions, the connecting lines of the name icons and the selected positions are not parallel to the first direction and the second direction, so that the classification display of the interest points and the distinction of the zooming-in and zooming-out sweeping gestures are realized;
3) when the name icons of the categories are displayed around the selected position, the number of interest points under each category can also be displayed, and the number is updated along with the zooming-in and zooming-out operation of the map by the zooming-in and zooming-out sweeping gesture.
Therefore, the method and the device realize the map operation of single finger by combining the touch parameters such as pressure touch, touch direction, touch distance and the like, are convenient for the user to select the zoom center, and are convenient for the user to intuitively browse the target location on the map by classifying and displaying the interest points.
Drawings
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 shows a flowchart of a map presentation method according to an embodiment of the present invention.
Fig. 2 to 10 show schematic diagrams of different controls of map presentation according to an embodiment of the invention.
Fig. 11 shows a schematic diagram of a map presentation apparatus according to an embodiment of the present invention.
Fig. 12 schematically illustrates a computer-readable storage medium in an exemplary embodiment of the disclosure.
Fig. 13 schematically illustrates an electronic device in an exemplary embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In order to overcome the defects of the prior art and improve the map display control efficiency, the invention provides a map display method, a map display device, electronic equipment and a storage medium.
The map display method provided by the invention is described below with reference to fig. 1.
Step S110: displaying a map on a display screen, and recognizing a sweeping gesture on the map.
Step S120: and judging whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold value.
If it is determined in step S120 that the touch pressure of the sweep gesture is smaller than the first pressure threshold, step S130 is executed: and moving the map according to the moving direction and the moving displacement of the sweeping gesture.
If it is determined in step S120 that the touch pressure of the sweep gesture is not less than the first pressure threshold, step S140 is executed: and judging whether the sweeping gesture keeps a first time threshold value at the same touch position.
If it is determined in step S140 that the sweep gesture does not maintain the first time threshold at the same touch location, step S150 is executed to zoom in the map with the initial touch location of the sweep gesture as the center when the sweep gesture is recognized to move along the first direction, and zoom out the map with the initial touch location of the sweep gesture as the center when the sweep gesture is recognized to move along the second direction, where the first direction is opposite to the second direction.
Specifically, if the touch pressure of the swipe gesture is not less than the first pressure threshold, and when the swipe gesture is recognized to move along the first direction/the second direction, the movement distance of the swipe gesture is proportional to the ratio of zooming in/out. Further, an upper limit of enlargement and a lower limit of reduction may be set, and when the map is enlarged to the upper limit, the map is not enlarged; when the map is narrowed down to the lower limit, the map is not narrowed down.
If it is determined in step S140 that the sweep gesture remains at the same touch position for the first time threshold, execute step S160: a touch location of the swipe gesture is identified and marked as a selected location on the map.
After step S160, step S170 is performed: and when another scanning gesture is identified to move along a first direction by using the touch pressure not less than the first pressure threshold, zooming in the map by using the selected position as the center, and when the scanning gesture is identified to move along a second direction by using the touch pressure not less than the first pressure threshold, zooming out the map by using the selected position as the center. In some embodiments, there is a break between the sweep gesture and another sweep gesture in the above steps (the selected location may be different from the initial location of the other sweep gesture). In some embodiments, the sweep gesture and the another sweep gesture in the above steps are consecutive (the selected position is the initial position of the another sweep gesture).
Various embodiments of the present invention are described below with reference to fig. 2 to 10, respectively.
Referring first to FIG. 2, FIG. 2 shows a map 200, when a sweep gesture 291 is identified that is less than a first pressure threshold, the map is moved in the direction and distance of the sweep gesture 291, as shown in FIG. 3. Further, in some embodiments, a search box or other map control component may be displayed if the map 200 is clicked with a swipe gesture that is less than the first pressure threshold.
Referring now to FIG. 4, when a swipe gesture 292 is identified as being no less than the first pressure threshold, moving in the first direction D1, the map 200 is zoomed in on the initial position of the swipe gesture 292 (the center is the zoom center and not the map display center as described herein) as shown in FIG. 5. Optionally, the magnification of the map 200 is proportional to the displacement of the sweep gesture 292. When a swipe gesture 292 is identified that is not less than the first pressure threshold moving in the second direction D2 (opposite the first direction D1), the map 200 (not shown) is zoomed out centered on the initial position of the swipe gesture 292.
Referring now to FIG. 6, when a swipe gesture 293 not less than the first pressure threshold is identified to remain at the same touch location for a first time threshold, the touch location is marked as selected location 210 on map 200. After the location 210 mark is selected, if another swipe gesture 294 is recognized that is interrupted by the swipe gesture 293 and moved in the first direction D1, the map 200 is enlarged centering on the selected location 210 as shown in fig. 7. If another swipe gesture 294 is recognized moving in the second direction D2, the map 200 is zoomed out (not shown) centered on the selected location 210.
In a variation of the embodiment shown in fig. 6, as shown in fig. 8, when a swipe gesture 293 not less than the first pressure threshold is identified to remain at the same touch location 210 for the first time threshold, a plurality of points of interest within the currently displayed map are obtained centered around the selected location 210. And classifying (for example, classifying into catering, digital codes, clothes and the like) according to the information of the plurality of interest points. Displaying the categorized name icons 220 radially around the selected location 210, wherein a line connecting any categorized name icon 220 with the selected location 210 is not parallel to the first direction D1 and the second direction D2. Optionally, the name icon 220 for each category also displays the number of points of interest under that category (e.g., 20 for dining, 5 for digital, 5 for apparel). For the sake of intuition, the size of the name icon of the classification may also be adjusted according to the number of interest points under the classification, for example, the larger the number of icons is.
When a sweep gesture (which may be intermittent or continuous with the sweep gesture 293) that is continuous with the sweep gesture 293 maintained at the same touch location for the first time threshold moves in a direction other than the first direction and the second direction with a touch pressure not less than the first pressure threshold, an angle between the moving direction of the other sweep gesture and a line connecting each name icon 220 and the selected location 210 is calculated. The name icon 220 with the smallest angle between the line to the selected location 210 and the direction of movement of the sweep gesture 293 is determined (as shown in fig. 9, the direction of movement of the sweep gesture 293 and the line to the selected location 210 are the smallest angle between the name icon 220 of the apparel and the line). On the side of the name icon 220 away from the selected location 210, a plurality of interest point lists 221 under the category corresponding to the name icon 220 are displayed. Further, the point of interest list 221 may be generated as follows, and the distances between the plurality of points of interest under the classification corresponding to the name icon 220 and the selected position 210 may be obtained. The plurality of interest points are arranged from near to far according to the distance and form the interest point list 221.
Further, as shown in fig. 10, when another sweep gesture 294 is recognized (which may be intermittent or continuous with the sweep gesture 293) along the first direction D1 with a touch pressure not less than the first pressure threshold, the map 200 is enlarged and the number of points of interest displayed by the name icon 220 is updated (in the embodiment where the point of interest list 221 is displayed, the point of interest list 221 is also updated).
Fig. 2 to fig. 10 are merely schematic diagrams illustrating various embodiments of the present invention, but the present invention is not limited thereto, and is not repeated herein.
Referring now to fig. 11, fig. 11 shows a schematic diagram of a map presentation apparatus according to an embodiment of the present invention.
The map displaying apparatus 300 includes a display module 310, a first determining module 320, a map moving module 330, a second determining module 340, an identifying module 350, a first zooming module 360 and a second zooming module 370.
The display module 310 is configured to display a map on a display screen and recognize a sweeping gesture on the map. The first determining module 320 is configured to determine whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold. If the touch pressure of the sweep gesture is less than the first pressure threshold, the map moving module 330 is configured to move the map according to the moving direction and the moving displacement of the sweep gesture. If the touch pressure of the sweeping gesture is not less than the first pressure threshold, the second determining module 340 determines whether the sweeping gesture remains at the same touch position for a first time threshold. If the sweep gesture does not remain at the same touch location for the first time threshold, the recognition module 340 is configured to recognize a moving direction of the sweep gesture. When the recognition module 340 recognizes that the sweep gesture moves along a first direction, the first zooming module 350 is configured to zoom in the map centered on the initial touch position of the sweep gesture, and when the recognition module 340 recognizes that the sweep gesture moves along a second direction, the first zooming module 350 is configured to zoom out the map centered on the initial touch position of the sweep gesture, where the first direction and the second direction are opposite. If the swipe gesture remains at the same touch location for a first time threshold, the second zoom module 370 identifies the touch location of the swipe gesture and marks the touch location as a selected location on the map, and after the swipe gesture remains at the same touch location for the first time threshold, the second zoom module 370 zooms in the map centered on the selected location when another swipe gesture is identified to move in a first direction with a touch pressure not less than the first pressure threshold, and the second zoom module 370 zooms in the map centered on the selected location when the swipe gesture is identified to move in a second direction with a touch pressure not less than the first pressure threshold.
Fig. 11 is a schematic diagram showing the modules, and it is understood that the modules may be virtual software modules or actual hardware modules, and the combination, the division and the addition of the rest of the modules are within the protection scope of the present invention.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by, for example, a processor, can implement the steps of the electronic prescription flow processing method described in any one of the above embodiments. In some possible embodiments, aspects of the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of this specification, when the program product is run on the terminal device.
Referring to fig. 12, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the tenant computing device, partly on the tenant device, as a stand-alone software package, partly on the tenant computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing devices may be connected to the tenant computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In an exemplary embodiment of the present disclosure, there is also provided an electronic device, which may include a processor, and a memory for storing executable instructions of the processor. Wherein the processor is configured to execute the steps of the electronic prescription flow processing method in any one of the above embodiments via execution of the executable instructions.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 13. The electronic device 600 shown in fig. 13 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 13, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like.
Wherein the storage unit stores program code executable by the processing unit 610 to cause the processing unit 610 to perform steps according to various exemplary embodiments of the present invention described in the above-mentioned electronic prescription flow processing method section of the present specification. For example, the processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a tenant to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, or a network device, etc.) to execute the above-mentioned electronic prescription flow processing method according to the embodiments of the present disclosure.
Compared with the prior art, the invention has the advantages that:
1) the map is moved and zoomed through single-finger touch movement gestures with different pressures, and meanwhile, the central point of the map is determined through continuous touch at the same position by a single finger larger than a pressure threshold value, so that a user can conveniently touch the map without displaying any icon for zooming in and out on an interface for displaying the map, and the display scale of the map is increased;
2) the classification of the interest points is realized through single-finger touch, and in the arrangement of the classified name icons and the selected positions, the connecting lines of the name icons and the selected positions are not parallel to the first direction and the second direction, so that the classification display of the interest points and the distinction of the zooming-in and zooming-out sweeping gestures are realized;
3) when the name icons of the categories are displayed around the selected position, the number of interest points under each category can also be displayed, and the number is updated along with the zooming-in and zooming-out operation of the map by the zooming-in and zooming-out sweeping gesture.
Therefore, the method and the device realize the map operation of single finger by combining the touch parameters such as pressure touch, touch direction, touch distance and the like, are convenient for the user to select the zoom center, and are convenient for the user to intuitively browse the target location on the map by classifying and displaying the interest points.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (12)

1. A map display method, comprising:
displaying a map on a display screen, and recognizing a sweeping gesture on the map;
judging whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold value;
if the touch pressure of the sweeping gesture is smaller than a first pressure threshold, moving the map according to the moving direction and the moving displacement of the sweeping gesture;
if the touch pressure of the sweeping gesture is not less than a first pressure threshold, judging whether the sweeping gesture keeps a first time threshold at the same touch position;
if the sweeping gesture does not keep a first time threshold value at the same touch position, zooming in the map by taking the initial touch position of the sweeping gesture as a center when the sweeping gesture is recognized to move along a first direction, and zooming out the map by taking the initial touch position of the sweeping gesture as a center when the sweeping gesture is recognized to move along a second direction, wherein the first direction is opposite to the second direction;
if the sweep gesture keeps the same touch position for a first time threshold, identifying the touch position of the sweep gesture, marking the touch position as a selected position on the map, after the sweep gesture keeps the same touch position for the first time threshold, when another sweep gesture is identified and moves along a first direction with the touch pressure not less than the first pressure threshold, taking the selected position as the center, magnifying the map, and when the sweep gesture is identified and moves along a second direction with the touch pressure not less than the first pressure threshold, magnifying the map with the selected position as the center.
2. The map displaying method of claim 1, wherein if the touch pressure of the swipe gesture is not less than a first pressure threshold, and when the swipe gesture is recognized to move in a first direction/a second direction, a moving distance of the swipe gesture is proportional to a scale of the zooming in/out.
3. The map display method of claim 2, wherein the identifying the touch location of the sweep gesture and marking the touch location as a selected location on the map comprises:
taking the selected position as a center, and acquiring a plurality of interest points in the currently displayed map;
classifying according to the information of the interest points;
displaying the classified name icons radially around the selected location, wherein a line connecting any classified name icon with the selected location is not parallel to the first direction and the second direction.
4. The map displaying method of claim 3, wherein after the sweeping gesture remains at the same touch location for a first time threshold, when another sweeping gesture is recognized to move in a direction other than the first direction and the second direction with a touch pressure not less than the first pressure threshold,
calculating the moving direction of the other sweeping gesture and the included angle between the connecting line of each name icon and the selected position;
determining a name icon with the smallest included angle between the connecting line of the selected position and the moving direction of the other sweeping gesture;
and displaying a plurality of interest point lists under the classification corresponding to the name icon on one side of the name icon away from the selected position.
5. The method as claimed in claim 4, wherein displaying the interest point lists under the category corresponding to the name icon at a side of the name icon away from the selected location comprises:
obtaining the distances between a plurality of interest points under the classification corresponding to the name icon and the selected position;
and arranging the interest points from near to far according to the distance and forming the interest point list.
6. The map illustration method of claim 3, wherein the name icon for each category further displays the number of points of interest under that category.
7. The map displaying method of claim 6, wherein after the sweep gesture remains at the same touch location for a first time threshold, the number of points of interest displayed by the name icon is updated when another sweep gesture is recognized to move in a first/second direction with a touch pressure not less than the first pressure threshold.
8. The map presentation method of any one of claims 1 to 7, wherein there is a break between the sweep gesture and another sweep gesture.
9. The map presentation method of any one of claims 1 to 7, wherein the sweep gesture and the another sweep gesture are continuous.
10. A map display apparatus, comprising:
the display module displays a map on a display screen and identifies a sweeping gesture on the map;
the first judgment module is used for judging whether the touch pressure of the sweeping gesture is smaller than a first pressure threshold value;
the map moving module is used for moving the map according to the moving direction and the moving displacement of the sweeping gesture if the touch pressure of the sweeping gesture is smaller than a first pressure threshold;
the second judgment module is used for judging whether the sweeping gesture keeps a first time threshold value at the same touch position or not if the touch pressure of the sweeping gesture is not smaller than the first pressure threshold value;
the recognition module is used for recognizing the moving direction of the sweeping gesture if the sweeping gesture does not keep a first time threshold value at the same touch position;
a first zooming module, configured to zoom in the map around an initial touch position of the sweeping gesture as a center when the recognition module recognizes that the sweeping gesture moves in a first direction, and zoom out the map around the initial touch position of the sweeping gesture as a center when the recognition module recognizes that the sweeping gesture moves in a second direction, where the first direction and the second direction are opposite;
a second zooming module, configured to identify a touch location of the swipe gesture if the swipe gesture remains at the same touch location for a first time threshold, and mark the touch location as a selected location on the map, and after the swipe gesture remains at the same touch location for the first time threshold, when another swipe gesture is identified and the other swipe gesture moves along a first direction with a touch pressure not less than the first pressure threshold, the second zooming module zooms in the map with the selected location as a center, and when the swipe gesture is identified and the other swipe gesture moves along a second direction with a touch pressure not less than the first pressure threshold, the second zooming module zooms in the map with the selected location as a center.
11. An electronic device, characterized in that the electronic device comprises:
a processor;
storage medium having stored thereon a computer program which, when being executed by the processor, carries out a map presentation method as claimed in any one of claims 1 to 9.
12. A storage medium, having stored thereon a computer program which, when executed by a processor, performs a map presentation method according to any one of claims 1 to 9.
CN201711261734.5A 2017-12-04 2017-12-04 Map display method and device, electronic equipment and storage medium Active CN108008905B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711261734.5A CN108008905B (en) 2017-12-04 2017-12-04 Map display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711261734.5A CN108008905B (en) 2017-12-04 2017-12-04 Map display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108008905A CN108008905A (en) 2018-05-08
CN108008905B true CN108008905B (en) 2020-01-14

Family

ID=62056399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711261734.5A Active CN108008905B (en) 2017-12-04 2017-12-04 Map display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108008905B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111241222B (en) * 2020-01-07 2021-07-20 珠海格力电器股份有限公司 Map information display method, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597319A (en) * 2011-06-10 2014-02-19 大众汽车有限公司 Method and apparatus for providing a user interface
CN107357504A (en) * 2017-07-23 2017-11-17 刘慧� A kind of electronic map for by scaling gesture show scaling
CN107391018A (en) * 2017-07-23 2017-11-24 刘慧� A kind of method for carrying out showing the intelligent terminal and its Zoom display of scaling by scaling gesture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9965140B2 (en) * 2011-12-26 2018-05-08 TrackThings LLC Method and apparatus of a marking objects in images displayed on a portable unit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597319A (en) * 2011-06-10 2014-02-19 大众汽车有限公司 Method and apparatus for providing a user interface
CN107357504A (en) * 2017-07-23 2017-11-17 刘慧� A kind of electronic map for by scaling gesture show scaling
CN107391018A (en) * 2017-07-23 2017-11-24 刘慧� A kind of method for carrying out showing the intelligent terminal and its Zoom display of scaling by scaling gesture

Also Published As

Publication number Publication date
CN108008905A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
US10346016B1 (en) Nested zoom in windows on a touch sensitive device
US10627990B2 (en) Map information display device, map information display method, and map information display program
US9256917B1 (en) Nested zoom in windows on a touch sensitive device
US7752555B2 (en) Controlling multiple map application operations with a single gesture
US9477400B2 (en) Method and apparatus for navigation system for selecting icons and application area by hand drawing on map image
US9483167B2 (en) User interface for a touch enabled device
US8121640B2 (en) Dual module portable devices
US20090138800A1 (en) Apparatus, method and computer-readable storage medium for directing operation of a software application via a touch-sensitive surface
CN107632769B (en) Map display method and device, electronic equipment and storage medium
JP5836105B2 (en) Information processing apparatus, information processing apparatus control method, information processing apparatus control program, and computer-readable recording medium storing the program
US11047703B2 (en) Mapping preferred locations using multiple arrows
CN108553894B (en) Display control method and device, electronic equipment and storage medium
US9170680B2 (en) Method, system and computer program product for operating a touchscreen
KR102147879B1 (en) Magnifying tool for viewing and interacting with data visualizations on mobile devices
CN104964693B (en) Map application with improved navigational tool
US9477373B1 (en) Simultaneous zoom in windows on a touch sensitive device
KR102125212B1 (en) Operating Method for Electronic Handwriting and Electronic Device supporting the same
CN112182813A (en) Power distribution network line path generation method, device, equipment and storage medium
KR20140000388A (en) Method for improving touch recognition and an electronic device thereof
CN102799343A (en) Method and device for displaying index icon content
CN108008905B (en) Map display method and device, electronic equipment and storage medium
CN101769760B (en) Map navigation system and control method thereof
US10140003B1 (en) Simultaneous zoom in windows on a touch sensitive device
US9298366B2 (en) Electronic device, method and computer readable medium
CN107918512B (en) Hotel information display method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant