Map interface control method and device, equipment and medium
By customizing the zoom center point in the map interface, users can directly select the location of interest and associate it with the zoom slider, solving the problem of cumbersome operation when locating other areas in the map interface and achieving efficient zooming and positioning.
Patent Information
- Application Number
- CN202511042283.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-28
- Publication Date
- 2025-11-11
AI Technical Summary
The map interface is cumbersome and inefficient when locating details of other areas, especially when the target area is far from the player's location, requiring multiple swipes to display it in the current window.
Users can select a location of interest in the target map and associate it with the zoom slider. They can then zoom in and out around that location by sliding the zoom slider, keeping the location of interest within the map interface during the zooming process, thus simplifying the operation.
By allowing users to customize the zoom center point, the efficiency of map interface positioning and adjustment is improved, enabling users to quickly view details of areas of interest with ease of operation.
Smart Images

Figure CN120928989A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of human-computer interaction technology, specifically to control methods, devices, equipment, and media for map interfaces. Background Technology
[0002] As an essential system in games, maps play a crucial role in supporting game functionality and enhancing the player experience. Among its most important and fundamental functions are navigation and positioning. Maps help players quickly understand their location in the game world, guiding them to target locations or mission objectives. In multiplayer or tactical games, maps can also help players formulate tactics, observe enemy positions, coordinate team actions, and improve teamwork.
[0003] When locating and previewing details of a certain area, it is often necessary to zoom in and out of the map. The map is zoomed in and out by default based on the player's location, which makes it cumbersome and inefficient for players to preview details of other areas. Summary of the Invention
[0004] In view of this, the present disclosure provides a control method, device, equipment and medium for a map interface to solve the problem of cumbersome operation when positioning on a map interface.
[0005] In a first aspect, this disclosure provides a method for controlling a map interface, the map interface including a target map and zoom controls, the method comprising:
[0006] In response to a selection operation on a first target location in the target map, the first target location is associated with the zoom slider in the zoom control;
[0007] In response to a first sliding operation on the zoom slider, the target map is zoomed based on a zoom center point determined according to the first target position.
[0008] Secondly, this disclosure provides a control device for a map interface, the map interface including a target map and zoom controls, the device comprising:
[0009] The association module is used to associate the first target location with the zoom slider in the zoom control in response to the selection operation of the first target location in the target map;
[0010] The processing module is configured to, in response to a first sliding operation of the zoom slider, control the zoom center point determined based on the first target position to perform zoom processing on the target map.
[0011] Thirdly, this disclosure provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the map interface control method of the first aspect or any corresponding embodiment described above.
[0012] Fourthly, this disclosure provides a computer-readable storage medium storing computer instructions for causing a computer to execute the control method for a map interface described in the first aspect or any corresponding embodiment.
[0013] Fifthly, this disclosure provides a computer program product, including computer instructions for causing a computer to execute a control method for a map interface as described in the first aspect or any corresponding embodiment.
[0014] The map interface control method provided in this embodiment allows users to arbitrarily select a location of interest in the target map, use it as the zoom center point, and associate it with a zoom slider. By operating the zoom slider, users can zoom the target map with the location of interest as the center, making it convenient for users to view the details of the corresponding area. Furthermore, the zooming process ensures that the location of interest is always in the map interface, facilitating user positioning and providing high adjustment efficiency. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the specific embodiments or related technologies of this disclosure, the accompanying drawings used in the description of the specific embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of this disclosure;
[0017] Figure 2 This is a schematic diagram illustrating a location-based implementation using a map interface according to an embodiment of this disclosure;
[0018] Figure 3 This is a flowchart illustrating a control method for a map interface according to an embodiment of the present disclosure;
[0019] Figure 4 This is a schematic diagram of a map interface when the map is not zoomed in, according to an embodiment of the present disclosure;
[0020] Figure 5 This is a schematic diagram of a map interface after being enlarged according to an embodiment of the present disclosure;
[0021] Figure 6 This is a flowchart illustrating another map interface control method according to an embodiment of the present disclosure;
[0022] Figure 7 This is a schematic diagram of a first drag operation according to an embodiment of the present disclosure;
[0023] Figure 8 This is a schematic diagram of a second sliding operation according to an embodiment of the present disclosure;
[0024] Figure 9 This is another schematic diagram of the map interface after zooming in according to an embodiment of the present disclosure;
[0025] Figure 10 This is a flowchart illustrating another map interface control method according to an embodiment of the present disclosure;
[0026] Figure 11 This is a structural block diagram of a control device for a map interface according to an embodiment of the present disclosure;
[0027] Figure 12 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation
[0028] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0029] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this disclosure, "a plurality of" means two or more, unless otherwise expressly specified.
[0030] Before providing a detailed description of the embodiments of this disclosure, some of the terms and concepts involved in the embodiments of this disclosure will be explained by way of example. These explanations are intended to make the embodiments of this disclosure easier to understand and should not be construed as limiting the scope of protection claimed by this disclosure, nor should they be considered as specific definitions.
[0031] (1) Graphical User Interface (GUI) refers to a user interface that uses graphics to display operations. When players run the application corresponding to a game product on a terminal device, they can view visual elements related to the game product based on the graphical user interface.
[0032] (2) The map interface is a crucial information hub in the game. It displays the spatial layout of the game world, key locations, player positions, and various dynamic information, helping players navigate, locate, plan, and make decisions. The map interface mainly consists of a map window and a control area. The map window displays the player's current location on the map, while the control area contains controls that the player can interact with, such as zoom and close controls.
[0033] (3) Zoom control, used to adjust the display ratio of the map interface, thereby realizing map zooming, is the main control for visual operations on the map interface. The zoom control generally adopts the zoom slider method, which can be fixed vertically or horizontally at the edge of the map interface; the zoom slider includes a draggable slider, and the map can be zoomed by dragging the slider on the zoom slider.
[0034] As one optional application scenario of this disclosure embodiment, such as Figure 1 As shown, the system may include at least one terminal device and at least one server. Figure 1 The system is illustrated in the example, which includes a computer 101, a mobile terminal 102, and a server 103, and the terminal devices such as the computer 101 and the mobile terminal 102 are connected to the server 103 through a network 110.
[0035] Specifically, the terminal device can be a smartphone, tablet, laptop, PDA, desktop computer, game console, smart TV, smart wearable device, in-vehicle terminal, VR (Virtual Reality) device, AR (Augmented Reality) device, etc. Server 103 can be a standalone physical server, a server cluster, a distributed system, or a cloud server providing cloud services. Network 110 can be a wired or wireless network, examples of which include, but are not limited to, the Internet, corporate intranet, local area network, wide area network, mobile communication network, and combinations thereof.
[0036] When players want to experience a game on a terminal device, they can install the game's application on that device. By running the application, the game interface will be displayed to the player using the terminal device's graphical user interface. Some games' graphical user interfaces include a map interface, which displays the player's location, allowing them to navigate, find their way, and perform other functions based on the map displayed.
[0037] For most mobile games, the map interface defaults to using the player's location as the zoom center, allowing players to easily zoom in and out of their current area. However, if a player wants to preview details of other areas, they need to first zoom in on their current area, then, based on their understanding of map area divisions, determine the relative position between their current area and the target area. Afterward, the player continuously swipes their finger in the corresponding direction to move the map's display area towards the target area until the target area is fully displayed in the current window.
[0038] Figure 2 This shows a schematic diagram of a map interface. For example... Figure 2 As shown in section (A), the player's current location, area 201, is located in the upper right corner of the map, while the target area 202, which needs to be previewed, is located in the center of the map. When the user needs to preview the details of the target area 202, they must first zoom in on the current area 201. The zoomed-in current area 201 can be viewed as follows: Figure 2 As shown in section (B); subsequently, since the target area 202 is located to the lower left of the current area 201, the user needs to continuously slide the interface to the lower left until the target area 202 is displayed in the map window. At this time, the map interface can display the magnified target area 202, which can be viewed as follows: Figure 2 As shown in section (C) of the document.
[0039] Because the current area 201 is far from the target area 202, after zooming in on the current area 201, the user needs to perform multiple swipe operations to move the map display window to the target area 202. For example... Figure 2 As shown in section (D) of the map, after zooming in, the current area 201 and the target area 202 are approximately three map window sizes apart. Therefore, it is evident that when the player continuously swipes the screen from the current area 201 until the target area 202 appears in the map window, a very large number of swipe operations are required. The operation is extremely cumbersome and inefficient.
[0040] Some solutions use the center of the map interface as the zoom center point. If you want to preview a target area, you need to move the target area to the center of the map interface first, and then zoom in. If the target area is not accurately moved to the center of the map interface, multiple adjustments are required, which may still result in low operation efficiency.
[0041] The map interface control method provided in this embodiment allows users to select a point of interest as the zoom center point and zoom the map by operating the zoom slider. The zoom process ensures that the user's point of interest is always in the map interface, which is convenient for users to locate and has high adjustment efficiency.
[0042] According to an embodiment of this disclosure, a control method for a map interface is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0043] This embodiment provides a map interface control method, which can be applied to the aforementioned terminal devices, such as computer 101, mobile terminal 102, etc. Figure 3 This is a flowchart of a map interface control method according to an embodiment of the present disclosure, such as... Figure 3 As shown, the process includes the following steps.
[0044] Step S301: In response to the selection operation of the first target location in the target map, the first target location is associated with the zoom slider in the zoom control.
[0045] In this embodiment, the map interface includes the map to be displayed (i.e., the target map) and zoom controls. Figure 4 This shows a schematic diagram of a map interface, such as... Figure 4 As shown, the map interface includes a map window 401 for displaying the target map, and a zoom control 402 on the side of the map interface, the zoom control 402 including a zoom slider 403 that can be slid along the zoom control. Figure 4 As shown in the example, if the zoom control 402 is set in the vertical direction, the zoom slider 403 can slide in the vertical direction, thereby achieving zooming of the target map.
[0046] When a user needs to view details of a specific location or area on a target map, they can select that location by entering a corresponding action. For ease of description, the location of interest selected by the user will be referred to as the first target location. The user can select the first target location on the target map by clicking (e.g., single-click, double-click, etc.) or long-pressing.
[0047] Furthermore, for the first target location selected by the user, it is associated with the zoom slider 403 in the zoom control to establish a connection between the user's location of interest and the zoom slider 403, which facilitates the subsequent zooming and display of the area corresponding to the first target location.
[0048] Step S302: In response to the first sliding operation of the zoom slider, control the zoom center point determined according to the first target position to perform zoom processing on the target map.
[0049] In this embodiment, after the zoom slider 403 is associated with the first target location, if the user initiates a sliding operation on the zoom slider 403, i.e., the first sliding operation (the first sliding operation is used to control the zoom slider 403 to slide along the zoom control 402), the target map can be zoomed. Furthermore, when zooming, the zoom center point is not based on the current position of the virtual character controlled by the user or the center position of the map interface, but rather on a suitable zoom center point determined according to the first target location. Based on this, the target map is zoomed in or out, and the zoomed-in or zoomed-out target map is displayed in real time in the map window 401.
[0050] Specifically, after determining the first target location, the corresponding scaling center point for subsequent scaling processing can be determined based on this first target location. For example, the first target location can be directly used as the scaling center point, or other locations around the first target location can be used as the scaling center point.
[0051] For example, the zoom center point can be the nearest valid location to the first target location, which refers to the location that the player-controlled virtual character can reach. For instance, if the virtual character cannot enter the sea area, but the first target location selected by the player's selection action is a location in the sea area, then the zoom center point can be the nearest valid location on the coast to that first target location.
[0052] like Figure 4As shown, the target map includes areas such as City A. If a user needs to view details of City A, the location corresponding to City A can be designated as the first target location 404, and this first target location 404 can be associated with the zoom slider 403. If the first target location 404 is directly used as the zoom center point, the user can then slide the zoom slider 403 up or down to zoom the target map with the first target location 404 as the zoom center point. Specifically, by sliding the zoom slider 403 upwards, the target map can be zoomed in. The zoomed-in target map can be seen in [reference needed]. Figure 5 As shown.
[0053] The map interface control method provided in this embodiment allows users to arbitrarily select a location of interest in the target map, use it as the zoom center point, and associate it with a zoom slider. By operating the zoom slider, users can zoom the target map with the location of interest as the center, making it convenient for users to view the details of the corresponding area. Furthermore, the zooming process ensures that the location of interest is always in the map interface, facilitating user positioning and providing high adjustment efficiency.
[0054] This embodiment provides a map interface control method, which can be applied to the aforementioned terminal devices, such as computer 101, mobile terminal 102, etc. Figure 6 This is a flowchart of a map interface control method according to an embodiment of the present disclosure, such as... Figure 6 As shown, the process includes the following steps.
[0055] Step S601: In response to the selection operation of the first target location in the target map, the first target location is associated with the zoom slider in the zoom control.
[0056] Please see details Figure 3 Step S301 of the illustrated embodiment will not be described again here.
[0057] In some alternative implementations, step S601, "in response to a selection operation of a first target location in the target map, associating the first target location with the zoom slider in the zoom control," may specifically include step a1.
[0058] Step a1: In response to a click operation on the target map, the location corresponding to the click operation is taken as the first target location and associated with the zoom slider in the zoom control.
[0059] Step a2: In response to the first drag operation from the target map to the location of the zoom slider, the starting position of the first drag operation is taken as the first target position and associated with the zoom slider in the zoom control.
[0060] In this embodiment, as shown above, the user can click on a location in the target map to establish it as the first target location, which is then automatically associated with the zoom slider. Alternatively, the user can use a first drag operation (essentially a swipe operation) to associate the first target location with the zoom control in one go, making the operation simple.
[0061] In this method, users can first long-press on a location on the target map, and then continue to drag the first position without lifting their finger. The starting position of the first drag operation is the long-pressed position. The long-press operation determines the first target location, which is then dragged to the zoom slider, thus linking the target location with the zoom slider. Alternatively, users can select the first target location using a double-click or other click operation, and then drag the first position to link the two.
[0062] Alternatively, when the target map is not zoomed in, swiping the screen will not trigger map dragging. Therefore, you can directly input the first drag operation, which does not require long press or click to select the first target location. The first drag operation can associate the first target location with the zoom control in one go, which is simple to operate.
[0063] Specifically, when the target map is not zoomed in, the user can use the location of interest as the starting position and perform the first drag operation until the zoom slider is reached, that is, drag the location of interest to the zoom slider to establish a connection between the location of interest (i.e., the first target location) and the zoom slider.
[0064] Figure 7 A schematic diagram of the first drag operation is shown. For example... Figure 7 As shown, if a user needs to view the details of City A, they can use the location corresponding to City A as the starting position for the first drag operation and drag it to the right until it reaches the zoom slider 403.
[0065] Optionally, step a1, "taking the position corresponding to the click operation as the first target position," may include: determining the click area corresponding to the click operation; and taking the position of a preset map element in the click area as the first target position. Alternatively, step a2, "taking the starting position of the first drag operation as the first target position," may include: determining the starting area corresponding to the starting position of the first drag operation; and taking the position of a preset map element in the starting area as the first target position.
[0066] In this embodiment, in order to assist the user in determining a suitable first target location, regardless of whether the first target location is determined based on a click operation or a first drag operation, the area corresponding to the operation can be determined, namely the click area or the starting area; if there is a preset map element in the target map within the area, the location of the map element can be taken as the first target location.
[0067] Map elements refer to key elements that can be marked on the target map. They can be represented using preset or custom icons, thus indicating the location of the key elements. For example, the map element can be a pre-marked important location (such as a city, shop, football field, etc.), depending on the actual situation.
[0068] For example, the click location or the starting location of the first drag operation can be used as the center to generate a click area or starting area with a certain radius, and the location of a certain map element in the area (such as the map element closest to the center of the area) can be used as the first target location.
[0069] It is understandable that if the corresponding area does not contain map elements, such as the click area corresponding to the click operation or the starting area corresponding to the starting position of the first drag operation, then any position in that area can be used as the first target position; for example, the center position of that area can be used as the first target position.
[0070] Optionally, the method further includes: after taking the location of the target map element as the first target location, if the target map element is a movable map element, updating the first target location according to the updated location of the target map element, and / or adjusting the display area of the target map in the map interface according to the updated location of the target map element.
[0071] In this embodiment, if the first target location is determined based on the location of a map element, for ease of description, the map element used to determine the first target location is referred to as the target map element. This target map element can be a fixed-location element, such as a pre-marked city or shop element on the target map; or, the target map element can be a movable map element.
[0072] Specifically, map elements in the target map can include teammate markers (indicating the location of teammates) and markers placed by players and teammates in the game scene. These markers can be zoomed in on by dragging them to the zoom slider. Dragging movable map elements such as teammate markers to the zoom slider makes the corresponding target map element movable; when a teammate moves, the position of the corresponding teammate marker changes, thus updating the position of the target map element. The first target position is then updated in real-time based on the updated position, enabling dynamic adjustment of the zoom center point (e.g., the first target position).
[0073] Furthermore, as the position of a target map element changes, the display area of the target map within the map interface can be adaptively adjusted to ensure that the target map element remains visible even after its position changes. For example, when the target map element's position on the target map changes, its relative position within the map interface can remain constant; alternatively, the target map element can always be positioned in the center of the map interface. In this case, if the target map element is a teammate's identifier, the updated map area can be displayed adaptively as the teammate's position changes.
[0074] Optionally, the zoom slider can also be used to display a portion of the map area corresponding to the associated target location. For example... Figure 4 As shown, if a certain location in City A is taken as the first target location, then the part of the area corresponding to the first target location can be determined, that is, the map area corresponding to City A, and this part of the map area is displayed in the zoom slider 403 to facilitate the identification of the zoom center point and to convey the intention that dragging the zoom slider 403 up and down will zoom the map area.
[0075] For example, if the first target location is determined based on step a2, then the starting area corresponding to the starting position of the first drag operation is used as the map area to be displayed in the zoom slider. Wherein, as... Figure 7 As shown, the map area can be displayed in real time along the dragging trajectory during the dragging process.
[0076] Step S602: In response to the first sliding operation of the zoom slider, control the zoom center point determined according to the first target position to perform zoom processing on the target map.
[0077] Please see details Figure 3 Step S302 of the illustrated embodiment will not be described again here.
[0078] Step S603: In response to the display area adjustment instruction based on the zoom slider input, adjust the display area of the target map in the map interface according to the display area adjustment instruction.
[0079] In this embodiment, the zoom slider can not only zoom the target map, but also adjust the display area of the target map. Specifically, the user can input a command to adjust the display area of the target map based on the zoom slider, i.e., a display area adjustment command, and then the display area of the target map in the map interface can be adaptively adjusted according to the display area adjustment command.
[0080] The zoom slider can switch between zooming and display area adjustment functions. When the zoom slider is in the display area adjustment function, the user can input the corresponding display area adjustment command by operating the zoom slider (e.g., sliding the zoom slider), thereby adjusting the display area of the target map in the map interface. For example, the user can control the target map to move to the right in the map interface so that the specific information of the left half of the target map can be displayed in the map interface.
[0081] In some alternative implementations, such as Figure 6 As shown, the above step S603, "in response to the display area adjustment instruction based on the zoom slider input, adjust the display area of the target map in the map interface according to the display area adjustment instruction", may specifically include steps S6031 to S6032.
[0082] Step S6031: When the target map is in the target state, a first instruction is received for the zoom slider to disable its zoom function. The target state includes at least one of the following: zoomed-in state, or the zoom control of the target map is in an associated state (i.e., the first target position is associated with the zoom slider). Specifically, the target state of the target map includes at least three cases: the target map is in a zoomed-in state (regardless of whether it is associated with the zoom control), the first target position of the target map is associated with the zoom slider (regardless of whether the target map is in a zoomed-in state), or the target map is in a zoomed-in state and associated with the zoom slider.
[0083] In this embodiment, after the first target position on the target map is associated with the zoom slider, the zoom control of the target map is in an associated state. Regardless of whether the target map is in a zoomed-in state, it can receive the first instruction for the zoom slider to turn off the zoom function of the zoom slider. Then, step S6032 can be executed to adjust the display area.
[0084] Alternatively, after zooming in on the target map, when the target map is in a zoomed-in state (the distance between the zoom slider and the bottom of the slider bar is greater than 0), some areas of the target map are not displayed in the map interface. To facilitate users in viewing other areas not displayed in the map interface, this embodiment provides a quick viewing method.
[0085] Specifically, if the target map is in a zoomed-in state, a first instruction can be received for the zoom slider regardless of whether the zoom slider is in an associated state. This first instruction is used to disable the zoom function of the zoom slider; that is, after receiving the first instruction, the zoom function of the zoom slider can be disabled. It can be understood that if the zoom slider is not in an associated state, its zoom function is a traditional zoom function, such as zooming based on the center of the map interface or the current position of the virtual character as the zoom center point; while if the zoom slider is in an associated state, its zoom function is the zoom function provided in this embodiment, that is, zooming based on the zoom center point determined by the first target position.
[0086] The zoom function of the zoom slider can be either on or off. The first instruction can only be received when the zoom function of the zoom slider is on. For example, step S6031, "receiving the first instruction for the zoom slider," can include: when the zoom function of the zoom slider is on, determining that the first instruction has been received in response to a first click operation on the zoom slider.
[0087] The first click operation is clicking the zoom slider. To distinguish it from other operations on the zoom slider, this first click operation can be a double click.
[0088] In step S6032, in response to the second sliding operation originating from the zoom slider, the position of the zoom slider remains unchanged, and the display area of the target map in the map interface is adjusted according to the second sliding operation. The second sliding operation supports multiple sliding directions.
[0089] In this embodiment, when the zoom function of the zoom slider is turned off, the function of quickly adjusting the map window display area by sliding the zoom slider can be activated at the same time.
[0090] Specifically, users can use the position of the zoom slider as a starting point to input a sliding operation, i.e., the second sliding operation; this second sliding operation is used to move the display area of the target map in the map interface. Furthermore, since the zoom function of the zoom slider is disabled at this time, to avoid affecting subsequent zooming effects, the position of the zoom slider remains unchanged. In other words, during the execution of the second sliding operation, the map scale of the target map remains unchanged; only the display area in the map interface is adjusted.
[0091] For example, such as Figure 5 As shown, if the first target location is associated with the zoom slider 403, the target map can be zoomed in by sliding the zoom slider 403 through the first sliding operation, and detailed information about city A can be displayed. Furthermore, as... Figure 4 As shown, Island B also exists in the target map. If the user zooms in on City A (e.g.) Figure 5 As shown, to view the details of Island B, one method is to zoom out of the target map until Island B appears on the map interface. Then, associate Island B as the primary target location with the zoom slider 403, and zoom in on the corresponding area of Island B by sliding the zoom slider 403 to view its details. This method is cumbersome and inefficient.
[0092] In this embodiment, after disabling the zoom function of the zoom slider 403, the user can perform a second sliding operation on the zoom slider 403. For example... Figure 8 As shown, since Island B is located to the upper right of City A, the user can use the zoom slider 403 as a starting point and slide the screen to the upper right to input the second sliding operation. During the second sliding operation, the position of the zoom slider 403 in the zoom control 402 remains unchanged; that is, visually, the zoom slider 403 is stationary. However, as the second sliding operation proceeds, the display area of the target map in the map interface can be determined and updated in real time, and the updated display area is displayed in the map window 401 until the user moves to Island B of interest. A schematic diagram of the map interface after the second sliding operation is shown below. Figure 9 As shown, by sliding the zoom slider 403, the area displayed in the map window 401 can be easily adjusted from City A to Island B.
[0093] Furthermore, since the second swipe operation allows the user to change the displayed area in the map interface, achieving the effect of dragging the map, the swipe direction of this second swipe operation is no longer limited by the direction of the zoom control (e.g., Figure 4 (as shown in the vertical direction), the second sliding operation can slide in multiple directions, such as sliding in the up, down, left, and right directions, or it can slide freely in 360°. In this embodiment, the sliding direction of the second sliding operation is not limited.
[0094] Optionally, after step S6032 "adjusting the display area of the target map in the map interface", the method further includes step b1.
[0095] Step b1: Take the position in the adjusted display area as the second target position, and associate the second target position with the scaling slider in the scaling control.
[0096] In this embodiment, after determining a new display area through the second sliding operation, a certain position within the new display area can be used as a new target position that needs to be associated with the scaling control, namely the second target position, and associated with the scaling slider. That is, the target position associated with the scaling slider changes from the first target position to the second target position.
[0097] For example, the center of the new display area, or the location of the map element closest to the center, can be used as the second target location and associated with the zoom control.
[0098] It's understandable that during the second sliding operation, the display area of the target map on the map interface can be adjusted in real time. Therefore, the corresponding location can be used as the second target location in real time, realizing the real-time update of the target location associated with the zoom control. Furthermore, if the zoom slider function is enabled again and zooming continues based on the zoom slider, a new zoom center point is determined based on this second target location, and the target map is zoomed based on the new zoom center point.
[0099] In this embodiment, by updating the relationship between the zoom slider and the target location in real time, the zoom center point can be updated in real time, ensuring that the zoom center point is always located in the map interface. When zooming based on the zoom slider in the future, the zoom can be directly performed based on the new zoom center point.
[0100] Optionally, as shown above, the zoom slider is used to display a portion of the map area corresponding to the associated target location; and the method further includes: updating the content displayed by the zoom slider in real time according to the association between the zoom slider and the target location in the target map.
[0101] In this embodiment, the content displayed in the zoom slider is a portion of the map area corresponding to the target location; if the target location changes, the content displayed in the zoom slider can be updated.
[0102] For example, such as Figure 5 or Figure 8 As shown, if the target location associated with the zoom slider 403 (e.g., the first target location) is near City A, then a portion of the map area near City A can be displayed in the zoom slider 403, such as a thumbnail of City A; subsequently, if the target location associated with the zoom slider 403 is changed through a second sliding operation, such as... Figure 9 As shown, if the target location associated with zoom slider 403 (e.g., the second target location) is near Island B, then the content displayed in zoom slider 403 is updated to reflect a portion of the map area near Island B. This ensures that the content displayed in zoom slider 403 matches the map displayed in map window 401.
[0103] Optionally, step S6032, "adjusting the display area of the target map in the map interface according to the second sliding operation," may include steps c1 to c2.
[0104] Step c1: Determine the map adjustment distance corresponding to the second sliding operation when dragging the target map at the target scale using the second sliding operation; the target scale is smaller than the current scale corresponding to the target map in the zoomed-in state.
[0105] Step c2: Adjust the display area of the target map in the map interface according to the sliding direction of the second sliding operation and the map adjustment distance.
[0106] In this embodiment, the target map has a scale bar, which changes as the target map is zoomed in or out. It can be understood that when the target map is not zoomed in (at which time the zoom slider is at the bottom of the slider), the target map has the smallest scale bar, and when the target map is zoomed in (at which time the zoom slider is at the top of the slider), the target map has the largest scale bar.
[0107] After zooming in on the target map, if you need to view details of other areas, you can also drag the map to change the area displayed on the map interface. However, because the scale of the target map is larger after zooming in, the range of adjustment when the user drags the target map is limited each time. It is suitable for fine-tuning the displayed area, but not suitable for long-distance adjustments, such as moving from city A to island B.
[0108] In this embodiment, when the second sliding operation is performed based on the zoom slider to drag the target map, the target map with a smaller scale is being dragged. For ease of description, this scale is referred to as the target scale. When the zoom function of the zoom slider is turned off, the target map in the zoomed-in state corresponds to a certain scale, i.e., the current scale, and the target scale is smaller than the current scale.
[0109] The target scale can be either the minimum scale or the scale of the target map when the zoom slider is associated. For example, when associating the zoom slider in step S601, the scale of the target map at that time is also used as the target scale. If the association is performed when the target map is not zoomed in, then the target scale is also the minimum scale of the target map.
[0110] For example, if the zoom slider displays a portion of the map area corresponding to the associated target location, and the scale of this portion of the map area is the target scale, then when the display area of the map interface is updated based on the second sliding operation, the display content of the zoom slider is updated synchronously based on the target scale.
[0111] When the target map is dragged based on the second swipe operation, it is equivalent to dragging the target map at the target scale. Specifically, based on the swipe distance corresponding to the second swipe operation and the target scale, the corresponding map adjustment distance can be determined, which corresponds to the actual distance on the target map. Subsequently, based on this map adjustment distance and the swipe direction of the second swipe operation, the display area of the target map in the map interface can be adjusted.
[0112] Because the target scale is smaller, the range of the display area can be adjusted more significantly by sliding the map a greater distance using the second sliding operation compared to dragging the map directly, thus enabling faster adjustments.
[0113] For example, if the current map interface is like Figure 8 As shown, and since users need to view details of Island B, the map interface needs to be adjusted as follows. Figure 9 As shown. If the map is dragged directly to the upper right, the user needs to drag it multiple times to adjust the display area of the map interface to Island B; however, if the zoom slider 403 is slid (i.e., through the second sliding operation), since the zoom slider 403 corresponds to a smaller map scale, the display area of the map interface can be adjusted to Island B with fewer slides, thus improving the adjustment efficiency.
[0114] Optionally, the method may further include: in response to a second drag operation on a target map in the map interface, adjusting the display area of the target map at the current scale in the map interface according to the drag direction and drag distance of the second drag operation.
[0115] In this embodiment, when adjusting the display area in the map interface, as shown above, in addition to quick adjustment based on steps c1 to c2, this embodiment also supports directly dragging the target map in the map interface. That is, by triggering the second drag operation on the target map, the user can directly drag the target map at the current scale, thereby adjusting the display area of the target map in the map interface. Compared with steps c1 to c2, this adjustment method can achieve precise adjustment of the display area in the map interface.
[0116] The display area can be quickly adjusted using the zoom slider, and fine-tuning can be achieved through a second drag operation, ensuring that players can accurately view map details of the areas they are interested in.
[0117] Optionally, after disabling the zoom slider's zoom function, the method may further include: receiving a second instruction for the zoom slider to re-enable its zoom function. The target map can then be zoomed again based on the zoom slider.
[0118] Similarly, the zoom function can be reactivated by clicking. Specifically, receiving a second instruction for the zoom slider can include: if the zoom function of the zoom slider is off, confirming that a second instruction has been received in response to a second click on the zoom slider.
[0119] Figure 10 A flowchart illustrating one method for controlling the map interface is shown. Figure 10 As shown, the method includes the following steps.
[0120] Step S1001: When the target map is not zoomed in, in response to the first drag operation from the target map to the position of the zoom slider, the starting position of the first drag operation is taken as the first target position and associated with the zoom slider in the zoom control.
[0121] In this embodiment, when the target map is not zoomed in, the user presses and holds the area they want to view (the area pressed by the finger or a map element) with their finger and drags it to the zoom slider. The dragged area will replace the display of the zoom slider, indicating that dragging the zoom slider up and down can zoom the selected map area.
[0122] Step S1002: In response to the first sliding operation of the zoom slider, zoom the target map with the first target position as the zoom center point.
[0123] In this embodiment, after the dragged area replaces the display of the zoom slider, dragging the zoom slider upwards allows you to zoom in on the map with that area as the center, thus satisfying the player's need to freely choose the center point for map zooming.
[0124] Step S1003: With the target map in zoom-in mode, double-click the zoom slider to turn off the zoom function.
[0125] In this embodiment, if the target map is in zoomed-in mode (the distance between the zoom slider and the bottom of the slider bar is greater than 0), double-clicking the zoom slider will disable the zoom function and activate the function of quickly adjusting the map window display area by dragging the slider; at this time, the zoom slider is selected. In this state, dragging the zoom slider up and down no longer has the function of zooming the map, but instead changes the display area in the map interface.
[0126] Step S1004: In response to the second sliding operation starting from the zoom slider, keep the position of the zoom slider unchanged, and adjust the display area of the target map in the map interface according to the second sliding operation.
[0127] Dragging the zoom slider keeps the slider's position unchanged, but the area displayed on the slider changes, thus adjusting the map window's display area. The map display area within the slider can be freely swiped 360°. The interface appears as if the slider's control position remains constant, but the map area displayed within it changes with the finger's movement, and the map window's display area changes synchronously.
[0128] Specifically, the map window displays a magnified version of the map, corresponding to a larger scale (i.e., the current scale), and the range of adjustment is limited with each drag. The map displayed on the zoom slider, however, is a non-magnified version with a smaller scale (i.e., the target scale). When a finger slides the same distance across the screen, the smaller the map scale, the larger the range of adjustment for the displayed area. Therefore, dragging the zoom slider triggers a large-scale adjustment of the displayed area with each drag, suitable for quickly adjusting areas with significant spans.
[0129] Step S1005: Double-click the zoom slider again to re-enable the zoom function.
[0130] Double-clicking the zoom slider will exit the selected state, meaning that dragging the slider will no longer adjust the map display area, but will restore the map zoom function, after which you can continue to execute steps S1002, etc.
[0131] The map interface control method provided in this embodiment allows users to arbitrarily select a location of interest on the target map, using it as the zoom center point. By associating this location with the zoom slider, users can zoom in and out of the target map around this location, facilitating the viewing of details in the corresponding area. Furthermore, the zoom process ensures that the location of interest remains within the map interface, facilitating user location and adjustment efficiency. After disabling the zoom slider's zoom function, users can quickly switch the displayed area in the map window by dragging the slider, enabling rapid adjustment of the displayed area.
[0132] This embodiment also provides a control device for a map interface, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0133] This embodiment provides a control device for a map interface, the map interface including a target map and zoom controls, such as... Figure 11 As shown, the device includes:
[0134] The association module 1101 is used to associate the first target location with the zoom slider in the zoom control in response to a selection operation on the target map;
[0135] The processing module 1102 is configured to, in response to a first sliding operation of the zoom slider, control the zoom center point determined according to the first target position to perform zoom processing on the target map.
[0136] The map interface control device provided in this disclosure can execute the map interface control method provided in any embodiment of this disclosure, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.
[0137] Figure 12 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.
[0138] The following is a detailed reference. Figure 12 The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present disclosure. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 1201, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1202 or a program loaded from memory 1208 into random access memory (RAM) 1203. The RAM 1203 also stores various programs and data required for the operation of the electronic device. The processor 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.
[0139] Typically, the following devices can be connected to I / O interface 1205: input devices 1206 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 1207 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 1208 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1209. Communication device 1209 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 12 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0140] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1209, or installed from memory 1208, or installed from ROM 1202. When the computer program is executed by processor 1201, it performs the functions defined in the map interface control method of embodiments of this disclosure.
[0141] Specifically, the control methods for the above map interface include:
[0142] In response to a selection operation on a first target location in the target map, the first target location is associated with the zoom slider in the zoom control;
[0143] In response to a first sliding operation on the zoom slider, the target map is zoomed based on a zoom center point determined according to the first target position.
[0144] In some optional implementations, associating the first target location with the zoom slider in the zoom control in response to a selection operation on the target map includes:
[0145] In response to a click operation on the target map, the location corresponding to the click operation is taken as the first target location and associated with the zoom slider in the zoom control;
[0146] Alternatively, in response to a first drag operation from the target map to the location of the zoom slider, the starting position of the first drag operation is taken as the first target position and associated with the zoom slider in the zoom control.
[0147] In some optional implementations, the step of taking the location corresponding to the click operation as the first target location includes: determining the click area corresponding to the click operation; and taking the location of a preset map element in the click area as the first target location.
[0148] Alternatively, the step of taking the starting position of the first drag operation as the first target position includes: determining the starting area corresponding to the starting position of the first drag operation; and taking the position of a preset map element in the starting area as the first target position.
[0149] In some optional implementations, the method further includes: after taking the location of the target map element as the first target location, if the target map element is a movable map element, updating the first target location according to the updated location of the target map element, and / or adjusting the display area of the target map in the map interface according to the updated location of the target map element.
[0150] In some optional implementations, the method further includes:
[0151] In response to a display area adjustment command input based on the zoom slider, the display area of the target map in the map interface is adjusted according to the display area adjustment command.
[0152] In some optional implementations, adjusting the display area of the target map in the map interface according to the display area adjustment instruction input based on the zoom slider includes:
[0153] When the target map is in the target state, a first instruction is received for the zoom slider to disable the zoom function of the zoom slider. The target state includes at least one of the following: zoom-in state, and the zoom control is in the associated state.
[0154] In response to a second sliding operation originating from the zoom slider, the position of the zoom slider remains unchanged, and the display area of the target map in the map interface is adjusted according to the second sliding operation.
[0155] In some optional implementations, adjusting the display area of the target map in the map interface according to the second sliding operation includes:
[0156] When the target map at the target scale is dragged using the second sliding operation, the map adjustment distance corresponding to the second sliding operation is determined; the target scale is smaller than the current scale corresponding to the target map in the zoomed-in state.
[0157] Adjust the display area of the target map in the map interface according to the sliding direction of the second sliding operation and the map adjustment distance.
[0158] In some optional implementations, the method further includes: in response to a second drag operation on a target map in the map interface, adjusting the display area of the target map at the current scale in the map interface according to the drag direction and drag distance of the second drag operation.
[0159] In some alternative implementations, after adjusting the display area of the target map in the map interface, the method further includes:
[0160] The position in the adjusted display area is used as the second target position, and the second target position is associated with the scaling slider in the scaling control.
[0161] In some optional implementations, the method further includes:
[0162] Receive a second instruction for the zoom slider to re-enable the zoom function of the zoom slider.
[0163] In some alternative implementations, receiving a first instruction for the zoom slider includes:
[0164] When the zoom function of the zoom slider is enabled, in response to the first click operation on the zoom slider, it is determined that the first instruction has been received;
[0165] The receiving of a second instruction for the zoom slider includes:
[0166] When the zoom function of the zoom slider is off, the second instruction is determined to be received in response to a second click operation on the zoom slider.
[0167] In some optional implementations, the zoom slider is used to display a portion of the map area corresponding to the associated target location;
[0168] The method further includes:
[0169] The content displayed by the zoom slider is updated in real time based on the correlation between the zoom slider and the target location in the target map.
[0170] In this embodiment, the user can arbitrarily select a location of interest on the target map, using it as the zoom center point. By associating this location with the zoom slider, the user can zoom in and out of the target map around this location, facilitating the viewing of details in the corresponding area. Furthermore, the zoom process ensures that the location of interest remains within the map interface, facilitating user location and providing high adjustment efficiency. After disabling the zoom slider's zoom function, the user can quickly switch the displayed area in the map window by dragging the slider, enabling rapid adjustment of the displayed area.
[0171] Figure 12 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0172] This disclosure also provides a computer-readable storage medium in which the methods described in this disclosure can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded over a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and subsequently stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium may also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the control method of the map interface shown in the above embodiments is implemented.
[0173] Specifically, the control methods for the above map interface include:
[0174] In response to a selection operation on a first target location in the target map, the first target location is associated with the zoom slider in the zoom control;
[0175] In response to a first sliding operation on the zoom slider, the target map is zoomed based on a zoom center point determined according to the first target position.
[0176] In some optional implementations, associating the first target location with the zoom slider in the zoom control in response to a selection operation on the target map includes:
[0177] In response to a click operation on the target map, the location corresponding to the click operation is taken as the first target location and associated with the zoom slider in the zoom control;
[0178] Alternatively, in response to a first drag operation from the target map to the location of the zoom slider, the starting position of the first drag operation is taken as the first target position and associated with the zoom slider in the zoom control.
[0179] In some optional implementations, the step of taking the location corresponding to the click operation as the first target location includes: determining the click area corresponding to the click operation; and taking the location of a preset map element in the click area as the first target location.
[0180] Alternatively, the step of taking the starting position of the first drag operation as the first target position includes: determining the starting area corresponding to the starting position of the first drag operation; and taking the position of a preset map element in the starting area as the first target position.
[0181] In some optional implementations, the method further includes: after taking the location of the target map element as the first target location, if the target map element is a movable map element, updating the first target location according to the updated location of the target map element, and / or adjusting the display area of the target map in the map interface according to the updated location of the target map element.
[0182] In some optional implementations, the method further includes:
[0183] In response to a display area adjustment command input based on the zoom slider, the display area of the target map in the map interface is adjusted according to the display area adjustment command.
[0184] In some optional implementations, adjusting the display area of the target map in the map interface according to the display area adjustment instruction input based on the zoom slider includes:
[0185] When the target map is in the target state, a first instruction is received for the zoom slider to disable the zoom function of the zoom slider. The target state includes at least one of the following: zoom-in state, and the zoom control is in the associated state.
[0186] In response to a second sliding operation originating from the zoom slider, the position of the zoom slider remains unchanged, and the display area of the target map in the map interface is adjusted according to the second sliding operation.
[0187] In some optional implementations, adjusting the display area of the target map in the map interface according to the second sliding operation includes:
[0188] When the target map at the target scale is dragged using the second sliding operation, the map adjustment distance corresponding to the second sliding operation is determined; the target scale is smaller than the current scale corresponding to the target map in the zoomed-in state.
[0189] Adjust the display area of the target map in the map interface according to the sliding direction of the second sliding operation and the map adjustment distance.
[0190] In some optional implementations, the method further includes: in response to a second drag operation on a target map in the map interface, adjusting the display area of the target map at the current scale in the map interface according to the drag direction and drag distance of the second drag operation.
[0191] In some alternative implementations, after adjusting the display area of the target map in the map interface, the method further includes:
[0192] The position in the adjusted display area is used as the second target position, and the second target position is associated with the scaling slider in the scaling control.
[0193] In some optional implementations, the method further includes:
[0194] Receive a second instruction for the zoom slider to re-enable the zoom function of the zoom slider.
[0195] In some alternative implementations, receiving a first instruction for the zoom slider includes:
[0196] When the zoom function of the zoom slider is enabled, in response to the first click operation on the zoom slider, it is determined that the first instruction has been received;
[0197] The receiving of a second instruction for the zoom slider includes:
[0198] When the zoom function of the zoom slider is off, the second instruction is determined to be received in response to a second click operation on the zoom slider.
[0199] In some optional implementations, the zoom slider is used to display a portion of the map area corresponding to the associated target location;
[0200] The method further includes:
[0201] The content displayed by the zoom slider is updated in real time based on the correlation between the zoom slider and the target location in the target map.
[0202] In this embodiment, the user can arbitrarily select a location of interest on the target map, using it as the zoom center point. By associating this location with the zoom slider, the user can zoom in and out of the target map around this location, facilitating the viewing of details in the corresponding area. Furthermore, the zoom process ensures that the location of interest remains within the map interface, facilitating user location and providing high adjustment efficiency. After disabling the zoom slider's zoom function, the user can quickly switch the displayed area in the map window by dragging the slider, enabling rapid adjustment of the displayed area.
[0203] A portion of this disclosure can be applied to computer program products, such as computer program instructions, which, when executed by a computer, can invoke or provide methods and / or technical solutions according to this disclosure through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, and installation package files. Accordingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions; the computer compiling the instructions and then executing the corresponding compiled program; the computer reading and executing the instructions; or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0204] Although embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for controlling a map interface, characterized in that, The map interface includes a target map and zoom controls, and the method includes: In response to a selection operation on a first target location in the target map, the first target location is associated with the zoom slider in the zoom control; In response to a first sliding operation on the zoom slider, the target map is zoomed based on a zoom center point determined according to the first target position.
2. The method according to claim 1, characterized in that, The step of responding to a selection operation on a first target location in the target map and associating the first target location with the zoom slider in the zoom control includes: In response to a click operation on the target map, the location corresponding to the click operation is taken as the first target location and associated with the zoom slider in the zoom control; Alternatively, in response to a first drag operation from the target map to the location of the zoom slider, the starting position of the first drag operation is taken as the first target position and associated with the zoom slider in the zoom control.
3. The method according to claim 2, characterized in that, The step of taking the location corresponding to the click operation as the first target location includes: determining the click area corresponding to the click operation; and taking the location of a preset map element in the click area as the first target location. Alternatively, the step of taking the starting position of the first drag operation as the first target position includes: determining the starting area corresponding to the starting position of the first drag operation; and taking the position of a preset map element in the starting area as the first target position.
4. The method according to claim 3, characterized in that, The method further includes: After setting the location of the target map element as the first target location, if the target map element is a movable map element, the first target location is updated according to the updated location of the target map element, and / or the display area of the target map in the map interface is adjusted according to the updated location of the target map element.
5. The method according to claim 1, characterized in that, The method further includes: In response to a display area adjustment command input based on the zoom slider, the display area of the target map in the map interface is adjusted according to the display area adjustment command.
6. The method according to claim 5, characterized in that, The step of adjusting the display area of the target map in the map interface in response to a display area adjustment command input based on the zoom slider includes: When the target map is in the target state, a first instruction is received for the zoom slider to disable the zoom function of the zoom slider. The target state includes at least one of the following: zoom-in state, and the zoom control is in the associated state. In response to a second sliding operation originating from the zoom slider, the position of the zoom slider remains unchanged, and the display area of the target map in the map interface is adjusted according to the second sliding operation.
7. The method according to claim 6, characterized in that, Adjusting the display area of the target map in the map interface according to the second sliding operation includes: When the target map at the target scale is dragged using the second sliding operation, the map adjustment distance corresponding to the second sliding operation is determined; the target scale is smaller than the current scale corresponding to the target map in the zoomed-in state. Adjust the display area of the target map in the map interface according to the sliding direction of the second sliding operation and the map adjustment distance.
8. The method according to claim 7, characterized in that, The method further includes: In response to a second drag operation on the target map in the map interface, the display area of the target map at the current scale in the map interface is adjusted according to the drag direction and drag distance of the second drag operation.
9. The method according to claim 5, characterized in that, After adjusting the display area of the target map in the map interface, the method further includes: The position in the adjusted display area is used as the second target position, and the second target position is associated with the scaling slider in the scaling control.
10. The method according to claim 6, characterized in that, The method further includes: Receive a second instruction for the zoom slider to re-enable the zoom function of the zoom slider.
11. The method according to claim 10, characterized in that, Receiving a first instruction for the zoom slider includes: When the zoom function of the zoom slider is enabled, in response to the first click operation on the zoom slider, it is determined that the first instruction has been received; The receiving of a second instruction for the zoom slider includes: When the zoom function of the zoom slider is off, the second instruction is determined to be received in response to a second click operation on the zoom slider.
12. The method according to any one of claims 1 to 11, characterized in that, The zoom slider is used to display a portion of the map area corresponding to the associated target location; The method further includes: The content displayed by the zoom slider is updated in real time based on the correlation between the zoom slider and the target location in the target map.
13. A control device for a map interface, characterized in that, The map interface includes a target map and zoom controls, and the device includes: The association module is used to associate the first target location with the zoom slider in the zoom control in response to the selection operation of the first target location in the target map; The processing module is configured to, in response to a first sliding operation of the zoom slider, control the zoom center point determined based on the first target position to perform zoom processing on the target map.
14. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the map interface control method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the control method of the map interface according to any one of claims 1 to 12.