CN115687543A - Electronic map display method and device and vehicle machine - Google Patents

Electronic map display method and device and vehicle machine Download PDF

Info

Publication number
CN115687543A
CN115687543A CN202110853027.5A CN202110853027A CN115687543A CN 115687543 A CN115687543 A CN 115687543A CN 202110853027 A CN202110853027 A CN 202110853027A CN 115687543 A CN115687543 A CN 115687543A
Authority
CN
China
Prior art keywords
map
scale
electronic map
element set
electronic
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
CN202110853027.5A
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 Qwik Smart Technology Co Ltd
Original Assignee
Shanghai Qwik Smart 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 Qwik Smart Technology Co Ltd filed Critical Shanghai Qwik Smart Technology Co Ltd
Priority to CN202110853027.5A priority Critical patent/CN115687543A/en
Publication of CN115687543A publication Critical patent/CN115687543A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an electronic map display method, an electronic map display device and a vehicle machine, wherein the display method comprises the following steps: obtaining a map element set of the electronic map within a preset range according to a first operation; and setting a scale of the electronic map to be matched with the map element set. The invention dynamically and intelligently sets the map scale according to the map element set obtained by operating the map and the map element set, so that the map scale can be quickly and reasonably adjusted according to the actual distribution condition of the map elements, and the displayed map interface can quickly and intuitively present proper map elements, thereby meeting the browsing requirements of users and improving the efficiency and convenience of map operation.

Description

Electronic map display method and device and vehicle machine
Technical Field
The invention relates to the technical field of information processing, in particular to an electronic map display method and device and a vehicle machine.
Background
The map scale is a ratio of a length of a line segment on the map to a horizontal projection length of a corresponding line segment on the solid area, and is used for representing a reduction degree of the map graphic. For example, the scale of a map is 1:5 ten thousand, the distance between two points on the graph is 1 cm, and the distance between the two points in the field is 50000 cm. The map scale has a size fraction according to the purpose and requirements of the map. The large-scale map generally has detailed content and high geometric accuracy, and the small-scale map has strong content generalization. The map having the same size as the map has a larger scale, and the area of the solid area included in the map is smaller, but the displayed terrain is more detailed and has higher accuracy.
An electronic map, namely a digital map, is a map which is stored and presented in a digital mode by utilizing a computer technology, and common electronic maps are vector maps and display map elements according to the adjustment of a map scale. In the current use process of the electronic map, the scale is switched manually by a user according to a browsed map interface, however, the display interface of the electronic map usually displays map elements in layers according to the hierarchy of the scale, which results in that: or when the current scale is smaller and the map range is larger, the user can only see fewer map elements on the map interface, so that the scale is excessively enlarged; or conversely, the current scale is larger and the map range is smaller, so that the user sees more map elements but does not include the range to be browsed, and the scale is excessively reduced. Especially when a map is searched for points, the scale change is repeated for several times in each operation, which is very inconvenient.
Disclosure of Invention
The invention aims to overcome the defect that the operation of adjusting a scale is inconvenient in the map browsing process in the prior art, and provides an electronic map display method and device and a vehicle machine.
The invention solves the technical problems through the following technical scheme:
the invention provides an electronic map display method, which comprises the following steps:
obtaining a map element set of the electronic map within a preset range according to a first operation;
and setting the scale of the electronic map to be matched with the map element set.
The invention also provides an electronic map display device, which comprises:
a display screen, one or more processors, and memory;
the display screen is used for displaying the electronic map;
the memory is configured to store instructions that, when executed by the one or more processors, cause the one or more processors to perform steps comprising:
acquiring a map element set of the electronic map within a preset range according to a first operation;
and setting a scale of the electronic map to be matched with the map element set.
The invention further provides a vehicle machine, and the vehicle machine comprises the electronic map display device.
The electronic map display method and device have the advantages that the map element set is obtained by the vehicle machine according to the operation on the map, the map scale is dynamically and intelligently set according to the map element set, the map scale is adjusted rapidly and reasonably according to the actual distribution condition of the map elements, and the displayed map interface rapidly and intuitively presents appropriate map elements, so that the browsing requirement of a user is met, and the efficiency and convenience of map operation are improved.
Drawings
Fig. 1 is a flowchart of an electronic map displaying method in embodiment 1 of the present invention.
Fig. 2 is a schematic diagram illustrating the determination of the first preset range according to the first operation in embodiment 1 of the present invention.
Fig. 3 is a schematic diagram illustrating the determination of the second preset range according to the first operation in embodiment 1 of the present invention.
Fig. 4 is a schematic diagram illustrating a scale set according to a map element set in embodiment 1 of the present invention.
Fig. 5 is a schematic view of a first pop-up window in embodiment 1 of the present invention.
Fig. 6 is a schematic view of a first pop-up window and a third pop-up window in embodiment 1 of the present invention.
Fig. 7 is a block diagram of an electronic map display apparatus in embodiment 2 of the invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, the embodiment specifically provides an electronic map display method, which includes the following steps:
s1, obtaining a map element set of the electronic map within a preset range according to a first operation.
And S2, setting a scale of the electronic map to be matched with the map element set.
The present embodiment can be generally used for searching a point on a map, and for convenience of description, point a is taken as an example of a target point to be searched on a map. Elements of the electronic map comprise points, lines and surfaces; it is to be understood that the method of the present embodiment is not limited to finding one point, and a line or a plane may be used as a target. Similarly, under the condition that no specific target is found, the map can be displayed more reasonably by the method so as to be convenient for browsing.
In addition, since the operation of the present embodiment is implemented based on an interactive electronic map, those skilled in the art can understand that the following term "map" represents the electronic map; the operation for the map may be implemented through an electronic device or the like. Accordingly, based on the electronic device described above, the description of the "range" in the present embodiment should also be understood as the range of the electronic map shown in a specific area of the electronic device unless it is explicitly indicated as the "actual map range".
In step S1, the first operation includes, but is not limited to, a single click, a double click, and the like on the map, and if the map is displayed on the touch screen, the first operation may also be implemented based on a double-finger manipulation, a joint manipulation, and the like. And acquiring a map element set within a preset range of the electronic map according to the first operation. For setting the preset range, the selection point or the area of the first operation may be generally used as a reference. For example, a circular range of a preset radius centered on a clicked map point is used as the first preset range 101, as shown in fig. 2; or the display area of the electronic map is divided into a plurality of blocks by vertical and horizontal coordinates, and all the blocks involved in the first operation are taken as the second preset range 102, as shown in fig. 3. Even the display area of the whole electronic map can be used as a preset range. Based on the premise of being applied to the electronic device, the range, the radius and the block division can be realized through the resolution of the display of the electronic device.
Map elements, also called map elements, including all elements presented as points, lines and surfaces for composing each layer of the electronic map, and planar elements such as administrative divisions; linear elements such as boundaries, roads, rivers; the most applied Point of Interest (POI) in the Point-like map elements is a geographical object abstracted as a Point, especially a geographical entity closely related to the life of people, such as a hotel, a mall, a bank, a gas station, a supermarket, a movie theater, a school, a hospital, etc. The interest points describe the addresses of the objects or events, so that the description capability and the query capability of the positions of the objects or events are greatly enhanced, and the accuracy and the speed of geographic positioning are improved. In addition, the interest point query is also one of the basic technologies and means of the location information service.
Generally, electronic maps all display map elements in a layered mode, namely map elements are displayed according to a scale and a map layer corresponding to the scale, the map elements displayed on the electronic maps are more general when the scale is smaller, and the map elements displayed on the electronic maps are more detailed when the scale is larger. The storage quantity of the map elements corresponding to the electronic map is fixed, the quantity of the map elements contained in the electronic map in any range is also determined, and the map elements cannot be changed because the map elements are not displayed. For example, when the scale of the map is small, a certain map element such as a shop is not displayed in the current map range, but the shop is necessarily displayed on the map as long as the scale is large enough. The map element set acquired within the preset range in the embodiment is the map element set actually included in the map range, but not currently displayed.
And S2, setting a map scale to be matched with the map element set according to the map element set acquired in the preset range. At present, the scale that most electronic maps adopted all corresponds with the map level, and the map level setting of present mainstream divides into 19 levels from small to big according to the scale, and wherein 7 th level corresponds scale 1:10000000; level 8 corresponds to scale 1:5000000; level 9 corresponds to scale 1:2500000; level 10 corresponds to scale 1:2000000; level 15 corresponds to scale 1:50000; level 16 corresponds to scale 1:20000; level 17 corresponds to scale 1:10000; level 19 corresponds to scale 1:2000. for the map levels, the scale of the electronic map is provided with corresponding gears, and when the electronic map is switched to a certain gear, the map of the level corresponding to the gear is displayed. For example, when the scale is switched to the gear with the largest scale, the 19 th level map with the most detailed content and the most abundant details is displayed.
Therefore, the map scale is set according to the map element set in step S2, and the map of the hierarchy corresponding to the set scale can be displayed. According to different requirements, the corresponding relation between the corresponding map element set and the map scale can be set. Generally, for the target point finding operation, that is, to find the target point a on the map with a large actual range, it may be considered to make the map scale become large in a reasonable manner by setting the corresponding relationship between the map element set and the map scale, so as to approach the target point a quickly and accurately. Through the step S2, the proportional scale can be automatically adjusted according to the content of the map element set, so that the complex steps of adjusting the proportional scale, receiving the feedback effect after the map is changed, and adjusting the proportional scale again are omitted, and convenience is brought to a user in the using process.
Referring to fig. 4, as an alternative embodiment, step S2 specifically includes:
and zooming in or out the scale according to the number of the interest points in the map element set, wherein the number of the interest points is positively correlated with the magnification and negatively correlated with the reduction.
The embodiment provides a scheme for enabling a map scale to be matched with a map element set, and the method is applicable to, but not limited to, an application scene of target point searching. Specifically, for a given preset range of interest points in the map element set, the current map scale may be smaller, thereby showing a larger range, and therefore including more interest points. In order to find the target point a, the map needs to be enlarged. Therefore, the scale is amplified based on the number of the interest points, and the amplification factor can be positively correlated with the number of the interest points according to a certain rule setting.
Conversely, if the number of interest points in the map element set of a given preset range is less, the current map may have a smaller scale, so that the smaller display range results in a smaller number of interest points. At this time, if there is no target point a to be searched in the displayed map range, the map needs to be reduced, the scale is reduced based on the number of the interest points, and the reduction multiple may be set according to a certain rule and be negatively correlated with the number of the interest points.
According to the embodiment, the map scale is set according to the number of the interest points in the map element set, and particularly for an application scene of target point searching, the map range can be reasonably and quickly zoomed, the operation of a user is simplified, and the map use experience is improved.
As another optional implementation, step S2 specifically includes:
the method may further comprise zooming in or out on the scale according to a total length of the road in the set of map elements, wherein the total length of the road is positively correlated with the magnification and negatively correlated with the reduction.
The embodiment provides another scheme for adapting the map scale to the map element set, and the method is also applicable to, but not limited to, an application scene of target point searching. In contrast to the previous embodiment, which considers the number of points of interest, the present embodiment aims to perform the setting of the scale in conjunction with the urban road network. Specifically, for a given preset range, if the total length of the roads in the map element set is longer, the total length represents that the urbanization features within the preset range are more obvious, and for the point searching operation within the city, in order to search for the target point a, the map needs to be enlarged. Therefore, the scale is amplified based on the total road length, and the amplification factor can be set to be in positive correlation with the total road length according to a certain rule.
On the contrary, if the total length of roads in a map element set in a given preset range is shorter, it indicates that the possible scale of the current map is smaller, if no target point a to be searched is in the displayed map range, the map needs to be reduced, the scale is reduced based on the total length of the roads, and the reduction multiple can be set according to a certain rule and is in negative correlation with the total length of roads in the preset range.
According to the embodiment, the map scale is set through the total road length in the map element set, and is enlarged when the total road length is larger based on the relevance evaluation of the total road length and the urbanization, so that the map range can be reasonably and quickly zoomed, the operation of a user is simplified, and the map use experience is improved.
As another optional implementation, step S2 specifically includes:
and magnifying or reducing the scale according to the number of the intersections in the map element set, wherein the number of the intersections is positively correlated with the magnification and negatively correlated with the reduction.
The embodiment provides another scheme for adapting the map scale to the map element set, and is also applicable to, but not limited to, an application scenario of target point finding. Specifically, for a given preset range, the greater the number of intersections in the map element set, the greater the road network density in the representation preset range, and in order to find the target point a, for a denser road network density, the smaller the current map scale may be, and at this time, the map needs to be enlarged. Therefore, the scale is amplified based on the number of intersections, and the amplification factor can be set according to a certain rule to be positively correlated with the total length of the road.
On the contrary, if the number of the intersections in the map element set in a given preset range is less, the possible scale of the current map is smaller, if the displayed map range does not have the target points A which need to be searched, the map needs to be reduced, the scale is reduced based on the number of the intersections, and the reduction multiple can be set according to a certain rule to be in negative correlation with the number of the intersections in the preset range.
The map scale is set according to the number of intersections in the map element set, and particularly for regions with closely related local geographic environments and road network density, the map scale can be reasonably and quickly zoomed, the operation of a user is simplified, and the map use experience is improved.
As an alternative embodiment, the scale may be scaled up or down simultaneously according to at least two of the number of points of interest in the map element set, the total length of the road, and the number of intersections. Specifically, the interest points can be converted according to the number of the interest points, the total length of the road and the weight of the intersection; for example, each meter of road translates into a point of interest; each intersection is converted into 10 interest points; therefore, the quantities of the different types of elements in the map element set are unified into interest points, the quantity statistics is carried out, and then the map scale is adjusted to be matched with the map element set, namely, the quantity of the interest points after conversion is positively correlated with the magnification and negatively correlated with the reduction magnification, for example: the total interest point number is 1000 or less corresponding to 7-level scale, the total interest point number is 5000 or less corresponding to 8-level scale, and so on. The specific principle has been introduced in the above embodiments, and thus, the detailed description thereof is omitted. It can be understood that the above conversion method can be flexibly set according to the requirements of map display, the characteristics of the area where the map is located, and the like, and is not limited to uniformly converting the map into the number of interest points, nor to converting the map into the above ratio.
In a preferred embodiment, the electronic map includes a first pop-up window, and the first pop-up window is used for displaying the electronic map within a preset range. Step S2 is followed by: the scale of the first pop-up window is larger than that of the electronic map.
Referring to fig. 5, in the present embodiment, a first popup window 103 is provided outside a main interface (which may also be understood as a front view, a main window, etc.) of a map, and the first popup window 103 may be fixed to one area of the main interface or may be displayed in a floating manner as needed. The center point of the first popup window 103 can be set to be consistent with the center point of the main interface of the electronic map, but the scale is larger than the scale of the main interface, for example, according to the map hierarchy, if the scale of the main interface corresponds to the 16-level map, the scale of the first popup window 103 is set to correspond to the 18 th-level map, so that the user is helped to preview more detailed map elements, and the next operation on the main interface is helped to be carried out specifically.
For better map overlay display, the first popup window 103 may be set to a transparency display. For example, the first popup window 103 is displayed in a semi-transparent manner of 50%, and the user is not influenced to browse the map of the main interface as a whole.
In the embodiment, the first popup window 103 is arranged, so that the previewing and guiding effects are provided for the user to browse the map or search the map point, the user can conveniently and pertinently execute the next operation, and the map operation efficiency and accuracy are improved.
In a preferred embodiment, the electronic map further includes a second pop-up window, and the second pop-up window is used for displaying a plurality of prompt options, and the prompt options correspond to the types of the map elements. The step S1 specifically includes:
acquiring a selection result of the prompt option, and determining the corresponding type of the map element according to the selection result;
and acquiring a map element set which only contains map elements of corresponding types within a preset range.
Considering the processing capability of the electronic map carrier, i.e. the electronic device, in the case that some map elements are more and the processing capability of the electronic device is limited, if the selection and processing are performed for all map elements, large computing resources are required, which may cause delay or stagnation of the output.
As a way of processing more economical resources and more targeted, map elements are selected according to the actual needs of the user. Specifically, the map element set is determined for the selected map element type through the type prompt of the map element of the second popup window and the selection result of the user. Thereby ensuring that the selected set of map elements is desired by the user. For example, in the process of target point finding, the target point a of the user is a bank, and if the options of "business", "traffic", "house" and the like are given in the second pop-up window, the user can perform a search for the bank, the market, the financial institution and the like by selecting "business", so that a large number of irrelevant query judgments such as map elements of roads, cultural and educational medical guards and the like can be filtered out.
The embodiment provides more convenient operation for a user, namely, the map scale is properly zoomed based on the type of a certain map element, the electronic map is adjusted and displayed based on the element type interested by the user, unnecessary map calculation resources are reduced, and the map display efficiency is improved.
In a preferred embodiment, the first operation in step S1 is a click operation; the step S1 specifically includes:
acquiring a target point on the electronic map according to the clicking operation;
and determining a preset range by taking the target point as a center.
The embodiment is targeted to lock a target point located in a certain area. The first operation is a click operation on the electronic map, which includes but is not limited to a click operation, and accordingly, a corresponding target point is determined on the electronic map, S1 determines a preset range with the target point as a center, and the shape of the preset range may include but is not limited to a circle and a rectangle. If the circular shape is obtained, the size of the circular shape can be determined according to a preset radius; if the rectangle is formed, the size of the rectangle can be determined according to the preset side length or the preset diagonal length. Preferably, the length may be calculated with reference to an image resolution DPI (Dots Per Inch) of the electronic map carrier.
Furthermore, the preset range is determined by taking the target point as the center, the preset range can be determined according to the time length of the click operation, and the size of the preset range is positively correlated with the time length of the click operation. For example, a circular preset range is taken as an example, three different radii are preset, and the maximum radius is applied when the length is set to reach 2 seconds. Therefore, two kinds of information, namely the coordinates of the target point and the size of the peripheral range of the target point, can be obtained simultaneously by one-time clicking operation, and the method is more practical in application scenes with high requirements on operation simplicity.
In the embodiment, the preset range is determined by taking the target point determined on the electronic map through the clicking operation as the center, so that the determined preset range has stronger relevance with the target point, and the scale setting is further effectively performed. In addition, the preset range is determined through the duration of the click operation, the user can be more convenient and fast to operate, and the method and the device are particularly suitable for application scenes such as vehicles and the like which have high requirements on operation simplicity.
In a preferred embodiment, the electronic map includes a third pop-up window 104, and the third pop-up window 104 is used for displaying a thumbnail of the electronic map. Step S2 is followed by: the scale of the thumbnail of the third popup 104 is set according to the scale of the electronic map so that the scale of the thumbnail is smaller than the scale of the electronic map.
No matter what the current scale of the electronic map is, during the process of zooming in or zooming out, the thumbnail displayed by the third pop-up window 104 can help the user to adjust the map display and perform azimuth correction for the target seek point. At present, an existing map thumbnail, i.e. an eagle eye map, is usually displayed based on all map elements of the whole electronic map, for example, the electronic map includes map elements of the whole Shanghai city, and the Shanghai city and a comparison range of a current map range in the Shanghai city will be always displayed according to an existing thumbnail display manner.
In the embodiment, the thumbnail is displayed based on the scale of the main interface of the electronic map, and the electronic map includes map elements of the whole Shanghai city as an example. At this time, for example, a user clicks a certain point of the oblique soil road street in the xu hui area in Shanghai city, so that the main interface is subjected to scale setting and display by taking the xu hui street as a reference. The point location actually needed to be searched by the user is a maple road street in a xu-hui area in Shanghai city, and at this time, the third pop-up window 104 displays a smaller scale according to the scale of the main interface, so that the map display range includes an oblique road street, a maple road street, a Longhua street and the like; thereby facilitating the user to adjust the map orientation within the range, but at the same time browsing to some extent the map element set within the range.
Preferably, referring to fig. 6, the third pop-up window 104 can be displayed in the main interface simultaneously with the first pop-up window 103, so as to provide the user with a plurality of reference dimensions for subsequent map operations.
The electronic map display method of the embodiment acquires the map element set according to the operation on the map, and dynamically and intelligently sets the map scale according to the map element set, so that the map scale is quickly and reasonably adjusted according to the actual distribution condition of the map elements, and further, a displayed map interface quickly and intuitively presents appropriate map elements, thereby meeting the browsing requirement of a user and improving the efficiency and convenience of map operation.
Example 2
Referring to fig. 7, the present embodiment specifically provides an electronic map display device, which includes a display screen 1, one or more processors 2, and a memory 3.
The display screen 1 is used for displaying an electronic map; the memory 3 is configured to store instructions that, when executed by the processor 2, cause the processor to perform the steps of: obtaining a map element set of the electronic map within a preset range according to a first operation; and setting a scale of the electronic map to be matched with the map element set.
The memory 3 is configured to store instructions which, when executed by the processor 2, are also capable of implementing the other steps in the electronic map presentation method of embodiment 1.
Since the operation of the present embodiment is implemented based on an interactive electronic map, those skilled in the art can understand that the following term "map" represents the electronic map; the operation for the map may be implemented through an electronic device or the like. Accordingly, based on the electronic device described above, the description of the "range" in the present embodiment should also be understood as the range of the electronic map shown in a specific area of the electronic device unless it is explicitly indicated as the "actual map range".
In the step of obtaining the map element set of the electronic map within the preset range according to the first operation, the first operation includes but is not limited to single click, double click and the like on the map, and if the map is displayed on a touch screen, the first operation can be realized based on double-finger control, joint control and the like. And acquiring a map element set within a preset range of the electronic map according to the first operation. The setting of the preset range may be generally based on the selection point or area of the first operation, for example, a circular range with a preset radius centered on a single click map point; or dividing the display area of the electronic map into a plurality of blocks by vertical and horizontal coordinates, and taking all the blocks related to the first operation as a preset range. Even the display area of the whole electronic map can be used as a preset range. Based on the premise of being applied to the electronic device, the range, the radius and the block division can be realized by the resolution of the display of the electronic device.
Map elements, also called map elements, including all elements presented as points, lines, faces for composing layers of the electronic map, planar elements such as administrative divisions; linear elements such as boundaries, roads, rivers; the most applied Point of Interest (POI) in the Point-like map elements is a geographical object abstracted as a Point, especially a geographical entity closely related to the life of people, such as a hotel, a mall, a bank, a gas station, a supermarket, a movie theater, a school, a hospital, etc. The interest points describe the addresses of the objects or events, so that the description capability and the query capability of the positions of the objects or events are greatly enhanced, and the accuracy and the speed of geographic positioning are improved. In addition, the interest point query is also one of the basic technologies and means of the location information service.
Generally, electronic maps all display map elements in a layered mode, namely map elements are displayed according to a scale and a map layer corresponding to the scale, the map elements displayed on the electronic maps are more general when the scale is smaller, and the map elements displayed on the electronic maps are more detailed when the scale is larger. The storage quantity of the map elements corresponding to the electronic map is fixed, the quantity of the map elements contained in the electronic map in any range is also determined, and the map elements cannot be changed because the map elements are not displayed. For example, when the scale of a map is small, a certain map element such as a shop is not displayed in the current map range, but as long as the scale is large enough, the shop is inevitably displayed on the map. The map element set acquired within the preset range in the embodiment is the map element set actually included in the map range, but not currently displayed.
In the step of setting the scale of the electronic map to be matched with the map element set, the map scale is set to be matched with the map element set according to the map element set obtained from the preset range. At present, most of electronic maps adopt a scale corresponding to a map level, and currently, the mainstream map level setting is divided into 19 levels from small to large according to the scale, for example, the 7 th level corresponds to a scale 1:10000000; level 19 corresponds to scale 1:2000. for the map levels, the scale of the electronic map is provided with corresponding gears, and when the electronic map is switched to a certain gear, the map of the level corresponding to the gear is displayed. For example, when the scale is switched to the gear with the largest scale, the 19 th level map with the most detailed content and the most abundant details is displayed.
Therefore, the map of the hierarchy corresponding to the set scale can be displayed by setting the scale of the map according to the map element set. According to different requirements, the corresponding relation between the corresponding map element set and the map scale can be set. Generally, for the target point finding operation, that is, for finding a target point on a map with a large actual range, it can be considered that the map scale is increased in a reasonable manner by setting the corresponding relationship between the map element set and the map scale, so as to approach the target point quickly and accurately. The scale can be automatically adjusted according to the content of the map element set, so that the complex steps of adjusting the scale, receiving the feedback effect after the map is changed, and adjusting the scale again are omitted, and convenience is brought to a user in the using process.
In a preferred embodiment, the display screen of the electronic map display device is a touch display screen, and the first operation is a click operation on the touch display screen. The step of obtaining the map element set within the preset range according to the first operation specifically includes: acquiring a target point on the electronic map according to the clicking operation; determining a preset radius according to the click operation duration, wherein the preset radius and the click operation duration are in positive correlation; and determining the preset range according to a preset radius by taking the target point as a center.
In this embodiment, the first operation is a click operation on the electronic map, which includes but is not limited to a click operation, and accordingly, a corresponding target point is determined on the electronic map, and a preset range is determined by taking the target point as a center, where the shape of the preset range may include but is not limited to a circle and a rectangle. If the circular shape is obtained, the size of the circular shape can be determined according to a preset radius; if the rectangle is formed, the size of the rectangle can be determined according to the preset side length or the preset diagonal length. Preferably, the length can be calculated according to the image resolution DPI of the electronic map carrier as a reference.
Furthermore, the preset range is determined by taking the target point as the center, the preset range can be determined according to the time length of the click operation, and the size of the preset range is in positive correlation with the time length of the click operation. For example, a circular preset range is taken as an example, three different radii are preset, and the maximum radius is applied when the length is set to reach 2 seconds. Therefore, two kinds of information, namely the coordinates of the target point and the size of the peripheral range of the target point, can be obtained simultaneously by one-time clicking operation, and the method is more practical in application scenes with high requirements on operation simplicity.
According to the embodiment, the preset range is determined by taking the target point determined on the electronic map as the center through the clicking operation, so that the determined preset range has stronger relevance with the target point, and the scale setting is further effectively carried out. In addition, the preset range is determined through the duration of the click operation, the user can be more convenient and fast to operate, and the method and the device are particularly suitable for application scenes such as vehicles and the like which have high requirements on operation simplicity.
The electronic map display device of the embodiment dynamically and intelligently sets the map scale according to the map element set acquired by the operation on the map, so that the map scale is quickly and reasonably adjusted according to the actual distribution condition of the map elements, and further, a displayed map interface quickly and intuitively presents appropriate map elements, thereby meeting the browsing requirement of a user and improving the efficiency and convenience of map operation.
Example 3
The present embodiment specifically provides a car machine, and the car machine of the present embodiment includes the electronic map display device as in embodiment 2.
The car machine of the embodiment dynamically and intelligently sets the map scale according to the map element set acquired by the operation of the map, so that the map scale is quickly and reasonably adjusted according to the actual distribution condition of the map elements, and the displayed map interface quickly and intuitively presents appropriate map elements, thereby meeting the browsing requirement of a user, improving the efficiency and convenience of map operation, and enabling the user to acquire target map points in the vehicle application environment more conveniently.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. An electronic map display method is characterized by comprising the following steps:
acquiring a map element set of the electronic map within a preset range according to a first operation;
and setting a scale of the electronic map to be matched with the map element set.
2. The method for displaying an electronic map as claimed in claim 1, wherein the step of setting the scale of the electronic map to be matched with the map element set specifically comprises:
zooming in or out the scale according to the number of points of interest in the set of map elements, wherein the number of points of interest is positively correlated with a magnification and negatively correlated with a zoom-out;
or the like, or a combination thereof,
zooming in or out the scale according to total lengths of roads in the map element set, wherein the total length number of roads is positively correlated with a magnification and negatively correlated with a zoom-out factor;
or the like, or, alternatively,
and amplifying or reducing the scale according to the number of the intersections in the map element set, wherein the number of the intersections is positively correlated with the amplification factor and negatively correlated with the reduction factor.
3. The electronic map display method of claim 1, wherein the electronic map comprises a first pop-up window for displaying the electronic map within the preset range;
the step of setting the scale of the electronic map to be matched with the map element set further comprises the following steps:
and setting the scale of the first popup window to be larger than that of the electronic map.
4. The electronic map presentation method of claim 1, the electronic map comprising a second pop-up window for displaying a number of prompt options, the prompt options corresponding to types of map elements;
the step of obtaining a map element set within a preset range according to the first operation specifically includes:
acquiring a selection result of the prompt option, and determining the corresponding type of the map element according to the selection result;
and obtaining a map element set which only contains the map elements of the corresponding types within the preset range.
5. The electronic map display method of claim 1, wherein the first operation is a click operation; the step of obtaining a map element set within a preset range according to the first operation specifically includes:
acquiring a target point on the electronic map according to the clicking operation;
and determining the preset range by taking the target point as a center.
6. The electronic map displaying method of claim 5, the step of determining the preset range centering on the target point comprises:
and determining the preset range according to the time length of the click operation, wherein the size of the preset range is positively correlated with the time length of the click operation.
7. The electronic map presentation method of claim 1, the electronic map comprising a third popup for displaying a thumbnail of the electronic map;
the step of setting the scale of the electronic map to be matched with the map element set further comprises: and setting the scale of the thumbnail of the third popup window according to the scale of the electronic map, so that the scale of the thumbnail is smaller than that of the electronic map.
8. An electronic map display device, characterized in that, the electronic map display device includes:
a display screen, one or more processors, and memory;
the display screen is used for displaying the electronic map;
the memory is configured to store instructions that, when executed by the one or more processors, cause the one or more processors to perform steps comprising:
obtaining a map element set of the electronic map within a preset range according to a first operation;
and setting a scale of the electronic map to be matched with the map element set.
9. The electronic map presentation device of claim 8, the display screen being a touch display screen; the first operation is a click operation on the touch display screen;
the step of obtaining a map element set within a preset range according to the first operation specifically includes:
acquiring a target point on the electronic map according to the clicking operation;
determining a preset radius according to the click operation duration, wherein the preset radius is in positive correlation with the click operation duration;
and determining the preset range according to the preset radius by taking the target point as a center.
10. A vehicle machine, characterized in that the vehicle machine comprises the electronic map display device of claim 8 or 9.
CN202110853027.5A 2021-07-27 2021-07-27 Electronic map display method and device and vehicle machine Pending CN115687543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110853027.5A CN115687543A (en) 2021-07-27 2021-07-27 Electronic map display method and device and vehicle machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110853027.5A CN115687543A (en) 2021-07-27 2021-07-27 Electronic map display method and device and vehicle machine

Publications (1)

Publication Number Publication Date
CN115687543A true CN115687543A (en) 2023-02-03

Family

ID=85058872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110853027.5A Pending CN115687543A (en) 2021-07-27 2021-07-27 Electronic map display method and device and vehicle machine

Country Status (1)

Country Link
CN (1) CN115687543A (en)

Similar Documents

Publication Publication Date Title
US10990638B2 (en) Processing ambiguous search requests in a geographic information system
US11816315B2 (en) Method and apparatus for supporting user interactions with non-designated locations on a digital map
US7707140B2 (en) Information retrieval system and method employing spatially selective features
US10274324B2 (en) Dynamic highlighting of geographic entities on electronic maps
US9110573B2 (en) Personalized viewports for interactive digital maps
US9804728B2 (en) Detail-in-context lenses for digital image cropping, measurement and online maps
EP2560143B1 (en) Generating and serving tiles in a digital mapping system
US9189556B2 (en) System and method for displaying information local to a selected area
US7920072B2 (en) Virtual earth rooftop overlay and bounding
US7769745B2 (en) Visualizing location-based datasets using “tag maps”
CA2406946C (en) Information retrieval system and method employing spatially selective features
US20070064018A1 (en) Detail-in-context lenses for online maps
US20110074811A1 (en) Map Layout for Print Production
US20090183083A1 (en) Method and system for displaying information on a map
US20090160873A1 (en) Interactive virtual weather map
US20090113296A1 (en) Displaying a map and associated symbolic context information
US20070210937A1 (en) Dynamic rendering of map information
US20230376511A1 (en) Temporal Layers for Presenting Personalization Markers on Imagery
CN102929956A (en) Image display method and device
CN106227853A (en) One map generalization method electronically and processing method
CN115687543A (en) Electronic map display method and device and vehicle machine
CN111966853B (en) Management method of remote sensing image
Situmorang et al. Geographic Information System for Fishermen's Market Kutai Kartanegara Marine and Fishery Service
AU2013100220A4 (en) Content item placement
CN116681395A (en) Campus management system based on CIM technology

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