Electronic map display method, device and equipment in 3D mode

By calculating the comparison between the depth of the vertex of the road name text range box and the road depth, the problem of road name and road surface gland in the electronic map in 3D mode is solved, and the reasonable display of road name and real-time accurate display are achieved.

CN119006753APending Publication Date: 2024-11-22SHENYANG MXNAVI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411090700.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In the electronic map in 3D mode, the prior art cannot effectively deal with the phenomenon of glanding between the road name and the road surface, resulting in the name of the underlying road through the high-rise road surface, causing users to be misled.

Method used

By obtaining the vertex latitude and longitude and height values ​​of the text range box of the road name, calculate the depth, and compare it with the road depth, judge the relationship between the capping, and only draw and display when the vertex depth is higher than the road surface, avoiding the underlying road name passing through the high-rise level Road surface.

Benefits of technology

It realizes reasonable and accurate display of road names in electronic maps, avoids user misleading, and improves the real-time and display accuracy of electronic maps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006753A_ABST
    Figure CN119006753A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device and equipment for displaying an electronic map in a 3D mode. The method comprises the following steps: acquiring each road name in a current frame map in a system screen range; determining the longitude and latitude of each vertex of the character range frame of each character in each road name; according to the longitude and latitude of each vertex of the character range frame of each character, obtaining a height value of each vertex of the character range frame of the character; drawing according to the longitude and latitude and the height value of each vertex of the character range frame of each character in each road name, and determining the depth of each vertex of the character range frame of the characters; and if the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position, drawing and displaying the road name. Only road names higher than the road surface can be drawn and displayed, the road names of the bottom layer can be prevented from being displayed through the road surface of the high layer, and the road names of the electronic map can be displayed more reasonably and accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method, a device and equipment for displaying an electronic map in a 3D mode. Background Art

[0002] In electronic maps, due to the large number of roads, the number of road names that need to be displayed is also large. In order to ensure that the road text data on the electronic map displayed within the limited screen visible range is uniform and not too sparse or too dense, before the road text is displayed, it is usually determined whether the display range of adjacent road names will overlap, and the road names with overlapping display ranges will be sorted and deduplicated.

[0003] The usual overlapping optimization processing process is: select one road text data at a time from the pre-sorted road text data queue; for each selected road text data, obtain the geographical location coordinate range of the electronic map displayed in the visible range of the screen, and obtain the road text data whose geographical location coordinates fall into the geographical location coordinate range of the electronic map from the typeset road text data queue; perform overlapping judgment on the selected road text data and the acquired road text data, and only add the selected road text data to the typeset road text data queue when the selected road text data does not overlap the acquired road text data, so as to ensure that the road text data in the typeset road text data queue do not overlap each other. Summary of the invention

[0004] In order to realize a more reasonable display of an electronic map in a 3D mode, an embodiment of the present invention provides a method, an apparatus and a device for displaying an electronic map in a 3D mode.

[0005] In a first aspect, an embodiment of the present invention provides a method for displaying an electronic map in a 3D mode, which may include:

[0006] Get the names of each road in the current frame map within the system screen range;

[0007] Determine the longitude and latitude of each vertex of the text range box of each character in each of the road names;

[0008] According to the longitude and latitude of each vertex of the text range frame of each character, the height value of each vertex of the text range frame of the character is obtained;

[0009] Describe the text range frame of each character in each of the road names according to the latitude, longitude and altitude values ​​of each vertex, and determine the depth of each vertex of the text range frame of the character;

[0010] If the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position, the road name is drawn and displayed.

[0011] In one or some optional embodiments, the drawing according to the latitude, longitude and altitude values ​​of each vertex of the text range box of each of the characters in each of the road names to determine the depth of each vertex of the text range box of the characters includes:

[0012] According to the arrangement order of each character in each road name and the drawing rule of each vertex of the character range frame of each character, the longitude, latitude and altitude values ​​of each vertex of the character range frame of each character are obtained;

[0013] Draw according to the acquired latitude, longitude and altitude values ​​of the vertex to obtain the depth of the vertex.

[0014] In one or some optional embodiments, after obtaining the depth of a vertex of a text range box of a text of the road name, the method further includes:

[0015] Compare the depth of the vertex with the depth of each road corresponding to the vertex position to determine whether the road name passes the query;

[0016] If not, the road name is marked as having been queried through occlusion and the query has failed;

[0017] If so, obtain the latitude, longitude and altitude values ​​of the next vertex, and execute the steps of determining the depth of the vertex and comparing it with the depth of each road at the corresponding position. If the depth value of each vertex corresponding to the road name is less than the depth of each road corresponding to the vertex position, the road name is marked as having passed the occlusion query and the query passed.

[0018] In one or some optional embodiments, if the depth value of each vertex corresponding to the road name is less than the depth of the road corresponding to the vertex position, then drawing and displaying the road name includes:

[0019] If the road name is queried through occlusion and the query passes, the road name is drawn and displayed.

[0020] In one or some optional embodiments, obtaining the height value of each vertex of the text range box of each character according to the longitude and latitude of each vertex of the text range box of each character includes:

[0021] According to the longitude and latitude of each vertex of the text range frame of each of the characters, each vertex of the text range frame of the characters is projected onto a lane reference line of the road corresponding to the road name, to obtain projection points of each vertex of the text range frame of the characters on the lane reference line; the data information of the lane reference line includes a height value of each shape point on the lane reference line;

[0022] For the projection point corresponding to each vertex of the text range box of the text, the height value of the projection point is determined according to the height values ​​of the shape points on both sides of the projection point on the lane reference line, and the height value of the projection point is used as the height value of the corresponding vertex.

[0023] In one or some optional embodiments, determining the longitude and latitude of each vertex of the text range box of each character in each of the road names includes:

[0024] According to the length of the unit pixel of the current scale of the electronic map and the pixel value of each character of the road name, the character length of the character is determined, and longitude and latitude conversion is performed to obtain the longitude distance and latitude distance from the center point to the vertex of the character;

[0025] For each character in the road name, the longitude and latitude of each vertex of the text range box of the character is determined according to the longitude and latitude of the center point of the character, the longitude and latitude distances from the center point of the character to the vertex, and the scaling ratio of the current road name.

[0026] In one or some optional embodiments, the method further includes:

[0027] Get the POI images in the current frame map within the system screen range;

[0028] For each of the POI images, determining the longitude and latitude of each vertex of the image range frame of the POI image;

[0029] Obtaining the height value of each vertex of the image range frame of the POI image according to the latitude and longitude of each vertex of the image range frame of the POI image;

[0030] Describe according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image;

[0031] If the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed.

[0032] In a second aspect, an embodiment of the present invention provides a method for displaying an electronic map in a 3D mode, comprising:

[0033] Get the POI images in the current frame map within the system screen range;

[0034] For each of the POI images, determining the longitude and latitude of each vertex of the image range frame of the POI image;

[0035] Obtaining the height value of each vertex of the image range frame of the POI image according to the latitude and longitude of each vertex of the image range frame of the POI image;

[0036] Describe according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image;

[0037] If the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed.

[0038] In a third aspect, an embodiment of the present invention provides an electronic map display device in a 3D mode, comprising:

[0039] The first acquisition module is used to acquire the names of each road in the current frame map within the system screen range;

[0040] A first calculation module is used to determine the longitude and latitude of each vertex of the text range box of each character in each of the road names;

[0041] A second calculation module is used to obtain the height value of each vertex of the text range frame of each character according to the longitude and latitude of each vertex of the text range frame of each character;

[0042] A first occlusion query module is used to draw according to the latitude, longitude and altitude values ​​of each vertex of the text range box of each of the characters in each of the road names, and determine the depth of each vertex of the text range box of the characters;

[0043] The first drawing module is used to draw and display the road name if the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position.

[0044] In a fourth aspect, an embodiment of the present invention provides an electronic map display device in a 3D mode, comprising:

[0045] The second acquisition module is used to acquire each POI image in the current frame map within the system screen range;

[0046] A third calculation module, used for determining, for each of the POI images, the longitude and latitude of each vertex of the image range frame of the POI image;

[0047] A fourth calculation module, used for obtaining the height value of each vertex of the image range frame of the POI image according to the longitude and latitude of each vertex of the image range frame of the POI image;

[0048] A second occlusion query module is used to draw according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image;

[0049] The second drawing module is used to draw and display the POI image if the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position.

[0050] In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the electronic map display method in 3D mode as described in the first aspect or the second aspect.

[0051] In a sixth aspect, an embodiment of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the electronic map display method in 3D mode as described in the first aspect or the second aspect is implemented.

[0052] In a seventh aspect, an embodiment of the present invention provides a computer program product comprising instructions, which, when executed on a computer device, enables the computer device to execute the electronic map display method in 3D mode as described in the first aspect or the second aspect.

[0053] The beneficial effects of the above technical solution provided by the embodiment of the present invention include at least:

[0054] The embodiment of the present invention provides a method, device and apparatus for displaying an electronic map in 3D mode. The method determines the vertices of the text range box of each character in the road name for the road names in the current frame map within the system screen range obtained in real time, obtains the latitude, longitude and altitude values ​​of each vertex, and then depicts the depth of each vertex. Based on the comparison of the depth of the vertex and the depth of each road corresponding to the vertex position, the obtained overlapping relationship result is more accurate, so that only the road names above the road surface can be depicted and displayed, and the bottom road names can be avoided from being displayed through the high-level road surface, so that the road name display of the electronic map is more reasonable and accurate, and the problem of the road name not corresponding to the road is effectively avoided, which causes misleading to the user. In the 3D mode, after the road surface is depicted, the electronic map can obtain the road name of the electronic map of the current frame in real time for real-time processing, and the real-time display of the electronic map can be guaranteed, so that the road information in the electronic map is more accurate.

[0055] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.

[0056] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0058] Figure 1 A flowchart of a method for displaying an electronic map in 3D mode provided in an embodiment of the present invention;

[0059] Figure 2 A schematic diagram of a flow chart of determining the depth of the vertices of the text range box of each character of a road name provided in an embodiment of the present invention;

[0060] Figure 3 A display diagram of road names in an electronic map in a 3D mode in conventional technology;

[0061] Figure 4 A display diagram of road names in an electronic map in a 3D mode provided in an embodiment of the present invention;

[0062] Figure 5 A flowchart of another electronic map display method in 3D mode provided in an embodiment of the present invention;

[0063] Figure 6 A schematic diagram of the structure of an electronic map display device in 3D mode provided in an embodiment of the present invention;

[0064] Figure 7 It is a schematic structural diagram of another electronic map display device in 3D mode provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0066] The inventors found that the conventional road name overlapping optimization processing method can only solve the overlapping phenomenon between the text display range and the text display range, while when the electronic map is in 3D mode, there will be an overlapping phenomenon between the road name and the road surface. In 3D mode, if the road name is higher than the road surface, the road name will not interfere with the road, and the road name should be displayed at this time; if the low-level road name is lower than the high-level road surface (such as the elevated road surface), it will cause the road name to be displayed through the high-level road surface, which is easy to mislead the user, so the road name should not be displayed at this time. If the conventional road name overlapping optimization processing method is adopted, for the situation where the road name is higher than the road surface, it will be considered that the display range of the road name and the range of the road surface have an overlapping relationship, and the road name needs to be deduplicated, which is not as expected. If the road name overlapping optimization processing is not performed, the bottom road name is displayed through the high-level road surface, which is also not as expected. In view of the problem that in 3D mode, after drawing the road surface, the electronic map needs to process the overlapping relationship between the road name and the road surface, but the conventional road name overlapping optimization processing method is not applicable, the present invention is proposed to provide a method, device and equipment for displaying an electronic map in 3D mode that overcomes the above problem or at least partially solves the above problem.

[0067] Embodiment 1

[0068] In the first embodiment of the present invention, a method for displaying an electronic map in a 3D mode is provided. Figure 1 As shown, the method may include the following steps:

[0069] S101: Obtain the names of each road in the current frame map within the system screen range;

[0070] S102: Determine the longitude and latitude of each vertex of the text range box of each character in each road name;

[0071] S103: Obtaining the height value of each vertex of the text range frame of each character according to the longitude and latitude of each vertex of the text range frame of each character;

[0072] S104: Describe the depth of each vertex of the text range frame of each character in each road name according to the latitude, longitude and altitude values ​​of each vertex of the text range frame;

[0073] S105: If the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position, the road name is drawn and displayed.

[0074] The electronic map display method in 3D mode provided by the embodiment of the present invention determines each vertex of the text range box of each character in the road name for the road name in the current frame map within the system screen range obtained in real time, obtains the latitude, longitude and altitude value of each vertex, and then draws the depth of each vertex. Based on the comparison of the depth of the vertex and the depth of each road corresponding to the vertex position, the obtained overlapping relationship result is more accurate, so that only the road names above the road surface can be drawn and displayed, and the bottom road names can be avoided from being displayed through the high-level road surface, so that the road name display of the electronic map is more reasonable and accurate, and the problem of the road name not corresponding to the road is effectively avoided, which causes misleading to the user. In the 3D mode, after drawing the road surface, the electronic map obtains the road name of the electronic map of the current frame in real time for real-time processing, and the real-time display of the electronic map can be guaranteed, so that the road information in the electronic map is more accurate.

[0075] In a specific embodiment, the specific implementation process of obtaining the road names in the current frame map within the system screen range in the above step S101 may include: obtaining the geographic location coordinate range of the current frame map within the system screen range, and obtaining the road names whose geographic location coordinates fall within the geographic location coordinate range of the current frame map from a pre-stored road name data set.

[0076] In an optional embodiment, determining the longitude and latitude of each vertex of the text range box of each character in each road name in the above step S102 may specifically include:

[0077] S1021: Determine the length of the character according to the length of the unit pixel of the current scale of the electronic map and the pixel value of each character of the road name, and perform longitude and latitude conversion to obtain the longitude distance and latitude distance from the center point to the vertex of the character;

[0078] S1022: For each character in the road name, determine the longitude and latitude of each vertex of the text range box of the character according to the longitude and latitude of the center point of the character, the longitude and latitude distances from the center point of the character to the vertex, and the scaling ratio of the current road name.

[0079] In the embodiment of the present invention, the coordinate range of the road name is known, and the longitude and latitude of the center point of each character in the road name can be directly obtained. At the current scale of the current frame electronic map, the length (in meters) of the unit pixel point of the current scale is multiplied by the pixel of the character to calculate the length (in meters) corresponding to the font at the current scale. Then, the longitude and longitude conversion is performed, and the length corresponding to the font at the current scale is converted into longitude and latitude values, so that the longitude distance and latitude distance from the center point of the character to the vertex can be obtained.

[0080] In an embodiment of the present invention, it is known that the scaling ratio of the road names in the electronic map in 3D mode is large when near and small when far. According to the longitude and latitude of the center point of the text, the scaling ratio of the current road name, and the longitude and latitude distances from the center point of the text to the vertex obtained in the above step S1021, the longitude and latitude of each vertex of the text range box of the text can be determined. The longitude and latitude of each vertex of the text range box of the text obtained in this way conform to the effect of the text being large when near and small when far in the actual electronic map.

[0081] Specifically, the text range frame of the text of the road name can be a rectangular frame, and the four range frame points of the rectangular frame are the four vertices of the text range frame, wherein the longitude of the upper left vertex of the rectangular frame is the longitude value of the center point of the text minus the product of the longitude distance from the center point of the text to the vertex and the scaling ratio, and the latitude of the upper left vertex of the rectangular frame is the latitude value of the center point of the text minus the product of the latitude distance from the center point of the text to the vertex and the scaling ratio. Similarly, the longitude and latitude of the lower left vertex, the upper right vertex and the lower right vertex of the rectangular frame can be obtained. For example, assuming that the longitude and latitude of the text center point of a text of a road name are (1137910521, 384662257), wherein the unit of longitude and latitude is 1 / 2560 seconds, assuming that the scaling value of the road name under the current scale of the current frame electronic map is 100, the scaling value is divided by the standard scaling ratio 100) to obtain the scaling ratio of the road name is 1. Assuming that the length of the Chinese characters in the road name is 10m, the longitude distance from the center point of the character to the vertex can be determined as 1108 after conversion, and the latitude distance from the center point of the character to the vertex is 829; thus, the longitude and latitude of the upper left vertex, lower left vertex, upper right vertex and lower right vertex of the character range box of the character can be calculated in the following way:

[0082] Longitude of the upper left vertex: 1137909376=1137910521-1108*100 / 100;

[0083] The latitude of the upper left vertex: 384661440=384662257-829*100 / 100;

[0084] The longitude of the lower left vertex: 1137909376=1137910521-1108*100 / 100;

[0085] The latitude of the lower left vertex: 384663104=384662257+829*100 / 100;

[0086] Longitude of the upper right vertex: 1137911680=1137910521+1108*100 / 100;

[0087] The latitude of the upper right vertex: 384663104=384662257+829*100 / 100;

[0088] The longitude of the lower right vertex: 1137911680=1137910521+1108*100 / 100;

[0089] The latitude of the lower right vertex: 384661440=384662257-829*100 / 100.

[0090] By accurately identifying and optimizing each vertex in the above manner, the longitude and latitude of the upper left vertex, lower left vertex, upper right vertex and lower right vertex of the text range box are obtained, which are more in line with the principle of near big and far small in actual electronic maps.

[0091] In the embodiment of the present invention, in order to accurately identify each vertex of the text range box of each character corresponding to the road name, after executing the above step S101 to obtain the road name, the road name can be parsed to determine the road identity document (ID) of the road name. Afterwards, the road identity document is associated with each vertex of the text range box of each character in the road name and saved as a text information object. Therefore, in the subsequent execution steps, each vertex of the text range box of each character in the road name can be quickly found according to the road identity document.

[0092] In an optional embodiment, the step S103 described above, according to the longitude and latitude of each vertex of the text range frame of each character, obtaining the height value of each vertex of the text range frame of each character may specifically include:

[0093] S1031: projecting each vertex of the text range frame of each character onto a lane reference line of the road corresponding to the road name according to the latitude and longitude of each vertex of the text range frame of each character, to obtain projection points of each vertex of the text range frame of the character on the lane reference line;

[0094] S1032: For the projection point corresponding to each vertex of the text range box of the text, determine the height value of the projection point according to the height values ​​of the shape points on both sides of the projection point on the lane reference line, and use the height value of the projection point as the height value of the corresponding vertex.

[0095] The data information of the lane reference line in the above step S103 includes the height value of each shape point on the lane reference line.

[0096] In order to explain the embodiments of the present invention more clearly, refer to Figure 2As shown in the figure, taking the character "Xing" in the lane name "Xingfu Road" as an example, according to the longitude and latitude of the four vertices of its text bounding box, each vertex is projected onto the lane reference line of the "Xingfu Road", and four projection points are obtained. The green pentagrams in the figure are the four vertices of the text bounding box of the character "Xing", the blue triangles are the shape points on the lane reference line, the pink lines are the projections of the four vertices of the text bounding box of the character "Xing" onto the lane reference line, and the yellow dots are the projection points of the four vertices of the text bounding box of the character "Xing". For each projection point, according to the height values of the shape points on both sides of the projection point and the distances from the projection point to the shape points on both sides, the height value of the projection point is calculated, and the height value of the projection point is assigned to the corresponding vertex to obtain the height value of the vertex. In the embodiment of the present invention, the lane reference line of the road can be the lane center line of the middle lane of the road corresponding to the road name, and the longitude, latitude and elevation information of the shape points of the lane center line can be pre-stored in the map data and directly obtained from the map data.

[0097] The above calculation of the height value of the projection point according to the height values of the shape points on both sides of the projection point and the distances from the projection point to the shape points on both sides can be based on the following formula to calculate the height value of the projection point according to the height values of the shape points on both sides of the projection point and the distances from the projection point to the shape points on both sides:

[0098] H t = H1 + S1 / S2 * (H2 - H1)

[0099] Where, H t is the height value of the projection point, S1 is the distance from the left shape point to the projection point, S2 is the distance from the left shape point to the right shape point, H1 is the height value of the left shape point, and H2 is the height value of the right shape point.

[0100] After obtaining the height values of the vertices of each text bounding box of each character in the road name, the road identity identifier is associated and saved with the longitude, latitude and height values of the vertices of each text bounding box of each character in the road name into the text information object.

[0101] In an optional embodiment, the step of determining the depth of the vertices of the text bounding box of the character according to the longitude, latitude and height values of the vertices of the text bounding box of each character in each road name described in step S104 may specifically include:

[0102] S1041: According to the arrangement order of each character in each road name and the vertex drawing rules of each text bounding box of each character, obtain the longitude, latitude and height values of the vertices of each text bounding box of each character;

[0103] S1042: Draw according to the obtained longitude, latitude and height values of the vertices to obtain the depth of the vertices.

[0104] In an optional embodiment, after obtaining the depth value of a vertex of a text range box of a text of the road name, the method may further include:

[0105] S1043: Compare the depth of the vertex with the depth of each road corresponding to the vertex position to determine whether the road name passes the query;

[0106] If not, execute step S1044, if yes, execute step S1045;

[0107] S1044: marking the road name as having been queried through occlusion and the query failed;

[0108] S1045: Get the longitude and latitude values ​​of the next vertex, and execute the above steps S1042 and S1043 to determine the depth of the vertex and compare it with the depth of each road at the corresponding position. If the depth value of each vertex corresponding to the road name is less than the depth of each road corresponding to the vertex position, the road name is marked as having passed the occlusion query and the query passed.

[0109] In an embodiment of the present invention, the vertex is drawn according to the longitude, latitude and altitude, and the depth of the vertex is obtained and compared with the depth of the adjacent road, so as to optimize the display of the road name through the overlapping relationship. In the actual execution process, each character arranged in order in the road name can be traversed according to the road identity, and for the four vertices of the text range box of each character, only one vertex is drawn at a time according to the pre-set four-vertex drawing rules to obtain the depth value of the vertex, and the depth value of the vertex is compared with the depth value of the adjacent road. If, in the sequential execution process, the depth value of any vertex is greater than or equal to the depth of the road corresponding to the vertex position, it can be determined that the road name is overlapped by the road surface of the road at the corresponding position, and the road name can be marked as having passed the query and not passed the query, and the current point loop is exited to perform the next road name occlusion query. If each vertex of the text range box of each character of the road name passes the query, the road name is marked as having passed the query and passed the query. During actual labeling, the labeling can be achieved by assigning a value to the text information object corresponding to the road name. For example, if the road name has not been queried, the value is 0; if the road name has been queried and passed the query, the value is 1; if the road name has been queried and failed the query, the value is 2.

[0110] The arrangement order of the characters in the road names may be, for example, from left to right or from top to bottom. Of course, the arrangement order of the characters in the road names may also be obtained according to the actual ordering method of the characters in the road names, and no specific limitation is made here.

[0111] For each character in the road name, the vertex drawing rules of the text range box of the above text can be in the drawing order of the upper left vertex, lower left vertex, upper right vertex, and lower right vertex in sequence.

[0112] The vertex drawing rules of the text range box of the above text can also be to set the drawing order of the vertices of the text range box of each character according to the arrangement order of each character in the road name. For example, for each character arranged from left to right in the road name, when drawing the vertices of the text range box of the leftmost character, draw the upper left vertex and the lower left vertex first, and then draw the upper right vertex and the lower right vertex. When drawing the vertices of the text range box of the rightmost character, draw the upper right vertex and the lower right vertex first, and then draw the upper left vertex and the lower left vertex. For the vertices of the text range box of the middle characters, the vertex drawing order can be set according to the actual situation or drawn in a randomly selected manner. For example, referring to Figure 2 As shown, for the three characters "Xingfu Road" arranged from left to right, for the four vertices of the text range box of the character "Xing", draw them in the order of the upper left vertex, lower left vertex, upper right vertex, and lower right vertex. For the four vertices of the text range box of the character "Road", draw them in the order of the upper right vertex, lower right vertex, upper left vertex, and lower left vertex. For the four vertices of the text range box of the character "Fu", randomly select a vertex to draw each time. After drawing one vertex, randomly select the next vertex.

[0113] Compared with the prior art where only complete occlusion can determine the covering relationship, in the embodiments of the present invention, by comparing the vertex depth of the text range box with the road depth, partial occlusion of the text can be determined. The occlusion query method is changed from the original range box to point query, so that the obtained covering relationship result is more accurate. For example, referring to Figure 3 As shown, in the prior art where only complete occlusion can determine the covering relationship, part of the road name "Shanghai-Hangzhou Railway Overpass" is covered by the upper-layer circular road but still shows, and part of the road name "Husong Highway" is covered by the upper-layer road extending from the upper left to the lower right but also shows. However, by the method of comparing the vertex depth of the text range box with the road depth in the embodiments of the present invention, referring to Figure 4 As shown, it can be determined that the vertex depth of the text range box of the character "Hang" in the road name "Shanghai-Hangzhou Railway Overpass" is less than the depth of the upper-layer circular road at the corresponding position. Therefore, when the subsequent step S105 is executed, the road name "Shanghai-Hangzhou Railway Overpass" will not be drawn and displayed. Similarly, the vertex depth of the text range box of the character "Road" in the road name "Husong Highway" is less than the depth of the upper-layer road extending from the upper left to the lower right at the corresponding position. When the subsequent step S105 is executed, the road name "Shanghai-Hangzhou Railway Overpass" will also not be drawn and displayed.

[0114] according to Figure 3 and Figure 4 It can be seen that the electronic map display method in 3D mode provided by the embodiment of the present invention can achieve that only road names that are higher than the road surface will be drawn and displayed, and the underlying road names can be prevented from being displayed through the high-level road surface, so that the road name display of the electronic map is more reasonable and accurate, and the problem of the road name not being able to correspond to the road and misleading the user can be effectively avoided.

[0115] As the display angle of the electronic map changes, the angle of the road will also change accordingly, and the road name will also change according to the extended shape of the road. Therefore, by obtaining the road name in real time and processing it, the road name is obtained for each frame of the electronic map and an overlay query is performed, further ensuring that the obtained overlay relationship results are more accurate.

[0116] Furthermore, since the road surface in the electronic map has been drawn, the depth of the road can be obtained from the drawn road data. When obtaining the depth of the road, there is no need to repeatedly draw the road surface based on the original road data. Therefore, the performance of electronic map production can be further optimized and resources for electronic map production can be saved.

[0117] In order to ensure the integrity of the electronic map display range, the system screen range is usually set to be larger than the actual screen visible range of the electronic map display device, and the road names within the system screen range but outside the screen visible range may not be drawn and displayed. Based on this, in the embodiment of the present invention, before executing the above step S104, the method may further perform the following steps:

[0118] According to the longitude and latitude of each vertex of the text range box of each character in each road name, it is determined whether any vertex is within the visible range of the screen;

[0119] If so, keep the road name; otherwise, discard the road name.

[0120] In a specific embodiment, the step of judging whether any vertex is within the visible range of the screen according to the longitude and latitude of each vertex of the text range box of each character in each road name may specifically include the following process:

[0121] According to the road identification, obtain the longitude and latitude of each vertex in the corresponding text information object;

[0122] According to the latitude and longitude of the vertex, determine whether the vertex is within the visible range of the screen.

[0123] Usually, the system screen range is set to exceed the visible range of the screen by a lot, and data is pre-loaded to prevent blank space. In the above method, as long as the vertex of the text range box of any text in the road name exceeds the visible range of the screen, the road name can be removed without executing subsequent steps, so as to optimize the performance of electronic map production, save resources for electronic map production, and improve the efficiency of electronic map display.

[0124] In a specific embodiment, based on the above steps S1041 to S1045, if the depth value of each vertex corresponding to the road name described in the above step S105 is less than the depth of the road corresponding to the vertex position, then the road name is drawn and displayed, which may specifically include:

[0125] If the road name is queried through occlusion and the query passes, the road name is drawn and displayed.

[0126] In a specific embodiment, based on the above steps S1041 to S1045, before executing the above step S105, the method may further include:

[0127] For any road name, determine whether the road name has been queried through occlusion;

[0128] If so, determine whether the road name query is successful.

[0129] If the road name is drawn directly without querying and judging after entering the drawing mechanism, and then judging whether the road name passes the query after drawing, at this time, if the road name does not pass the query, when the first frame road name is removed, flickering will occur, affecting the performance of the electronic map. Based on this, the inventor proposes the above scheme, after the road name enters the drawing mechanism, it is first judged whether the road name has passed the occlusion query, and the text of the road name that has not passed the occlusion query will not be drawn any more, and for the road name that has passed the occlusion query, it is further judged whether the road name has passed the query, and only the text of the road name that has passed the query will be drawn. Through such a drawing judgment method, only the road names that are not covered on the upper layer of the road surface will be drawn and displayed, thereby effectively avoiding the problem of ambiguity caused by the inability to correspond between the road name and the road. Compared with the previous method of drawing all the road information into the drawing thread, through such a drawing judgment method, only the road names above the road surface will be drawn, realizing the optimized display of the road name, saving drawing resources, thereby improving the performance of the electronic map and improving the quality of the electronic map software product.

[0130] The inventor found that the conventional road name overlay optimization processing method can only solve the overlay phenomenon between the text display range and the text display range, and when the electronic map is in 3D mode, there will be an overlay phenomenon between the POI image and the road surface. In 3D mode, if the POI image is higher than the road surface, the POI image will not interfere with the road, and the POI image should be displayed at this time; if the low-level POI image is lower than the high-level road surface (such as the elevated road surface), it will cause the POI image to be displayed through the high-level road surface, which is easy to mislead the user, so the POI image should not be displayed at this time. If the conventional road name overlay optimization processing method is adopted, for the case where the POI image is higher than the road surface, it will be considered that the display range of the POI image and the range of the road surface have an overlay relationship, and the POI image needs to be deduplicated, which is not in line with expectations. If the POI image is not overlay optimized, the bottom POI image is displayed through the high-level road surface, which is also not in line with expectations. In view of the problem that after drawing the road surface in the 3D mode, the electronic map needs to process the overlapping relationship between the POI image and the road surface, but the conventional road name overlapping optimization processing method is not applicable, the inventors have made further improvements to the electronic map display method in the 3D mode provided by the embodiment of the present invention. Specifically, referring to Figure 5 As shown, the method may also include the following steps:

[0131] S201: Acquire each POI image in the current frame map within the system screen range;

[0132] S202: for each POI image, determining the longitude and latitude of each vertex of the image range frame of the POI image;

[0133] S203: Obtaining the height value of each vertex of the image range frame of the POI image according to the longitude and latitude of each vertex of the image range frame of the POI image;

[0134] S204: Describe according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image to determine the depth of each vertex of the image range frame of the POI image;

[0135] S205: If the depth value of each vertex corresponding to the POI image is smaller than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed.

[0136] In an embodiment of the present invention, the specific implementation process of step S201 can refer to the detailed description of the above-mentioned step S101, that is, obtaining the geographic location coordinate range of the current frame map within the system screen range, and obtaining the POI image whose geographic location coordinates fall within the geographic location coordinate range of the current frame map from the pre-stored POI image data set.

[0137] In the embodiment of the present invention, the specific implementation process of step S202 can refer to the detailed description of the above step S102. First, according to the length of the unit pixel of the current scale of the electronic map and the pixel value of the POI image, the length of the POI image is determined, and the longitude and latitude conversion is performed to obtain the longitude and latitude distances from the center point to the vertex of the POI image; then, according to the longitude and latitude of the center point of the POI image, the longitude and latitude distances from the center point to the vertex of the POI image and the current POI image zoom ratio, the longitude and latitude of each vertex of the image range frame of the POI image is determined. The specific implementation process can refer to the detailed description of the above steps S1021 and S1022, which will not be repeated here.

[0138] In the embodiment of the present invention, the specific implementation process of step S203 can refer to the detailed description of the above step S103. First, according to the longitude and latitude of each vertex of the image range frame of the POI image, each vertex of the image range frame of the POI image is projected to the lane reference line of the road corresponding to the POI image to obtain the projection points of each vertex of the image range frame of the POI image on the lane reference line; then, for the projection point corresponding to each vertex of the image range frame of the POI image, according to the height values ​​of the shape points on both sides of the projection point on the lane reference line, the height value of the projection point is determined, and the height value of the projection point is used as the height value of the corresponding vertex. The specific implementation process can refer to the detailed description of the above steps S1031 and S1032, which will not be repeated here.

[0139] In the embodiment of the present invention, the specific implementation process of step S204 can refer to the detailed description of the above step S104. First, according to the drawing order of each vertex of the image range frame of the POI image, the longitude, latitude and altitude values ​​of each vertex of the image range frame of the POI image are obtained; then, the longitude, latitude and altitude values ​​of the obtained vertices are drawn to obtain the depth of the vertex. The specific implementation process can refer to the detailed description of the above steps S1041 and S1042, which will not be repeated here.

[0140] The drawing order of the vertices of the image range frame of the POI image may be, for example, the drawing order of the upper left vertex, the lower left vertex, the upper right vertex and the lower right vertex. Of course, the drawing order of the vertices of the image range frame of the POI image may also be determined according to actual conditions. Here, the method for determining the drawing order of the vertices of the image range frame of the POI image may not be specifically limited.

[0141] Furthermore, after obtaining the depth value of a vertex of the image range frame of the POI image, the depth of the vertex may be further compared with the depth of each road corresponding to the vertex position to determine whether the POI image passes the query;

[0142] If not, the POI image is marked as having been occluded and the query has failed;

[0143] Otherwise, obtain the longitude and latitude values ​​of the next vertex, and perform the steps of determining the depth of the vertex and comparing it with the depth of each road at the corresponding position. If the depth values ​​of the four vertices of the image range box of the POI image are all less than the depth of each road corresponding to the vertex position, the POI image is marked as having passed the occlusion query and the query passed.

[0144] Based on the description of the above-mentioned occlusion query and annotation method, if the depth value of each vertex corresponding to the POI image described in the above-mentioned step S205 is less than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed. Specifically, it can be that if the POI image undergoes occlusion query and the query passes, the POI is drawn and displayed.

[0145] In a specific embodiment, based on the description of the above occlusion query and annotation method, before executing the above step S105, the method may further include:

[0146] For any POI image, determine whether the POI image has been occluded;

[0147] If yes, it is further determined whether the POI image query is successful.

[0148] The electronic map display method in 3D mode provided by the embodiment of the present invention can achieve that only POI images that are higher than the road surface will be drawn and displayed, and the bottom POI image can be prevented from being displayed through the high-level road surface, so that the POI image display of the electronic map is more reasonable and accurate, and the problem of POI images not being able to correspond to roads and misleading users can be effectively avoided.

[0149] Embodiment 2

[0150] Based on the same inventive concept, the embodiment of the present invention also provides a method for displaying an electronic map in a 3D mode, referring to Figure 5 As shown, the method may include the following steps:

[0151] S201: Acquire each POI image in the current frame map within the system screen range;

[0152] S202: for each POI image, determining the longitude and latitude of each vertex of the image range frame of the POI image;

[0153] S203: Obtaining the height value of each vertex of the image range frame of the POI image according to the longitude and latitude of each vertex of the image range frame of the POI image;

[0154] S204: Describe according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image to determine the depth of each vertex of the image range frame of the POI image;

[0155] S205: If the depth value of each vertex corresponding to the POI image is smaller than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed.

[0156] The electronic map display method in 3D mode provided by the embodiment of the present invention can achieve that only POI images that are higher than the road surface will be drawn and displayed, and the bottom POI image can be prevented from being displayed through the high-level road surface, so that the POI image display of the electronic map is more reasonable and accurate, and the problem of POI images not being able to correspond to roads and misleading users can be effectively avoided.

[0157] In an alternative embodiment, referring to Figure 1 As shown, the method may also include the following steps:

[0158] S101: Obtain the names of each road in the current frame map within the system screen range;

[0159] S102: Determine the longitude and latitude of each vertex of the text range box of each character in each road name;

[0160] S103: Obtaining the height value of each vertex of the text range frame of each character according to the longitude and latitude of each vertex of the text range frame of each character;

[0161] S104: Describe the depth of each vertex of the text range frame of each character in each road name according to the latitude, longitude and altitude values ​​of each vertex of the text range frame;

[0162] S105: If the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position, the road name is drawn and displayed.

[0163] The electronic map display method in 3D mode provided by the embodiment of the present invention determines each vertex of the text range box of each character in the road name for the road name in the current frame map within the system screen range obtained in real time, obtains the latitude, longitude and altitude value of each vertex, and then draws the depth of each vertex. Based on the comparison of the depth of the vertex and the depth of each road corresponding to the vertex position, the obtained overlapping relationship result is more accurate, so that only the road names above the road surface can be drawn and displayed, and the bottom road names can be avoided from being displayed through the high-level road surface, so that the road name display of the electronic map is more reasonable and accurate, and the problem of the road name not corresponding to the road is effectively avoided, which causes misleading to the user. In the 3D mode, after drawing the road surface, the electronic map obtains the road name of the electronic map of the current frame in real time for real-time processing, and the real-time display of the electronic map can be guaranteed, so that the road information in the electronic map is more accurate.

[0164] In the embodiment of the present invention, the specific implementation process of the above steps S101 to S105 and steps S201 to S205 can refer to the detailed description in the above embodiment 1, and will not be repeated here.

[0165] Embodiment 3

[0166] Based on the same inventive concept, the embodiment of the present invention further provides an electronic map display device in 3D mode, referring to Figure 6 As shown, the device may include:

[0167] The first acquisition module 101 is used to acquire the names of each road in the current frame map within the system screen range;

[0168] The first calculation module 102 is used to determine the longitude and latitude of each vertex of the text range box of each character in each road name;

[0169] The second calculation module 103 is used to obtain the height value of each vertex of the text range frame of each character according to the longitude and latitude of each vertex of the text range frame of each character;

[0170] The first occlusion query module 104 is used to draw according to the latitude, longitude and altitude values ​​of each vertex of the text range box of each character in each road name, and determine the depth of each vertex of the text range box of the character;

[0171] The first drawing module 105 is used to draw and display the road name if the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position.

[0172] Embodiment 4

[0173] Based on the same inventive concept, the embodiment of the present invention further provides an electronic map display device in 3D mode, referring to Figure 7 As shown, the device may include:

[0174] The second acquisition module 201 is used to acquire each POI image in the current frame map within the system screen range;

[0175] A third calculation module 202 is used to determine the longitude and latitude of each vertex of the image range frame of each POI image;

[0176] A fourth calculation module 203 is used to obtain the height value of each vertex of the image range frame of the POI image according to the longitude and latitude of each vertex of the image range frame of the POI image;

[0177] A second occlusion query module 204 is used to draw according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image;

[0178] The second drawing module 205 is configured to draw and display the POI image if the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position.

[0179] Embodiment 5

[0180] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the electronic map display method in 3D mode described in the above embodiment 1 or embodiment 2 is implemented.

[0181] Embodiment 6

[0182] Based on the same inventive concept, a computer device is also provided in an embodiment of the present invention, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the electronic map display method in 3D mode described in the above-mentioned embodiment 1 or embodiment 2 is implemented.

[0183] Embodiment 7

[0184] Based on the same inventive concept, an embodiment of the present invention further provides a computer program product comprising instructions. When the computer program product runs on a computer device, the computer device executes the electronic map display method in 3D mode as described in the above-mentioned embodiment 1 or embodiment 2.

[0185] The principles of solving the problems by the above-mentioned apparatus, computer-readable storage medium, computer device and computer program product containing instructions in the embodiments of the present invention are similar to those of the above-mentioned methods, so their implementation can refer to the implementation of the above-mentioned methods, and the repeated parts will not be repeated.

[0186] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0187] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0188] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0189] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0190] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for displaying an electronic map in 3D mode, characterized in that: include: Get the names of each road in the current frame map within the system screen range; Determine the longitude and latitude of each vertex of the text range box of each character in each of the road names; According to the longitude and latitude of each vertex of the text range frame of each character, the height value of each vertex of the text range frame of the character is obtained; Describe the text range frame of each character in each of the road names according to the latitude, longitude and altitude values ​​of each vertex, and determine the depth of each vertex of the text range frame of the character; If the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position, the road name is drawn and displayed.

2. The method according to claim 1, characterized in that The step of drawing according to the latitude, longitude and altitude values ​​of each vertex of the text range frame of each of the characters in each of the road names and determining the depth of each vertex of the text range frame of the characters includes: According to the arrangement order of each character in each road name and the drawing rule of each vertex of the character range frame of each character, the longitude, latitude and altitude values ​​of each vertex of the character range frame of each character are obtained; Draw according to the acquired latitude, longitude and altitude values ​​of the vertex to obtain the depth of the vertex.

3. The method according to claim 1, characterized in that After obtaining the depth of a vertex of a text range box of a text of the road name, the method further includes: Compare the depth of the vertex with the depth of each road corresponding to the vertex position to determine whether the road name passes the query; If not, the road name is marked as having been queried through occlusion and the query has failed; If so, obtain the latitude, longitude and altitude values ​​of the next vertex, and execute the steps of determining the depth of the vertex and comparing it with the depth of each road at the corresponding position. If the depth value of each vertex corresponding to the road name is less than the depth of each road corresponding to the vertex position, the road name is marked as having passed the occlusion query and the query passed.

4. The method according to claim 3, characterized in that If the depth value of each vertex corresponding to the road name is less than the depth of the road corresponding to the vertex position, the road name is drawn and displayed, including: If the road name is queried through occlusion and the query passes, the road name is drawn and displayed.

5. The method according to claim 1, characterized in that The step of obtaining the height value of each vertex of the text range frame of each character according to the longitude and latitude of each vertex of the text range frame of each character comprises: According to the longitude and latitude of each vertex of the text range frame of each of the characters, each vertex of the text range frame of the characters is projected onto a lane reference line of the road corresponding to the road name, to obtain projection points of each vertex of the text range frame of the characters on the lane reference line; the data information of the lane reference line includes a height value of each shape point on the lane reference line; For the projection point corresponding to each vertex of the text range box of the text, the height value of the projection point is determined according to the height values ​​of the shape points on both sides of the projection point on the lane reference line, and the height value of the projection point is used as the height value of the corresponding vertex.

6. The method according to claim 1, characterized in that The step of determining the longitude and latitude of each vertex of the text range box of each character in each of the road names includes: According to the length of the unit pixel of the current scale of the electronic map and the pixel value of each character of the road name, the character length of the character is determined, and longitude and latitude conversion is performed to obtain the longitude distance and latitude distance from the center point to the vertex of the character; For each character in the road name, the longitude and latitude of each vertex of the text range box of the character is determined according to the longitude and latitude of the center point of the character, the longitude and latitude distances from the center point of the character to the vertex, and the scaling ratio of the current road name.

7. The method according to any one of claims 1 to 6, characterized in that: Also includes: Get the POI images in the current frame map within the system screen range; For each of the POI images, determining the longitude and latitude of each vertex of the image range frame of the POI image; Obtaining the height value of each vertex of the image range frame of the POI image according to the latitude and longitude of each vertex of the image range frame of the POI image; Describe according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image; If the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed.

8. A method for displaying an electronic map in 3D mode, characterized in that: include: Get the POI images in the current frame map within the system screen range; For each of the POI images, determining the longitude and latitude of each vertex of the image range frame of the POI image; Obtaining the height value of each vertex of the image range frame of the POI image according to the latitude and longitude of each vertex of the image range frame of the POI image; Describe according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image; If the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position, the POI image is drawn and displayed.

9. An electronic map display device in 3D mode, characterized in that: include: The first acquisition module is used to acquire the names of each road in the current frame map within the system screen range; A first calculation module is used to determine the longitude and latitude of each vertex of the text range box of each character in each of the road names; A second calculation module is used to obtain the height value of each vertex of the text range frame of each character according to the longitude and latitude of each vertex of the text range frame of each character; A first occlusion query module is used to draw according to the latitude, longitude and altitude values ​​of each vertex of the text range box of each of the characters in each of the road names, and determine the depth of each vertex of the text range box of the characters; The first drawing module is used to draw and display the road name if the depth value of each vertex corresponding to the road name is smaller than the depth of each road corresponding to the vertex position.

10. An electronic map display device in 3D mode, characterized in that: include: The second acquisition module is used to acquire each POI image in the current frame map within the system screen range; A third calculation module, used for determining, for each of the POI images, the longitude and latitude of each vertex of the image range frame of the POI image; A fourth calculation module, used for obtaining the height value of each vertex of the image range frame of the POI image according to the longitude and latitude of each vertex of the image range frame of the POI image; A second occlusion query module is used to draw according to the latitude, longitude and altitude values ​​of each vertex of the image range frame of the POI image, and determine the depth of each vertex of the image range frame of the POI image; The second drawing module is used to draw and display the POI image if the depth value of each vertex corresponding to the POI image is less than the depth of each road corresponding to the vertex position.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the electronic map display method in 3D mode according to any one of claims 1 to 8 is implemented.

12. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the electronic map display method in 3D mode according to any one of claims 1 to 8 is implemented.

13. A computer program product comprising instructions, which, when executed on a computer device, enables the computer device to execute the method for displaying an electronic map in a 3D mode as claimed in any one of claims 1 to 8.