CN112596653B - Method and device for displaying route map and electronic equipment - Google Patents

Method and device for displaying route map and electronic equipment Download PDF

Info

Publication number
CN112596653B
CN112596653B CN202011498330.XA CN202011498330A CN112596653B CN 112596653 B CN112596653 B CN 112596653B CN 202011498330 A CN202011498330 A CN 202011498330A CN 112596653 B CN112596653 B CN 112596653B
Authority
CN
China
Prior art keywords
display
display range
display area
response
path length
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
CN202011498330.XA
Other languages
Chinese (zh)
Other versions
CN112596653A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011498330.XA priority Critical patent/CN112596653B/en
Publication of CN112596653A publication Critical patent/CN112596653A/en
Application granted granted Critical
Publication of CN112596653B publication Critical patent/CN112596653B/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/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The application discloses a method and a device for displaying a route map and electronic equipment, and belongs to the technical field of electronic products. The display method of the route map comprises the following steps: receiving a first operation under the condition that a navigation route interface is displayed on an electronic device, wherein the first operation is used for adjusting the size of a display area of the electronic device; adjusting a display range of a target portion in the navigation route interface in response to the first operation, wherein the target portion is an ungrouped portion in the navigation route interface or a walked portion in the navigation route interface. The scheme provided by the embodiment of the application can at least solve the problem that the existing map zooming method is complex to operate.

Description

Method and device for displaying route map and electronic equipment
Technical Field
The application relates to the technical field of electronic products, in particular to a method and a device for displaying a route map and electronic equipment.
Background
Currently, in a process of navigating through a map, a user generally needs to zoom map content displayed on a navigation interface, and in the prior art, the map content is generally zoomed based on a touch operation of the user. However, in the process of zooming the map content based on the touch operation of the user, the zooming position cannot be accurately located and the zooming scale cannot be accurately controlled, so that the user needs to repeatedly debug to complete the zooming process of the map content. Therefore, the existing map zooming method has the problem of complex operation.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying a route map and electronic equipment, and aims to solve the problem that the conventional map zooming method is complex to operate.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for displaying a route map, including:
receiving a first operation under the condition that a navigation route interface is displayed on an electronic device, wherein the first operation is used for adjusting the size of a display area of the electronic device;
adjusting a display range of a target portion in the navigation route interface in response to the first operation, wherein the target portion is an ungrouped portion in the navigation route interface or a walked portion in the navigation route interface.
In a second aspect, an embodiment of the present application provides a display apparatus for a roadmap, including:
the electronic equipment comprises a receiving module and a display module, wherein the receiving module is used for receiving a first operation under the condition that the electronic equipment displays a navigation route interface, and the first operation is used for adjusting the size of a display area of the electronic equipment;
and the adjusting module is used for responding to the first operation and adjusting the display range of a target part in the navigation route interface, wherein the target part is an un-walking part in the navigation route interface or a walking part in the navigation route interface.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method for displaying a roadmap.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or instructions are stored on the readable storage medium, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the method for displaying a roadmap.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions, where the program or instructions, when executed by the processor, implement the steps of the method for displaying a roadmap.
In the embodiment of the application, the display range of the target part in the interface with the navigation route is adjusted by responding to the operation of adjusting the size of the display area of the electronic equipment by a user. In the process of zooming the target part, because the user can relatively accurately control the display size change of the display area, the accuracy of adjusting the display range of the target part can be improved, and repeated debugging is avoided; in addition, the user does not need to manually position the position needing zooming in the process, and the operation process is simplified. Therefore, the user can accurately adjust the display range of the target part only by adjusting the size of the display area, and the operation process of zooming the map is simplified.
Drawings
Fig. 1 is a flowchart illustrating a method for displaying a route map according to an embodiment of the present application;
FIG. 2 is one of display state diagrams of a display area of an electronic device in an embodiment of the present application;
FIG. 3 is a second display state diagram of a display area of an electronic device according to an embodiment of the present application;
FIG. 4 is a third display state diagram of a display area of an electronic device in an embodiment of the present application;
FIG. 5 is a fourth illustration of a display state diagram of a display area of an electronic device in an embodiment of the present application;
FIG. 6 is a fifth display state diagram of the display area of the electronic device in the embodiment of the present application;
FIG. 7 is a sixth view showing a display state of a display area of an electronic apparatus according to an embodiment of the present application;
fig. 8 is a seventh display state diagram of a display area of an electronic device in the embodiment of the present application;
fig. 9 is a schematic structural diagram of a display device of a route map provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present 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.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A method, an apparatus, and an electronic device for displaying a route map provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings and specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a method for displaying a roadmap provided in an embodiment of the present application, where the method includes:
step S101, receiving a first operation under the condition that a navigation route interface is displayed on the electronic equipment, wherein the first operation is used for adjusting the size of a display area of the electronic equipment.
The electronic device may be an electronic device with an adjustable display area, for example, an electronic device with a retractable screen, or an electronic device with a rolling screen, and for ease of understanding, the method provided in the present application is further explained below by taking the electronic device with a retractable screen as an example. The process of adjusting the size of the display area by the electronic device with the retractable screen may be: the user pushes and pulls the telescopic screen of the electronic equipment to control the telescopic screen to perform telescopic motion, when the telescopic screen extends outwards, the display area is increased, and when the telescopic screen retracts inwards, the display area is reduced.
The condition that the electronic device displays the navigation route interface may be: a situation where a user navigates through an electronic device. Accordingly, the navigation route may refer to: and map software in the electronic equipment is used for generating a route map by planning a route based on the starting point and the end point input by the user.
When the electronic device is an electronic device with a retractable screen, the first operation may be an operation in which a user pushes or pulls the retractable screen of the electronic device to correspondingly extend or retract the retractable screen. And when the first operation is received, the telescopic screen executes telescopic action, and the size of the display area is increased or reduced accordingly.
And step S102, responding to the first operation, adjusting the display range of a target part in the navigation route interface, wherein the target part is an un-walking part 100 in the navigation route interface or a walking part 200 in the navigation route interface.
Specifically, when the first operation is an operation of controlling an increase in the display area, the display range of the target portion may be increased, and accordingly, when the first operation is an operation of controlling a decrease in the display area, the display range of the target portion may be decreased. The corresponding relationship between the size of the display area and the display range of the target area may be preconfigured, that is, when the size of the display area increases or decreases, the display range of the target area is adaptively changed based on the corresponding relationship, so that the display range of the target portion after adjustment is adapted to the changed size of the display area.
The above-mentioned enlarging the display range of the target portion may refer to: displaying more content which is not present in a display interface before the first operation is received on a display screen of the electronic device, for example, before the first operation is received, a target portion in the display interface of the electronic device displays a route map of the target portion within a range of 5 kilometers, and after the first operation is received and the first operation indicates that the display range of the target portion is increased, the route map of the target portion within a range of 8 kilometers may be displayed on the display interface of the electronic device. Accordingly, the above-described narrowing down the display range of the target portion may refer to: for example, before the first operation is received, the target portion in the display interface of the electronic device displays a route pattern of the target portion within a range of 5 kilometers, and after the first operation is received and the first operation indicates narrowing of the display range of the target portion, the route pattern of the target portion within a range of 3 kilometers may be displayed on the display interface of the electronic device.
In the process of navigating through the electronic device, the electronic device updates the current position in real time and identifies the current position of the electronic device in the navigation route, so that the navigation route can be divided into the non-walking part 100 or the walking part 200 based on the current position of the electronic device. Specifically, the part of the navigation route between the current location of the electronic device and the starting point is the traveled part 200, and the part of the navigation route between the current location of the electronic device and the ending point is the non-traveled part 100.
Since the target portion may be the unworn portion 100 or the walked portion 200, different first operations may be configured in advance to correspond to different target portions. In addition, different operating positions may also be preconfigured to correspond to different target portions. For example, when the user adjusts the display area of the electronic device through a first position, the target portion is determined to be the non-walking portion 100, and when the user adjusts the display area of the electronic device through a second position, the target portion is determined to be the walking portion 200, wherein the first position and the second position are different positions.
It should be noted that since the target portion is only a partial image in the navigation route, images other than the target portion in the navigation route may be determined as non-target portions, for example, when the non-walking portion 100 is a target portion, the walking portion 200 may be determined as a non-target portion. In a process in which the display range of the non-target portion is increased or decreased in response to the first operation by the target portion, for example, please refer to fig. 2 to 3, the non-walking portion 100 is the target portion, the walking portion 200 is the non-target portion, and in a process in which the display range of the walking portion 200 is increased in response to the first operation by the non-walking portion 100, the display range of the non-target portion remains unchanged.
In the process of increasing or reducing the display range of the target part, the position of the non-target part can be changed along with the change of the position of the target part, so that the target part and the non-target part are always a continuous route map; in addition, the position of the non-target portion may not be kept constant during the increase or decrease of the display range of the target portion, and the position of the connection point between the target portion and the non-target portion may be kept constant during the increase or decrease of the display range of the target portion. Further, when the display range of the target portion is increased, the non-target portion may be hidden in order to improve the display effect of the target portion.
In this embodiment, the display range of the target portion in the interface with the navigation route is adjusted by responding to the operation of the user for adjusting the size of the display area of the electronic device. In the process of zooming the target part, because the user can relatively accurately control the display size change of the display area, the accuracy of adjusting the display range of the target part can be improved, and repeated debugging is avoided; in addition, the user does not need to manually position the position needing zooming in the process, and the operation process is simplified. Therefore, the user can accurately adjust the display range of the target part only by adjusting the size of the display area, and the operation process of zooming the map is simplified.
Optionally, the adjusting a display range of a target portion in the navigation route interface in response to the first operation includes:
in a case where the first operation is an operation for controlling the display area to be increased, increasing a display range of the target portion in response to the first operation;
or,
in a case where the first operation is an operation for controlling the display area to be reduced, a display range of the target portion is reduced in response to the first operation.
Specifically, when the first operation is an operation for controlling the display area to increase, since the telescopic screen of the electronic device is extended after the first operation is received, the display area increases, and at this time, the display area can display more contents, and therefore, the display range of the target portion can be increased, and at the same time, the global thumbnail 500 of the navigation route can be displayed on the increased display portion to adapt to the size change of the display area.
Accordingly, when the first operation is an operation for controlling the display area to be reduced, since the telescopic screen of the electronic device is retracted after the first operation is received and the display area is reduced, at this time, the display range of the target portion can be reduced to fit the size change of the display area.
In this embodiment, the display range of the target portion is increased when the display area is increased, and the display range of the target portion is decreased when the display area is decreased, so that the change in the display range of the target portion is adapted to the change in the size of the display area.
Optionally, in the case where the first operation is an operation for controlling the display area to be increased, increasing the display range of the target portion in response to the first operation includes:
in the case where the first operation is an operation of controlling the display area to increase in the first direction 300, in response to the first operation, increasing the display range of the non-walking portion 100;
or,
in the case where the first operation is an operation of controlling the display area to increase in the second direction 400, the display range of the walked portion 200 is increased.
Specifically, the first direction 300 and the second direction 400 may be opposite directions, for example, referring to fig. 3 and 5, when the telescopic screen is stretched to control the display area to increase, the telescopic screen may be pulled up along the first direction 300 shown in fig. 3, or may be pulled down along the second direction 400 shown in fig. 5. In this way, different target portions may be determined based on different directions in which the user pulls, in this embodiment, when the first operation is to pull the telescopic screen in the first direction 300, the target portion is the non-walking portion 100; when the first operation is to pull the telescopic screen in the second direction 400, the target portion is the walked portion 200.
In addition, the first direction 300 may be to pull the retractable screen downward, and correspondingly, the second direction 400 may be to pull the retractable screen upward. When the retractable screen can be vertically retracted and also can be horizontally retracted, one of the first direction 300 and the second direction 400 is vertical and the other is horizontal.
In this embodiment, when the telescopic screen is stretched to increase the display area, different stretching directions of the user are made to correspond to different target portions, so that when the user stretches the telescopic screen in a certain direction, the target portion corresponding to the stretching direction can be determined based on the correspondence relationship, and the display range of the determined target portion can be increased.
Optionally, the increasing the display range of the target portion in response to the first operation includes:
in the case where the navigation path length of the non-walking portion 100 is greater than or equal to the navigation path length of the walking portion 200, in response to the first operation, increasing the display range of the non-walking portion 100;
or,
in the case where the navigation path length of the non-traveled portion 100 is less than the navigation path length of the traveled portion 200, the display range of the traveled portion 200 is increased in response to the first operation.
To further enhance the user experience, the navigation path length of the walked portion 200 may be compared with the navigation path length of the ungrouped portion 100 to determine an action performed by the electronic device in response to the first operation when the first operation is an operation for controlling the display area to increase.
Since the navigation path length of the non-traveled portion 100 is greater than or equal to the navigation path length of the traveled portion 200, i.e., when the remaining path is large, the size of the display area is limited, and all the non-traveled portions 100 in the navigation route may not be completely displayed in the display area, the display range of the non-traveled portion 100 may be increased through the first operation. Accordingly, when the navigation path length of the ungrouped section 100 is shorter than the navigation path length of the walked section 200, that is, the distance of the walked section 200 is large, the display area is limited, and all the walked sections 200 in the navigation route may not be completely displayed in the display area, and thus the display range of the walked section 200 may be increased by the first operation. For example, referring to fig. 2, in order to show the display state of the display area before the stretching of the stretching panel, referring to fig. 3, in order to show the display state of the display area after the stretching of the stretching panel, it can be seen that more contents of the non-walking portion 100 can be displayed on the enlarged portion of the display area.
The enlarged portion of the display area may be: after the stretching of the stretchable screen, the newly added portion of the display area, for example, please refer to fig. 2, is a display state diagram of the display area before the stretching of the stretchable screen, please refer to fig. 3, is a display state diagram of the display area after the stretching of the stretchable screen, and as can be seen from the diagram, after the stretching of the stretchable screen, the display area extends upward, wherein the portion of the display area extending upward is an enlarged portion of the display area.
The navigation path length of the walked part 200 may be a navigation path length between a current position of the electronic device and a starting point of the navigation path in the navigation path, and specifically, the navigation path length of the walked part 200 may be an actual navigation path length from the starting point to the current position of the electronic device along the navigation path. Accordingly, the navigation path length of the non-walking portion 100 may be a navigation path length between the current position of the electronic device and the end point of the navigation path in the navigation path.
In this embodiment, the navigation path length of the walked portion 200 is compared with the navigation path length of the ungrouped portion 100 to determine the action performed by the electronic device in response to the first operation when the first operation is an operation for controlling the display area to increase, thereby further improving the user experience.
Optionally, the increasing the display range of the target portion in response to the first operation includes:
under the condition that the navigation path length of the non-walking part 100 is greater than or equal to a first preset value, responding to the first operation, and increasing the display range of the non-walking part 100;
or,
and under the condition that the navigation path length of the non-walking part 100 is less than the first preset value, responding to the first operation, and increasing the display range of the walking part 200.
In order to further improve the user experience, the navigation path length of the non-walking part 100 may be compared with the first preset value to determine the action performed by the electronic device in response to the first operation when the first operation is an operation for controlling the display area to increase. The first preset value may be a relative value, for example, a ratio of the first preset value to a navigation path length between a starting point and an ending point of the navigation route may be a first ratio, and a value range of the first ratio may be 0.08 to 0.2. Thus, when the navigation path length of the non-walking portion 100 is greater than or equal to the first preset value, it indicates that the current navigation path length end position of the user is far, that is, when the remaining path is long, the size of the display area is limited, and all the non-walking portions 100 in the navigation route may not be completely displayed in the display area, so that the display range of the non-walking portions 100 may be enlarged. Accordingly, when the navigation path length of the non-traveled portion 100 is less than the first preset value, that is, when the traveled portion 200 has a large path, the display area may be limited, and all the traveled portions 200 in the navigation route may not be completely displayed in the display area, so that the display range of the traveled portions 200 may be increased through the first operation.
In this embodiment, the navigation path length of the non-walking part 100 is compared with a first preset value to determine the action performed by the electronic device in response to the first operation when the first operation is an operation for controlling the display area to increase, so as to further improve the user experience.
Optionally, the increasing the display range of the target portion in response to the first operation further includes:
displaying a global thumbnail of the navigation route in an enlarged portion of the display area.
When the first operation is an operation of controlling the display area to increase, since the display area is correspondingly increased, other content may be newly displayed in the display area, for example, the global thumbnail 500 of the navigation route may be displayed in the increased portion of the display area to adapt to the size change of the display area.
Specifically, in the case where the first operation is to increase the display range of the non-walking portion 100, the global thumbnail 500 of the navigation route may be displayed in the increased portion of the display area. Of course, in a case where the first operation is to increase the display range of the already-traveled portion 200, the global thumbnail 500 of the navigation route may be displayed in an increased portion of the display area. For example, referring to fig. 2 and 8, in the case where the first operation is to increase the display range of the non-walking portion 100, the global thumbnail 500 of the navigation route may be displayed at an increased portion of the display area while increasing the display range of the non-walking portion 100.
Optionally, in a case that the first operation is an operation for controlling the display area to be reduced, the reducing the display range of the target portion includes:
in a case where the first operation is an operation for controlling the display area to be reduced in the first direction 300, in response to the first operation, reducing the display range of the walked portion 200; or,
in the case where the first operation is an operation for controlling the display area to be reduced in the second direction 400, the display range of the non-walking portion 100 is reduced in response to the first operation.
Referring to fig. 4 and 6, when the retractable screen is retracted to control the display area to be reduced, the retractable screen may be compressed downward along the second direction 400 shown in fig. 4, or may be compressed upward like the first direction 300 shown in fig. 6. In this way, different target portions may be determined based on the different directions in which the user compresses, which in this embodiment is the ungrouped portion 100 when the first operation is to compress the telescoping screen in the first direction 300; when the first operation is to compress the telescopic screen in the second direction 400, the target portion is the walked portion 200.
In this embodiment, when the scaling screen is compressed to reduce the display area, different compression directions of the user are made to correspond to different target portions, so that when the user compresses the scaling screen in a certain direction, the target portion corresponding to the compression direction can be determined based on the correspondence relationship, and the display range of the determined target portion can be narrowed.
Optionally, after displaying the global thumbnail 500 of the navigation route, the method further includes:
in a case where a second operation for adjusting the size of the display area of the electronic device is received, the display size of the global thumbnail 500 is adjusted in response to the second operation.
Specifically, in the case that the display area displays the global thumbnail 500 of the navigation route, the global thumbnail 500 displayed in the display area may be further scaled based on the second operation, so as to further improve the user experience. For example, in a case where the display area displays the global thumbnail 500, if the second operation is an operation of controlling the display area to increase in the second direction 400, the global thumbnail 500 may be controlled to be displayed in an enlarged manner, and correspondingly, if the second operation is an operation of controlling the display area to decrease in the first direction 300, the global thumbnail 500 may be controlled to be displayed in a reduced manner. For example, referring to fig. 7 and 8, fig. 7 is a display state diagram of an electronic device in a case where a display area displays a global thumbnail 500 of a navigation route, and the global thumbnail 500 is enlarged when the zoom screen is pulled in the second direction 400 shown in fig. 8.
In this embodiment, in the case where the global thumbnail 500 of the navigation route is displayed in the display area, the second operation is further set to control the global thumbnail 500 to zoom, so that the user experience can be further improved.
It should be noted that, in the method for displaying a route map provided in the embodiment of the present application, the execution subject may be a display apparatus of a route map, or a control module in the display apparatus of the route map, for executing the method for displaying a route map. In the embodiment of the present application, a method for displaying a route map performed by a display apparatus for a route map is taken as an example to explain the display apparatus for a route map provided in the embodiment of the present application.
Referring to fig. 9, fig. 9 is a display apparatus 900 for a roadmap according to an embodiment of the present application, the apparatus includes:
the receiving module 901 receives a first operation when a navigation route interface is displayed on an electronic device, wherein the first operation is used for adjusting the size of a display area of the electronic device;
an adjusting module 902, responsive to the first operation, adjusts a display range of a target portion in the navigation route interface, wherein the target portion is an un-walking portion 100 in the navigation route interface or a walking portion 200 in the navigation route interface.
Optionally, the adjusting module 902 is specifically configured to, in a case that the first operation is an operation for controlling the display area to be increased, increase the display range of the target portion in response to the first operation;
or,
the adjusting module 902 is further specifically configured to narrow the display range of the target portion in response to the first operation when the first operation is an operation for controlling the display area to be reduced.
Optionally, the adjusting module 902 is specifically configured to, in a case that the first operation is an operation of controlling the display area to increase in the first direction 300, increase the display range of the non-walking part 100 in response to the first operation;
or,
the adjusting module 902 is specifically further configured to increase the display range of the walked portion 200 when the first operation is an operation of controlling the display area to increase in the second direction 400.
Optionally, the adjusting module 902 is specifically configured to, in a case that the navigation path length of the non-walking portion 100 is greater than or equal to the navigation path length of the walking portion 200, increase the display range of the non-walking portion 100 in response to the first operation;
or,
the adjusting module 902 is further specifically configured to, in a case that the navigation path length of the non-walking portion is smaller than the navigation path length of the walking portion, increase the display range of the walking portion in response to the first operation.
Optionally, the adjusting module 902 is specifically configured to, when the navigation path length of the non-walking part 100 is greater than or equal to a first preset value, respond to the first operation, increase the display range of the non-walking part;
or,
the adjusting module 902 is further configured to, in response to the first operation, increase a display range of the walked portion when the navigation path length of the non-walked portion is smaller than the first preset value.
Optionally, the apparatus further comprises:
a display module to display a global thumbnail of the navigation route at an enlarged portion of the display area.
In the embodiment of the application, the display range of the target part in the interface with the navigation route is adjusted by responding to the operation of adjusting the size of the display area of the electronic equipment by a user. In the process of zooming the target part, the user can relatively accurately control the display size change of the display area, so that the accuracy of adjusting the display range of the target part can be improved, and repeated debugging is avoided; in addition, the user does not need to manually position the position needing zooming in the process, and the operation process is simplified. Therefore, the user can accurately adjust the display range of the target part only by adjusting the size of the display area, and the operation process of zooming the map is simplified.
The display device of the route map in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in the terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device of the route map in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device for a route map provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to 8, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in the embodiment of the present application, and includes a processor 1001, a memory 1002, and a program or an instruction that is stored in the memory 1002 and is executable on the processor 1001, where when the program or the instruction is executed by the processor 1001, the program or the instruction implements each process of the embodiment of the method for displaying a route map, and can achieve the same technical effect, and is not described herein again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic hardware structure diagram of an electronic device implementing the embodiment of the present application.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, and processor 1110.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the method for displaying a route map, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the embodiment of the method for displaying a roadmap, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (8)

1. A method for displaying a roadmap, comprising:
receiving a first operation under the condition that a navigation route interface is displayed on an electronic device, wherein the first operation is used for adjusting the size of a display area of the electronic device;
adjusting a display range of a target part in the navigation route interface in response to the first operation, wherein the target part is an ungrouped part in the navigation route interface or a walked part in the navigation route interface;
the adjusting the display range of the target part in the navigation route interface in response to the first operation comprises:
in a case where the first operation is an operation for controlling the display area to increase, in response to the first operation, increasing a display range of the target portion;
the increasing a display range of the target portion in response to the first operation includes:
in a case where the navigation path length of the non-traveled portion is greater than or equal to the navigation path length of the traveled portion, increasing the display range of the non-traveled portion in response to the first operation;
or,
in a case where the navigation path length of the non-traveled portion is smaller than the navigation path length of the traveled portion, increasing the display range of the traveled portion in response to the first operation;
or,
the increasing a display range of the target portion in response to the first operation includes:
under the condition that the length of the navigation path of the non-walking part is greater than or equal to a first preset value, responding to the first operation, and increasing the display range of the non-walking part;
or,
and under the condition that the navigation path length of the non-walking part is smaller than the first preset value, responding to the first operation, and increasing the display range of the walking part.
2. The method according to claim 1, wherein the increasing the display range of the target portion in response to the first operation in the case where the first operation is an operation for controlling the display area to increase includes:
in a case where the first operation is an operation of controlling the display area to increase in a first direction, in response to the first operation, increasing a display range of the non-walking portion;
or,
in a case where the first operation is an operation of controlling the display area to increase in a second direction, a display range of the walked portion is increased.
3. The method according to claim 1, wherein the increasing a display range of the target portion in response to the first operation further comprises:
displaying a global thumbnail of the navigation route in an enlarged portion of the display area.
4. A display apparatus for a road map, comprising:
the electronic equipment comprises a receiving module and a display module, wherein the receiving module is used for receiving a first operation under the condition that the electronic equipment displays a navigation route interface, and the first operation is used for adjusting the size of a display area of the electronic equipment;
the adjusting module is used for responding to the first operation and adjusting the display range of a target part in the navigation route interface, wherein the target part is an un-walking part in the navigation route interface or a walking part in the navigation route interface;
the adjusting module is specifically configured to, in a case where the first operation is an operation for controlling the display area to be increased, increase a display range of the target portion in response to the first operation;
the adjusting module is specifically configured to respond to the first operation and increase a display range of the non-walking part when the navigation path length of the non-walking part is greater than or equal to the navigation path length of the walking part;
or,
the adjusting module is specifically further configured to increase a display range of the walked portion in response to the first operation when the navigation path length of the non-walked portion is smaller than the navigation path length of the walked portion;
or,
the adjusting module is specifically used for responding to the first operation and increasing the display range of the part which is not walked under the condition that the navigation path length of the part which is not walked is greater than or equal to a first preset value;
or,
the adjusting module is specifically further configured to respond to the first operation and increase a display range of the walked portion when the navigation path length of the non-walked portion is smaller than the first preset value.
5. The device according to claim 4, wherein the adjusting module is specifically configured to, in a case where the first operation is an operation of controlling the display area to increase in a first direction, increase a display range of the non-walking portion in response to the first operation;
or,
the adjusting module is specifically further configured to increase a display range of the walked portion in a case where the first operation is an operation of controlling the display area to increase in a second direction.
6. The apparatus of claim 4, further comprising:
a display module to display a global thumbnail of the navigation route at an enlarged portion of the display area.
7. An electronic device, characterized in that it comprises a processor, a memory and a program or instructions stored on said memory and executable on said processor, said program or instructions, when executed by said processor, implementing the steps of the method for displaying a roadmap according to any one of claims 1 to 3.
8. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the method of displaying a roadmap according to any one of claims 1 to 3.
CN202011498330.XA 2020-12-17 2020-12-17 Method and device for displaying route map and electronic equipment Active CN112596653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011498330.XA CN112596653B (en) 2020-12-17 2020-12-17 Method and device for displaying route map and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011498330.XA CN112596653B (en) 2020-12-17 2020-12-17 Method and device for displaying route map and electronic equipment

Publications (2)

Publication Number Publication Date
CN112596653A CN112596653A (en) 2021-04-02
CN112596653B true CN112596653B (en) 2023-02-24

Family

ID=75199211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011498330.XA Active CN112596653B (en) 2020-12-17 2020-12-17 Method and device for displaying route map and electronic equipment

Country Status (1)

Country Link
CN (1) CN112596653B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002121A (en) * 2011-09-09 2013-03-27 Lg电子株式会社 Mobile terminal and control method thereof
CN104662489A (en) * 2012-08-01 2015-05-27 三星电子株式会社 Flexible display device and method of controlling same
CN105980972A (en) * 2014-02-10 2016-09-28 三星电子株式会社 User terminal device and displaying method thereof
CN106201055A (en) * 2015-05-27 2016-12-07 Lg电子株式会社 Flexible display apparatus and operational approach thereof
CN106340247A (en) * 2015-07-06 2017-01-18 Lg电子株式会社 Flexible Display Device And Operating Method Thereof
CN106484174A (en) * 2015-08-26 2017-03-08 Lg电子株式会社 Flexible display apparatus and its method of operating
CN111727423A (en) * 2018-02-22 2020-09-29 三星电子株式会社 Electronic device including flexible display and control method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2492381A (en) * 2011-06-30 2013-01-02 Tomtom Int Bv Controlling a map displayed on a navigation apparatus in order to maximise the display of a remaining route
US9052197B2 (en) * 2012-06-05 2015-06-09 Apple Inc. Providing navigation instructions while device is in locked mode
JP6463457B2 (en) * 2015-03-16 2019-02-06 三菱電機株式会社 Map display control apparatus and map scroll operation feeling control method
US11398168B2 (en) * 2019-04-03 2022-07-26 Samsung Electronics Co., Ltd. Mobile device with a foldable display and method of providing user interfaces on the foldable display

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002121A (en) * 2011-09-09 2013-03-27 Lg电子株式会社 Mobile terminal and control method thereof
CN104662489A (en) * 2012-08-01 2015-05-27 三星电子株式会社 Flexible display device and method of controlling same
CN105980972A (en) * 2014-02-10 2016-09-28 三星电子株式会社 User terminal device and displaying method thereof
CN106201055A (en) * 2015-05-27 2016-12-07 Lg电子株式会社 Flexible display apparatus and operational approach thereof
CN106340247A (en) * 2015-07-06 2017-01-18 Lg电子株式会社 Flexible Display Device And Operating Method Thereof
CN106484174A (en) * 2015-08-26 2017-03-08 Lg电子株式会社 Flexible display apparatus and its method of operating
CN111727423A (en) * 2018-02-22 2020-09-29 三星电子株式会社 Electronic device including flexible display and control method thereof

Also Published As

Publication number Publication date
CN112596653A (en) 2021-04-02

Similar Documents

Publication Publication Date Title
EP2506222B1 (en) Augmented reality apparatus, method and program
JP5472256B2 (en) Vehicle display device and information display system
US11402992B2 (en) Control method, electronic device and non-transitory computer readable recording medium device
CN102929508B (en) Touch method and device for electronic map
US20110022990A1 (en) Method for operation to a multi-touch environment screen by using a touchpad
US20120306930A1 (en) Techniques for zooming in and out with dynamic content
CN111669506A (en) Photographing method and device and electronic equipment
CN111669507A (en) Photographing method and device and electronic equipment
EP2455873A2 (en) Method for displaying web page in a portable terminal
CN112954199B (en) Video recording method and device
CN107870795B (en) Method and device for displaying electronic map
CN113687753B (en) Split screen style configuration method and device, intelligent terminal and storage medium
CN110007847B (en) Writing method, device and equipment based on touch screen and readable storage medium
CN113126862B (en) Screen capture method and device, electronic equipment and readable storage medium
CN113918260A (en) Application program display method and device and electronic equipment
EP4064013A1 (en) Information processing system, program, and information processing method
CN112596653B (en) Method and device for displaying route map and electronic equipment
US20140022167A1 (en) Projection apparatus and projection method
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN112698762A (en) Icon display method and device and electronic equipment
CN115729544A (en) Desktop component generation method and device, electronic equipment and readable storage medium
CN114879872A (en) Display method, display device, electronic equipment and storage medium
CN114390205A (en) Shooting method and device and electronic equipment
CN112887579A (en) Camera module control method and device and electronic equipment
CN113407888B (en) Browser size adjusting method and device, storage medium and computer equipment

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