CN112129309A - Map display method and device - Google Patents

Map display method and device Download PDF

Info

Publication number
CN112129309A
CN112129309A CN201910554581.6A CN201910554581A CN112129309A CN 112129309 A CN112129309 A CN 112129309A CN 201910554581 A CN201910554581 A CN 201910554581A CN 112129309 A CN112129309 A CN 112129309A
Authority
CN
China
Prior art keywords
map
sub
interface
main
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910554581.6A
Other languages
Chinese (zh)
Inventor
陈五湖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Qinggan Intelligent Technology Co Ltd
Original Assignee
Shanghai Qinggan Intelligent Technology 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 Shanghai Qinggan Intelligent Technology Co Ltd filed Critical Shanghai Qinggan Intelligent Technology Co Ltd
Priority to CN201910554581.6A priority Critical patent/CN112129309A/en
Publication of CN112129309A publication Critical patent/CN112129309A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3667Display of a road map
    • 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/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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to map display technologies, and in particular, to a map display method, a map display apparatus, and a computer readable medium. The map display method provided by the invention comprises the following steps: acquiring main map data; displaying a main map on a main map interface in a first display mode according to the main map data; generating a sub map interface in a local area of the main map interface; acquiring sub-map data related to the main map data; and displaying the sub-map on the sub-map interface in a second display mode according to the sub-map data. The invention can display the map with different scales and different effects according to the actual requirements of the user, so that the user can clearly observe the map content.

Description

Map display method and device
Technical Field
The present invention relates to map display technologies, and in particular, to a map display method, a map display apparatus, and a computer readable medium.
Background
The map is an image symbolic model which reflects objective reality in a certain mathematical rule (namely modeling), symbolization and abstraction manner or is called as a graphic mathematical model. The map uses map language to reflect the natural and human phenomena on the earth (or other stars) on the plane in a reduced way by drawing synthesis according to a certain mathematical rule, thereby reflecting the spatial distribution, combination, connection, quantity and quality characteristics of various phenomena and the development and change of the phenomena in time.
At present, with the benefit of the wide application of electronic devices such as computers and mobile phones in cartography, maps are no longer limited to being represented on paper (or similar media) by symbols and graphics, and can be stored on magnetic media in a digital form or visually processed and represented on a screen, so as to provide a route planning and guiding function for users who go out or are about to go out.
However, the existing map display technology can only display a map in a 2D or 3D mode singly. The 2D map interface is simple and clear, but not conducive to the user to identify the orientation with respect to the real environment. The 3D mode is closer to the real environment, but the problems of complicated map interface and higher requirements on the memory and the processing capacity of the map display device exist.
Therefore, in order to solve the above-mentioned drawbacks of the prior art, there is a need in the art for a map display technology for displaying a map with different scales and different effects according to the actual needs of a user, so that the user can clearly observe the contents of the map.
Disclosure of Invention
The following presents a simplified summary of one or more aspects in order to provide a basic understanding of such aspects. This summary is not an extensive overview of all contemplated aspects, and is intended to neither identify key or critical elements of all aspects nor delineate the scope of any or all aspects. Its sole purpose is to present some concepts of one or more aspects in a simplified form as a prelude to the more detailed description that is presented later.
In order to solve the above-mentioned drawbacks of the prior art, the present invention provides a map display method, a map display apparatus, and a computer readable medium for displaying a map with different scales and different effects according to the actual needs of a user, so that the user can clearly observe the contents of the map.
The map display method provided by the invention comprises the following steps:
acquiring main map data;
displaying a main map on a main map interface in a first display mode according to the main map data;
generating a sub map interface in a local area of the main map interface;
acquiring sub-map data related to the main map data; and
and displaying the sub-map on the sub-map interface in a second display mode according to the sub-map data.
Preferably, in the map display method provided by the present invention, the displaying the main map on the main map interface in the first display mode may include:
displaying a 2D main map on a main map interface by using a first scale;
the displaying the sub-map on the sub-map interface in the second display mode may include:
and displaying the 3D sub-map on the sub-map interface at a second scale.
Preferably, in the map display method provided by the present invention, the displaying a sub-map on the sub-map interface in the second display mode may include:
and determining the second scale according to an operation instruction input by a user.
Preferably, in the map display method provided by the present invention, the obtaining of the sub map data related to the main map data may include:
and responding to an operation instruction input by a user to indicate that the second scale is larger than the first scale, and acquiring corresponding partial map data from the main map data as the auxiliary map data according to the operation instruction.
Preferably, in the above map display method provided by the present invention, the sub-map interface may be an interactive interface,
the map display method may further include the steps of:
and displaying the related information of the map element selected by the user according to the operation instruction input by the user through the sub-map interface.
Optionally, in the map display method provided by the present invention, the displaying a sub-map on the sub-map interface in the second display mode may further include:
and according to an operation instruction input by a user, redisplaying the 3D sub-map on the sub-map interface at the updated second scale.
Optionally, in the map display method provided by the present invention, the generating a sub-map interface in a local area of the main map interface may include:
generating a rectangular interface above the main map interface;
determining a largest circular area in the rectangular interface as the sub-map interface; and
and transparently rendering the rest area of the rectangular interface outside the secondary map interface to display the main map below the rectangular interface.
Preferably, in the map display method provided by the present invention, the displaying a sub-map on the sub-map interface in a second display mode according to the sub-map data may include:
clipping the sub-map data according to the shape of the sub-map interface; and
and displaying the sub-map on the sub-map interface by using the cropped sub-map data.
Optionally, in the map display method provided by the present invention, the generating a sub-map interface in a local area of the main map interface may further include:
and regenerating a rectangular interface at the corresponding position of the main map interface according to an operation instruction input by a user.
According to another aspect of the present invention, there is also provided a map display apparatus.
The map display device of the present invention includes:
a memory; and
a processor coupled to the memory and configured to:
acquiring main map data;
displaying a main map on a main map interface in a first display mode according to the main map data;
generating a sub map interface in a local area of the main map interface;
acquiring sub-map data related to the main map data; and
and displaying the sub-map on the sub-map interface in a second display mode according to the sub-map data.
Preferably, in the above map display apparatus provided by the present invention, the processor may be further configured to:
displaying a 2D main map on the main map interface by a first scale; and
and displaying the 3D sub-map on the sub-map interface at a second scale.
Preferably, in the above map display apparatus provided by the present invention, the processor may be further configured to:
and determining the second scale according to an operation instruction input by a user.
Preferably, in the above map display apparatus provided by the present invention, the processor may be further configured to:
and responding to an operation instruction input by a user to indicate that the second scale is larger than the first scale, and acquiring corresponding partial map data from the main map data as the auxiliary map data according to the operation instruction.
Preferably, in the above map display apparatus provided by the present invention, the sub-map interface may be an interactive interface,
the processor may be further configured to:
and displaying the related information of the map element selected by the user according to the operation instruction input by the user through the sub-map interface.
Optionally, in the above map display apparatus provided by the present invention, the processor may be further configured to:
and according to an operation instruction input by a user, redisplaying the 3D sub-map on the sub-map interface at the updated second scale.
Optionally, in the above map display apparatus provided by the present invention, the processor may be further configured to:
generating a rectangular interface above the main map interface;
determining a largest circular area in the rectangular interface as the sub-map interface; and
and transparently rendering the rest area of the rectangular interface outside the secondary map interface to display the main map below the rectangular interface.
Preferably, in the above map display apparatus provided by the present invention, the processor may be further configured to:
clipping the sub-map data according to the shape of the sub-map interface; and
and displaying the sub-map on the sub-map interface by using the cropped sub-map data.
Optionally, in the above map display apparatus provided by the present invention, the processor may be further configured to:
and regenerating a rectangular interface at the corresponding position of the main map interface according to an operation instruction input by a user.
According to another aspect of the present invention, a computer-readable medium is also provided herein.
The present invention provides the computer readable medium having stored thereon computer instructions, which when executed by a processor, can implement any of the above-described map display methods.
Drawings
The above features and advantages of the present disclosure will be better understood upon reading the detailed description of embodiments of the disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar relative characteristics or features may have the same or similar reference numerals.
Fig. 1 illustrates a flow chart of a map display method provided according to an aspect of the present invention.
Fig. 2 illustrates an effect diagram of a map display method provided according to an aspect of the present invention.
FIG. 3 is a flow diagram illustrating a method for generating a sub-map interface according to an embodiment of the invention.
Fig. 4 is a schematic view illustrating a structure of a map display apparatus provided according to another aspect of the present invention.
Reference numerals:
101-105 map display method;
1031-1033 generating a sub map interface;
21 a main map interface;
22 sub-map interfaces;
23 sub-map range icons;
24 current location;
40 a map display device;
41 a memory;
42 a processor;
43 user interface.
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure. While the invention will be described in connection with the preferred embodiments, there is no intent to limit its features to those embodiments. On the contrary, the invention is described in connection with the embodiments for the purpose of covering alternatives or modifications that may be extended based on the claims of the present invention. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be practiced without these particulars. Moreover, some of the specific details have been left out of the description in order to avoid obscuring or obscuring the focus of the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Additionally, the terms "upper," "lower," "left," "right," "top," "bottom," "horizontal," "vertical" and the like as used in the following description are to be understood as referring to the segment and the associated drawings in the illustrated orientation. The relative terms are used for convenience of description only and do not imply that the described apparatus should be constructed or operated in a particular orientation and therefore should not be construed as limiting the invention.
It will be understood that, although the terms first, second, third, etc. may be used herein to describe various elements, regions, layers and/or sections, these elements, regions, layers and/or sections should not be limited by these terms, but rather are used to distinguish one element, region, layer and/or section from another element, region, layer and/or section. Thus, a first component, region, layer or section discussed below could be termed a second component, region, layer or section without departing from some embodiments of the present invention.
In order to solve the above-mentioned drawbacks of the prior art, the present invention provides an embodiment of a map display method, an embodiment of a map display apparatus, and an embodiment of a computer readable medium for displaying a map with different scales and different effects according to the actual needs of a user, so that the user can clearly observe the contents of the map.
Referring to fig. 1, fig. 1 is a flow chart illustrating a map display method according to an aspect of the present invention.
As shown in fig. 1, the map display method provided in this embodiment may include the steps of:
101: master map data is acquired.
The above-described main map data may indicate map data for displaying a main map. The map display device may display the main map on its main map interface using the above-described main map data.
In one embodiment, the main map data may preferably be map vector data. The main map data may include information on the extending direction, road surface width, and the like of a plurality of roads within the map range, and information on all buildings distributed on both sides of the plurality of roads. The roads can be ordinary roads arranged on the ground, and can also be special roads such as bridges and elevated roads above the ground.
It will be appreciated by those skilled in the art that the vector map is displayed in a zoomed-in or zoomed-out manner without distortion of the map information, as compared to an electronic map using grid data. In addition, the user can also edit each model on the map conveniently, and solve the spatial relationship among the models, which is beneficial to the browsing and output of the map.
In one embodiment, the map display device may obtain offline local map data from a local storage as the main map data, or obtain online map data from a cloud server as the main map data.
The map display device includes, but is not limited to, a mobile phone, a vehicle-mounted computer, and other electronic devices. Accordingly, the cloud server includes, but is not limited to, a cloud navigation server communicatively connected to the map display device.
It will be appreciated by those skilled in the art that, in this embodiment, by using offline map data pre-stored in the local storage, a user can acquire map data within a desired map range at any time even in an environment without a network. In another embodiment, the online map data obtained from the cloud server has better real-time performance than the offline map data obtained from the local memory. Therefore, by using the online map data acquired from the cloud server as described above, the user can acquire real-time map data, thereby more accurately displaying each road, each building, and related other information within the map range.
It can be understood that the user can select whether to adopt the scheme of obtaining the offline local map data from the local memory or the scheme of obtaining the online map data from the cloud server by operating the user interface of the map display device.
As shown in fig. 1, in the map display method provided in this embodiment, the method may further include the steps of:
102: and displaying the main map on the main map interface in a first display mode according to the main map data.
The main map interface includes, but is not limited to, all or part of a display area of a display screen of an electronic device such as a mobile phone, a vehicle-mounted computer, and the like, and is mainly used for displaying a main map in a first display mode. The different display modes include, but are not limited to, a map scale size, a 2D or 3D display effect, a display color, a display brightness, and the like.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an effect of a map display method according to an aspect of the present invention.
As shown in fig. 2, in one embodiment, the map display apparatus may display a global map (main map) of a 2D effect on the main map interface 21 at a first smaller scale (e.g., 1: 1000) in the first display mode; and according to the second display mode, a partial map (sub-map) with a 3D effect is displayed on the sub-map interface 22 at a second larger scale (for example, 1: 100), so that the function of locally magnifying the main map is achieved, and a user can conveniently select a part of area needing to be magnified from the main map to view in detail according to the actual use requirement of the user.
Those skilled in the art can understand that the above-mentioned scheme of displaying the main map with the 2D effect on the main map interface 21 on the smaller first scale and displaying the sub-map with the 3D effect on the sub-map interface 22 on the larger second scale is only a specific case provided by this embodiment, and is mainly used for selecting a part of the area to be enlarged from the main map for detailed viewing according to the actual use requirement of the user. The main map with a large map range adopts a 2D effect with low requirements on memory and computing power, and the sub-map with a small map range adopts a 3D effect which is more in line with actual scenes, so that the display speed of the map display device can be effectively improved, the effects of simplifying the picture of the main map and improving the authenticity of the sub-map are realized, and the map content can be observed by a user more conveniently.
In other embodiments, the map display apparatus may also display a main map with a 2D effect on the main map interface 21 at a smaller first scale and display a sub-map with a 2D effect on the sub-map interface 22 at a larger second scale according to the actual needs of the user, so as to achieve the effect of locally magnifying the main map; or the main map with the 2D effect is displayed on the main map interface 21 with a larger first scale, and the sub-map with the 2D effect is displayed on the sub-map interface 22 with a smaller second scale, so that the local map is displayed on the larger main map interface of the display interface, and the global map is displayed on the smaller sub-map interface of the display interface, so as to realize the effect of the overview global map; or the main map with the 3D effect is displayed on the main map interface 21 at a larger first scale, and the sub-map with the 2D effect is displayed on the sub-map interface 22 at a smaller second scale, so that the real local map is displayed in the larger main map interface of the display interface, and the user can observe the effect of the map content conveniently.
As shown in fig. 1, in the map display method provided in this embodiment, the method may further include the steps of:
103: and generating a sub-map interface in a local area of the main map interface.
The sub map interface can cover partial area of the main map interface, so that the sub map interface and the main map interface can be simultaneously displayed on a display screen of a map display device such as a mobile phone, a vehicle-mounted computer and the like. Through the scheme of the overlay coverage, the main map interface can be enlarged as much as possible within a limited display screen range, so that the main map can be displayed more clearly.
Referring further to fig. 3, fig. 3 is a flow chart illustrating a method for generating a sub-map interface according to an embodiment of the invention.
As shown in fig. 3, the method for generating a sub-map interface according to this embodiment may include:
1031: generating a rectangular interface above the main map interface;
1032: determining the largest circular area in the rectangular interface as a sub-map interface; and
1033: and transparently rendering the rest area of the rectangular interface outside the interface of the sub-map to display the main map below the rectangular interface.
The existing map display interface is generally rectangular, and the rectangular map display interface often does not accord with the actual observation habit of a user. According to the actual observation habit of the user, the user generally places the map content to be observed in the center of the map display interface so as to facilitate observation. The four corners of the rectangular interface often have no actual display value, but rather can block the main map below the rectangular interface.
Therefore, in the method for generating the sub-map interface provided in this embodiment, a scheme of transparently rendering the rest of the rectangular interface outside the sub-map interface 22 may be adopted, and the sub-map interface 22 is modified into a circular interface that conforms to the actual viewing habits of the user, so that the area covered by the sub-map interface 22 is reduced as much as possible on the premise of ensuring the display effect of the sub-map interface 22, so as to more clearly display the main map below the sub-map interface 22.
In one embodiment, in order to match the circular sub-map interface 22, the map display apparatus may cut out the acquired sub-map data according to the shape of the sub-map interface 22, and display the sub-map on the sub-map interface 22 with the cut-out sub-map data.
It will be understood by those skilled in the art that the above-mentioned scheme of cropping the captured sub-map data according to the shape of the sub-map interface 22 is only a specific example provided in the present embodiment, and is mainly used to clearly illustrate the concept of the present invention and provide a specific scheme convenient for the public to implement, but not to limit the scope of the present invention. In other embodiments, the map display device may also directly obtain the sub-map data of the corresponding shape from the cloud server according to the shape of the sub-map interface 22, so as to achieve the same display effect.
In a preferred embodiment, in order to further avoid the sub-map interface 22 from obstructing the main map so that the user can view the map contents comprehensively and clearly, the map display device can also support the user to arbitrarily move the position of the sub-map interface 22 in the main map interface 21 by clicking the touch screen and dragging the sub-map interface 22. Specifically, the map display apparatus may regenerate a rectangular interface at a corresponding position of the main map interface 21 according to an operation instruction, such as clicking and dragging, input by the user, and regenerate a circular sub-map interface 22 at a corresponding position of the main map interface 21 through the above-described rendering transparent scheme.
As shown in fig. 1, in the map display method provided in this embodiment, the method may further include the steps of:
104: sub map data related to the main map data is acquired.
The sub-map data may indicate map data for displaying the sub-map. The map display device can display the sub-map on the sub-map interface 22 using the sub-map data.
In one embodiment, the sub-map data may be map data corresponding to a partial region in the main map data, corresponding to a scheme in which the map display apparatus displays the global map (main map) on the main map interface 21 at a first smaller scale and displays the local map (sub-map) on the sub-map interface 22 at a second larger scale. The map display device may determine the map range of the sub-map display according to an operation instruction input by the user, thereby determining the second scale indicating the size of the sub-map.
As shown in fig. 2, the map display apparatus may determine the map range displayed by the sub-map interface 22 according to the position and size of the sub-map range icon 23 in the main map interface 21. The user may drag the sub-map range icon 23 on the main map interface 21 to change its position, or may stretch or shrink the sub-map range icon 23 on the main map interface 21 to change its size. The map display means may determine the second scale of the sub-map interface 22 based on a ratio of the size of the sub-map interface 22 to the map range displayed by the sub-map interface 22.
It can be understood by those skilled in the art that the above-mentioned scheme of determining the second scale according to the operation instruction input by the user is only a preferred case provided by the present embodiment, and is mainly used for selecting any local area to be magnified and observed in the main map interface 21 according to the actual use requirement of the user to perform more realistic 3D display. In other embodiments, the map display device may also display a partially magnified map of the user's current location 24 directly on the sub-map interface 22 at a preset second scale in response to completion of the map initialization, so that the user can directly view the surrounding map content.
It will also be understood by those skilled in the art that, since the main map data employed in the present embodiment is map vector data, the map information is not distorted when displayed in enlargement or reduction. Therefore, even if the map display apparatus displays the sub-map in an enlarged manner at the second scale which is greatly different from the first scale, the situation that the map content of the sub-map is unclear so that the user cannot distinguish the sub-map is not caused.
In a preferred embodiment, in response to the user dragging or zooming the sub-map range icon 23 on the main map interface 21, the map display apparatus may re-determine the map range displayed by the sub-map interface 22 according to an operation instruction input by the user, and update the second scale of the sub-map interface 22 according to the re-determined map range, thereby re-displaying the 3D-effect sub-map on the sub-map interface 22 at the updated second scale.
In a more preferred embodiment, the map display apparatus may further obtain partial map data of a partial area corresponding to the sub-map range icon 23 as the sub-map data directly from the main map data in response to an operation instruction input by the user indicating that the second scale is larger than the first scale (i.e., the above-described scheme in which the main map interface 21 displays the global map and the sub-map interface 22 displays the local map).
The sub-map data of the indication local map is directly acquired from the main map data of the indication global map, so that the process of requesting the sub-map data from the server at the cloud again can be avoided, the time for downloading the sub-map data is saved, and the display speed of the sub-map is effectively improved to improve the user experience.
It will be understood by those skilled in the art that the above-mentioned solution of directly obtaining sub-map data indicating a local map from main map data indicating a global map is only a specific case of displaying a global map corresponding to the main map interface 21, and the sub-map interface 22 displays a local map, and is mainly used to clearly illustrate the concept of the present invention and provide a specific solution convenient for the public to implement, but not to limit the scope of the present invention. In another embodiment, in response to the situation that the main map interface 21 displays a local map and the sub-map interface 22 displays a global map, the map display apparatus may also directly acquire partial map data of a corresponding partial area from the sub-map data as the main map data according to an operation instruction input by a user. In other embodiments, the map display device may also request and download the main map data from the cloud server to display the main map on the main map interface 21 according to the main map data; and then, according to an operation instruction input by the user, requesting and downloading the sub-map data from the cloud server, so as to display the sub-map on the sub-map interface 22 according to the sub-map data.
As shown in fig. 1, in the map display method provided in this embodiment, the method may further include the steps of:
105: and displaying the sub-map on the sub-map interface in a second display mode according to the sub-map data.
As described above, the sub map data may be map data related to the main map data. The map display device may display the sub-map in the sub-map interface 22 based on the sub-map data.
The sub-map interface 22 may be a partial display area of the main map interface 21, and is mainly used to display the sub-map in the second display mode. The different display modes include, but are not limited to, a map scale size, a 2D or 3D display effect, a display color, a display brightness, and the like.
As shown in fig. 2, in one embodiment, the map display apparatus may display a global map (main map) of a 2D effect on the main map interface 21 at a first smaller scale (e.g., 1: 1000) in the first display mode; and according to the second display mode, a partial map (sub-map) with a 3D effect is displayed on the sub-map interface 22 at a second larger scale (for example, 1: 100), so that the function of locally magnifying the main map is achieved, and a user can conveniently select a part of area needing to be magnified from the main map to view in detail according to the actual use requirement of the user.
Those skilled in the art can understand that the above-mentioned scheme of displaying the main map with the 2D effect on the main map interface 21 on the smaller first scale and displaying the sub-map with the 3D effect on the sub-map interface 22 on the larger second scale is only a specific case provided by this embodiment, and is mainly used for selecting a part of the area to be enlarged from the main map for detailed viewing according to the actual use requirement of the user. The main map with a large map range adopts a 2D effect with low requirements on memory and computing power, and the sub-map with a small map range adopts a 3D effect which is more in line with actual scenes, so that the display speed of the map display device can be effectively improved, the effects of simplifying the picture of the main map and improving the authenticity of the sub-map are realized, and the map content can be observed by a user more conveniently.
This embodiment is provided merely to clearly illustrate the broad inventive concept and to provide a convenient and practical solution to the public without limiting the scope of protection of this invention. In other embodiments, the map display device may also adopt other specific display parameters to respectively display the main map and the sub-map in the first display mode and the second display mode according to the actual use requirements of the user.
In a preferred embodiment, the sub-map interface 22 may also preferably be an interactive interface, as shown in FIG. 2. The map display device may display information related to the map element selected by the user according to an operation instruction input by the user through the sub-map interface 22.
To put it differently, in the first display mode with a smaller map scale, the main map interface 21 only identifies the primary roads and the primary buildings in the map range in text, but ignores most of the secondary roads and the secondary buildings in the map range.
According to the existing map display technology, a user can only select a main road and a main building with text identifications in a map display interface to view relevant information of the main road and the main building, and cannot view relevant information of most of neglected secondary roads and secondary buildings. The user must adjust the map scale of the map display interface to narrow the map range to a small enough range, and then can select the secondary roads and the secondary buildings to view the relevant information. Therefore, the existing map display technology has the obvious defects of troublesome operation and limitation of the map display range.
In the map display method provided in the present embodiment, the sub-map range icon 23 may move according to the current position 24 of the user, so as to acquire the corresponding sub-map data in real time. The map display device can dynamically render the sub-map in real time, so that the 3D live-action map around the user is displayed at a large map scale. The user may click on any roads and any buildings in the interactive sub-map interface 22 to view their relevant information. As described above, the road in the 3D live-action map may be a general road provided on the ground, or may be a special road such as a bridge or an overhead road provided above the ground.
In particular, in the navigation mode of the map display device, the conventional map display technology generally only adopts one map display interface, so that it is difficult to provide a function of clicking and viewing information related to roads and buildings for a user while ensuring clear display of a navigation route.
In the map display method provided by this embodiment, because the map display device has the main map interface 21 and the sub-map interface 22 for displaying the map independently, the map display device can provide the function of clicking and viewing the relevant information such as roads, buildings, air routes and the like for the user on the sub-map display interface 22 while the main map interface 21 clearly displays the navigation route, so that the user can view the map content in real time, thereby improving the navigation quality and improving the customer satisfaction.
While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of acts, it is to be understood and appreciated that the methodologies are not limited by the order of acts, as some acts may, in accordance with one or more embodiments, occur in different orders and/or concurrently with other acts from that shown and described herein or not shown and described herein, as would be understood by one skilled in the art.
According to another aspect of the present invention, there is also provided herein an embodiment of a map display apparatus.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a map display apparatus according to another aspect of the present invention.
As shown in fig. 4, the map display apparatus 40 provided in the present embodiment includes a memory 41 and a processor 42 coupled to the memory 41.
The processor 42 is communicatively connected to the user interface 43, and may be configured to implement the map display method provided in any of the above embodiments, so as to display the map with different scales and different effects according to the actual needs of the user, so that the user can clearly view the map content.
According to another aspect of the invention, a computer-readable medium embodiment is also provided herein.
The computer readable medium provided by the present embodiment may have computer instructions stored thereon, and when the computer instructions are executed by the processor 42, the map display method provided by any one of the above embodiments may be implemented, so that the map is displayed with different scales and different effects according to the actual needs of the user, so that the user can clearly observe the map content.
Those of skill in the art would understand that information, signals, and data may be represented using any of a variety of different technologies and techniques. For example, data, instructions, commands, information, signals, bits (bits), symbols, and chips that may be referenced throughout the above description may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The various illustrative logical modules, and circuits described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary embodiments, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software as a computer program product, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a web site, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk (disk) and disc (disc), as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk and blu-ray disc where disks (disks) usually reproduce data magnetically, while discs (discs) reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Thus, the disclosure is not intended to be limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (19)

1. A map display method, comprising:
acquiring main map data;
displaying a main map on a main map interface in a first display mode according to the main map data;
generating a sub map interface in a local area of the main map interface;
acquiring sub-map data related to the main map data; and
and displaying the sub-map on the sub-map interface in a second display mode according to the sub-map data.
2. The map display method of claim 1, wherein the displaying the main map in the main map interface in the first display mode comprises:
displaying a 2D main map on a main map interface by using a first scale;
the displaying the sub-map in the sub-map interface in the second display mode includes:
and displaying the 3D sub-map on the sub-map interface at a second scale.
3. The map display method of claim 2, wherein the displaying the sub-map in the sub-map interface in the second display mode comprises:
and determining the second scale according to an operation instruction input by a user.
4. The map display method according to claim 3, wherein the acquiring the sub map data related to the main map data includes:
and responding to an operation instruction input by a user to indicate that the second scale is larger than the first scale, and acquiring corresponding partial map data from the main map data as the auxiliary map data according to the operation instruction.
5. The map display method of claim 4, wherein the sub-map interface is an interactable interface,
the map display method further includes:
and displaying the related information of the map element selected by the user according to the operation instruction input by the user through the sub-map interface.
6. The map display method of claim 2, wherein displaying the sub-map in the sub-map interface in the second display mode further comprises:
and according to an operation instruction input by a user, redisplaying the 3D sub-map on the sub-map interface at the updated second scale.
7. The map display method of claim 1, wherein the generating a sub-map interface at a local area of the main map interface comprises:
generating a rectangular interface above the main map interface;
determining a largest circular area in the rectangular interface as the sub-map interface; and
and transparently rendering the rest area of the rectangular interface outside the secondary map interface to display the main map below the rectangular interface.
8. The map display method of claim 7, wherein the displaying a sub-map in the sub-map interface in a second display mode according to the sub-map data comprises:
clipping the sub-map data according to the shape of the sub-map interface; and
and displaying the sub-map on the sub-map interface by using the cropped sub-map data.
9. The map display method of claim 7, wherein generating a sub-map interface at a local area of the main map interface further comprises:
and regenerating a rectangular interface at the corresponding position of the main map interface according to an operation instruction input by a user.
10. A map display apparatus, comprising:
a memory; and
a processor coupled to the memory and configured to:
acquiring main map data;
displaying a main map on a main map interface in a first display mode according to the main map data;
generating a sub map interface in a local area of the main map interface;
acquiring sub-map data related to the main map data; and
and displaying the sub-map on the sub-map interface in a second display mode according to the sub-map data.
11. The map display apparatus of claim 10, wherein the processor is further configured to:
displaying a 2D main map on the main map interface by a first scale; and
and displaying the 3D sub-map on the sub-map interface at a second scale.
12. The map display apparatus of claim 11, wherein the processor is further configured to:
and determining the second scale according to an operation instruction input by a user.
13. The map display apparatus of claim 12, wherein the processor is further configured to:
and responding to an operation instruction input by a user to indicate that the second scale is larger than the first scale, and acquiring corresponding partial map data from the main map data as the auxiliary map data according to the operation instruction.
14. The map display apparatus of claim 13, wherein the sub-map interface is an interactable interface,
the processor is further configured to:
and displaying the related information of the map element selected by the user according to the operation instruction input by the user through the sub-map interface.
15. The map display apparatus of claim 11, wherein the processor is further configured to:
and according to an operation instruction input by a user, redisplaying the 3D sub-map on the sub-map interface at the updated second scale.
16. The map display apparatus of claim 10, wherein the processor is further configured to:
generating a rectangular interface above the main map interface;
determining a largest circular area in the rectangular interface as the sub-map interface; and
and transparently rendering the rest area of the rectangular interface outside the secondary map interface to display the main map below the rectangular interface.
17. The map display apparatus of claim 16, wherein the processor is further configured to:
clipping the sub-map data according to the shape of the sub-map interface; and
and displaying the sub-map on the sub-map interface by using the cropped sub-map data.
18. The map display apparatus of claim 16, wherein the processor is further configured to:
and regenerating a rectangular interface at the corresponding position of the main map interface according to an operation instruction input by a user.
19. A computer readable medium having stored thereon computer instructions which, when executed by a processor, implement the map display method of any one of claims 1-9.
CN201910554581.6A 2019-06-25 2019-06-25 Map display method and device Pending CN112129309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910554581.6A CN112129309A (en) 2019-06-25 2019-06-25 Map display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910554581.6A CN112129309A (en) 2019-06-25 2019-06-25 Map display method and device

Publications (1)

Publication Number Publication Date
CN112129309A true CN112129309A (en) 2020-12-25

Family

ID=73849980

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910554581.6A Pending CN112129309A (en) 2019-06-25 2019-06-25 Map display method and device

Country Status (1)

Country Link
CN (1) CN112129309A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1469233A (en) * 2002-06-27 2004-01-21 ���ǵ�����ʽ���� Apparatus and method for displaying & selecting subdivision plat
CN202329641U (en) * 2011-09-21 2012-07-11 湖南纽曼数码科技有限公司 Navigation device utilizing two-side window map
CN104077022A (en) * 2013-03-25 2014-10-01 三星电子株式会社 Apparatus and method of controlling screens in a device
CN106980441A (en) * 2017-03-29 2017-07-25 杭州弗凡科技有限公司 The suspension windows exchange method and vehicle mounted guidance terminal of vehicle mounted guidance terminal
CN107727103A (en) * 2017-08-30 2018-02-23 深圳市金立通信设备有限公司 Air navigation aid, terminal and computer-readable medium
CN108779989A (en) * 2016-01-06 2018-11-09 罗伯特·博世有限公司 Interactive map information camera lens
CN109388467A (en) * 2018-09-30 2019-02-26 百度在线网络技术(北京)有限公司 Map information display method, device, computer equipment and storage medium
CN109521933A (en) * 2018-10-30 2019-03-26 维沃移动通信有限公司 A kind of display control method and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1469233A (en) * 2002-06-27 2004-01-21 ���ǵ�����ʽ���� Apparatus and method for displaying & selecting subdivision plat
CN202329641U (en) * 2011-09-21 2012-07-11 湖南纽曼数码科技有限公司 Navigation device utilizing two-side window map
CN104077022A (en) * 2013-03-25 2014-10-01 三星电子株式会社 Apparatus and method of controlling screens in a device
CN108779989A (en) * 2016-01-06 2018-11-09 罗伯特·博世有限公司 Interactive map information camera lens
CN106980441A (en) * 2017-03-29 2017-07-25 杭州弗凡科技有限公司 The suspension windows exchange method and vehicle mounted guidance terminal of vehicle mounted guidance terminal
CN107727103A (en) * 2017-08-30 2018-02-23 深圳市金立通信设备有限公司 Air navigation aid, terminal and computer-readable medium
CN109388467A (en) * 2018-09-30 2019-02-26 百度在线网络技术(北京)有限公司 Map information display method, device, computer equipment and storage medium
CN109521933A (en) * 2018-10-30 2019-03-26 维沃移动通信有限公司 A kind of display control method and mobile terminal

Similar Documents

Publication Publication Date Title
CN107423445B (en) A kind of map data processing method, device and storage medium
JP5223062B2 (en) 3D map drawing system
KR101962394B1 (en) Prominence-based generation and rendering of map features
US20180374250A1 (en) Method and apparatus for contextually varying imagery on a map
Wang et al. Focus+ context metro maps
US9631942B2 (en) Providing maneuver indicators on a map
US20060267803A1 (en) Non-perspective variable-scale map displays
Qu et al. Focus+ context route zooming and information overlay in 3D urban environments
CN106500684B (en) Method and device for processing navigation path information
CN112129310A (en) Map display method and device
KR100723422B1 (en) Apparatus and method for rendering image data using sphere splating and computer readable media for storing computer program
US20150187098A1 (en) Method and apparatus for unobtrusively changing imagery supplementing a map display
CN111091497A (en) Map vector line and plane thinning method, intelligent terminal and storage medium
JP2012150823A (en) Three-dimensional map drawing system
EP2283319B1 (en) Generating a display image
JP5382924B2 (en) Polygon outline drawing method and apparatus
CN112129309A (en) Map display method and device
CN104714799B (en) For creating the method and system of Dynamic Announce lamination
Pan et al. Perception-motivated visualization for 3D city scenes
CN112131324A (en) Map display method and device
JP6110807B2 (en) Image processing device
CN112131323A (en) Map display method and device
JP2010237393A (en) Map display device, map display method, and program
CN112129312A (en) Map display method and device
JP2001033269A (en) Three-dimensional road guidance image presenting method, three-dimensional guidance image presenting device and recording medium having three-dimensional guidance image presentation program recorded thereon

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