Icon display method and device based on multiple layers, equipment and storage medium
By obtaining map configuration information and multiple layer identification information, determining layer relationships and displaying icons, the problem of fixed map and layer relationships in the existing technology is solved, dynamic icon display is realized, and user experience and map flexibility is improved sex.
Patent Information
- Application Number
- CN202411020038.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-08
AI Technical Summary
In the existing multi-layer icon display method, the relationship between map and layer is fixed and cannot be adjusted dynamically according to user needs, affecting the user experience.
By obtaining map configuration information and multiple layer identification information, the user determines the upper and lower layer relationships of multiple layers, and displays icons based on latitude and longitude information to realize dynamic display of icons on the initial map.
Improves the user experience and allows different types of icons to be displayed on the initial map according to user needs, enhancing the flexibility and interactivity of the map.
Smart Images

Figure CN118915933A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular relates to a method, device, equipment and storage medium for displaying icons based on multiple layers. Background Art
[0002] Open maps usually include a series of basic map functions provided by map service providers, including map data that can be freely accessed and used. Open maps can be used for various purposes, including but not limited to navigation, route planning, geographic information system analysis, etc. Multiple layers can be set on an open map, and multiple layers can be superimposed to display different content (such as icons, etc.).
[0003] In the prior art, the method for displaying multi-layer icons is usually to create different layers on a map that supports multi-layer display; after the layers are created, icon information is recorded on the layers and saved. When receiving a user's query input, the map and the icon corresponding to the icon information recorded on the layers are displayed.
[0004] However, in this method of displaying multi-layer icons, the relationship between the map and the layer is fixed, and only icons corresponding to the icon information entered on the map and the layer can be displayed fixedly, which affects the user experience. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device and storage medium for displaying icons based on multiple layers. Different types of initial maps can be displayed based on the configuration information of the map, and user editing input for multiple layers can be received, so that icons can be displayed on the initial map according to user needs, thereby improving the user experience.
[0006] In a first aspect, an embodiment of the present application provides an icon display method based on multiple layers, the method comprising:
[0007] Obtain map configuration information and multiple layer identification information, the map configuration information includes map type and latitude and longitude information;
[0008] Displaying an initial map corresponding to the map configuration information and multiple layer identifiers corresponding to the multiple layer identifier information;
[0009] When receiving a selection input and a sorting input of at least one target layer identifier from among the multiple layer identifiers from the user, determining a top-bottom layer relationship of at least one target layer corresponding to the at least one target layer identifier;
[0010] Obtain icon information of at least one target layer in the area corresponding to the latitude and longitude information;
[0011] According to the upper and lower layer relationships, icons corresponding to the icon information are displayed on the initial map.
[0012] In a possible implementation, displaying an initial map corresponding to the map configuration information includes:
[0013] Obtaining a first display position of an initial map corresponding to the map configuration information;
[0014] An initial map corresponding to the map configuration information is displayed at a first display position on a preset page.
[0015] In a possible implementation, multiple layer identifications corresponding to multiple layer identification information are displayed, including:
[0016] Obtaining an initial order and a second display position of a plurality of layer identifiers corresponding to the plurality of layer identifier information;
[0017] According to the initial sorting, multiple layer identifiers corresponding to the multiple layer identifier information are displayed at the second display position of the initial map.
[0018] In a possible implementation, the icon information includes an icon identifier, icon address information, and icon longitude and latitude; and according to the upper and lower layer relationships, an icon corresponding to the icon information is displayed on the initial map, including:
[0019] According to the upper and lower layer relationships, the icon logo and icon address information are displayed on the initial map according to the icon's latitude and longitude.
[0020] In a possible implementation, the icon information includes the target grid area identifier and the latitude and longitude of the target grid area; and according to the upper and lower layer relationships, the icon corresponding to the icon information is displayed on the initial map, including:
[0021] According to the upper and lower layer relationships, the target grid area corresponding to the target grid area logo is drawn on the initial map according to the longitude and latitude of the target grid area.
[0022] In a possible implementation, the icon information further includes a target score value of the target grid area; after drawing the target grid area corresponding to the target grid area identifier on the initial map according to the upper and lower layer relationship and the longitude and latitude of the target grid area, the method further includes:
[0023] Determine the target score level corresponding to the target score value according to the relationship information between the score value and the score level;
[0024] The level identification information corresponding to the target score level is displayed in the target grid area.
[0025] In a second aspect, an embodiment of the present application provides an icon display device based on multiple layers, the device comprising:
[0026] An acquisition module is used to acquire map configuration information and multiple layer identification information, where the map configuration information includes map type and latitude and longitude information;
[0027] A display module, used for displaying an initial map corresponding to the map configuration information and multiple layer identifiers corresponding to the multiple layer identifier information;
[0028] A determination module, configured to determine the upper and lower layer relationship of at least one target layer corresponding to the at least one target layer identifier upon receiving a user's selection input and a sorting input for at least one target layer identifier among the multiple layer identifiers;
[0029] The acquisition module is further used to obtain icon information of at least one target layer in the area corresponding to the latitude and longitude information;
[0030] The display module is also used to display icons corresponding to the icon information on the initial map according to the upper and lower layer relationships.
[0031] In a possible embodiment, the display module is specifically used for:
[0032] Obtaining a first display position of an initial map corresponding to the map configuration information;
[0033] An initial map corresponding to the map configuration information is displayed at a first display position on a preset page.
[0034] In a possible embodiment, the display module is specifically used for:
[0035] Obtaining an initial order and a second display position of a plurality of layer identifiers corresponding to the plurality of layer identifier information;
[0036] According to the initial sorting, multiple layer identifiers corresponding to the multiple layer identifier information are displayed at the second display position of the initial map.
[0037] In a possible implementation, the icon information includes an icon identifier, icon address information, and icon latitude and longitude; the display module is specifically used for:
[0038] According to the upper and lower layer relationships, the icon logo and icon address information are displayed on the initial map according to the icon's latitude and longitude.
[0039] In a possible implementation, the icon information includes the target grid area identifier and the longitude and latitude of the target grid area; the display module is specifically used for:
[0040] According to the upper and lower layer relationships, the target grid area corresponding to the target grid area logo is drawn on the initial map according to the longitude and latitude of the target grid area.
[0041] In a possible implementation, the icon information further includes a target score value of the target grid area; and the device further includes:
[0042] The determination module is further used to determine the target score level corresponding to the target score value according to the relationship information between the score value and the score level after drawing the target grid area corresponding to the target grid area mark on the initial map according to the upper and lower layer relationship and the longitude and latitude of the target grid area;
[0043] The display module is also used to display the level identification information corresponding to the target score level in the target grid area.
[0044] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:
[0045] a processor and a memory storing computer program instructions;
[0046] When the processor executes the computer program instructions, it implements any of the above-mentioned icon display methods based on multiple layers.
[0047] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, any one of the above-mentioned multi-layer-based icon display methods is implemented.
[0048] In a fifth aspect, an embodiment of the present application provides a computer program product, characterized in that when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the above-mentioned multi-layer-based icon display methods.
[0049] The method, device, equipment and storage medium for displaying icons based on multiple layers in the embodiment of the present application include: obtaining map configuration information and multiple layer identification information, the map configuration information including map type and longitude and latitude information; displaying the initial map corresponding to the map configuration information and multiple layer identification information corresponding to the multiple layer identification information; determining the upper and lower layer relationship of at least one target layer corresponding to the at least one target layer identification when receiving the user's selection input and sorting input for at least one target layer identification among the multiple layer identifications; obtaining the icon information of at least one target layer in the area corresponding to the longitude and latitude information; and displaying the icon corresponding to the icon information on the initial map according to the upper and lower layer relationship. In this way, different types of initial maps can be displayed based on the map configuration information, and the user's editing input for multiple layers can be received, so that icons can be displayed on the initial map according to user needs, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0051] Figure 1 It is a flowchart of a method for displaying icons based on multiple layers provided by an embodiment of the present application;
[0052] Figure 2 is a flowchart of a method for displaying icons based on multiple layers provided by another embodiment of the present application;
[0053] Figure 3 is a flowchart of a method for displaying icons based on multiple layers provided by another embodiment of the present application;
[0054] Figure 4 is a flowchart of a method for displaying icons based on multiple layers provided in yet another embodiment of the present application;
[0055] Figure 5 is a structural schematic diagram of a multi-layer icon display device provided by another embodiment of the present application;
[0056] Figure 6 It is a structural diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0057] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0058] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0059] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.
[0060] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0061] Open maps usually include a series of basic map functions provided by map service providers, including map data that can be freely accessed and used. Open maps can be used for various purposes, including but not limited to navigation, route planning, geographic information system analysis, etc. Multiple layers can be set on open maps, and multiple layers can be superimposed to display different content (such as icons, etc.). Developers can also integrate map functions in their own applications.
[0062] Specifically, basic map functions usually include:
[0063] 1. Map display: Provides map display function, allowing users to view maps in the application;
[0064] 2. Map information update: ensure the timeliness and accuracy of map information and update map information regularly;
[0065] 3. Map customization: allows developers to customize the map style according to specific needs, such as changing the map color, icon, etc.;
[0066] 4. Path planning: Provide path calculation services to help users find the best route from one point to another;
[0067] 5. Geocoding and reverse geocoding: converting addresses to geographic coordinates (geocoding) or converting geographic coordinates back to addresses (reverse geocoding);
[0068] 6. Search service: allows users to search for places, points of interest (POI), etc.
[0069] 7. Positioning service: provides positioning function to help determine the user's current location;
[0070] 8. Map Software Development Kit (SDK): Provides a software development kit (SDK) to facilitate developers to integrate map services into their own applications;
[0071] 9. Application Programming Interface (API) interface: Provides API to allow developers to access and use map services programmatically.
[0072] In the prior art, the method for displaying multi-layer icons is usually to create different layers on a map that supports multi-layer display; after the layers are created, icon information is recorded on the layers and saved. When receiving a user's query input, the map and the icon corresponding to the icon information recorded on the layers are displayed.
[0073] However, in this method of displaying multi-layer icons, the relationship between the map and the layer is fixed, and only icons corresponding to the icon information entered on the map and the layer can be displayed fixedly, which affects the user experience.
[0074] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment and storage medium for displaying icons based on multiple layers. The method for displaying icons based on multiple layers provided in the embodiments of the present application can be applied to the front end, and different types of initial maps can be displayed based on the configuration information of the map, and the user's editing input for multiple layers can be received, so that icons can be displayed on the initial map according to user needs, thereby improving the user experience.
[0075] The following first introduces the icon display method based on multiple layers provided in the embodiment of the present application. Figure 1 As shown, the multi-layer based icon display method provided in the embodiment of the present application includes the following steps.
[0076] S110: Obtain map configuration information and multiple layer identification information, where the map configuration information includes map type and latitude and longitude information.
[0077] In some embodiments, an application file (such as a JavaScript program file) is introduced, an initialization function in the application file is run, and map configuration information is obtained through the initialization function to overwrite the default map configuration information.
[0078] In some embodiments, the map configuration information may be configuration information of an open map, and the map configuration information may include, but is not limited to, map type, longitude and latitude information, map display area height and width, map initial scale, and the like.
[0079] S120: Display an initial map corresponding to the map configuration information and multiple layer identifiers corresponding to the multiple layer identifier information.
[0080] Here, the initial map may include an open map.
[0081] In some embodiments, loading modules of different development maps are called according to the map type, and the open map is loaded using the map configuration information and the map height, width and scale are set.
[0082] In some embodiments, a control layer, ie, a div mask layer, is generated on the initial map for users to edit layer identification, and the control layer is always fixed at the top layer. Multiple layer identifications corresponding to multiple layer identification information are displayed in the control layer.
[0083] Here, multiple layer identifiers can be cards, which include a check box, a layer name, and a sorting control. The sorting control includes an up control and a down control. If the check box is selected, the corresponding layer is displayed; if it is unchecked, the corresponding layer is hidden. The up control is bound to the up one layer event. Clicking the up control will move the corresponding layer up one layer, and the card will move forward one position accordingly. The down control is bound to the down one layer event. Clicking the down control will move the corresponding layer down one layer, and the card will move backward one position accordingly.
[0084] S130. Upon receiving a selection input and a sorting input from a user for at least one target layer identifier among a plurality of layer identifiers, determine a top-bottom layer relationship of at least one target layer corresponding to the at least one target layer identifier.
[0085] In some embodiments, the user's selection input for at least one target layer identifier includes a user's click input for a check box in the at least one target layer identifier; the user's sorting input for at least one target layer identifier includes a user's click input for a sorting control in the at least one target layer identifier. When the user's selection input and sorting input for at least one target layer identifier among the multiple layer identifiers are received, the at least one target layer identifier is sorted according to the target order, and the upper and lower layer relationship of at least one target layer corresponding to the at least one target layer identifier is determined.
[0086] It is understandable that the order of at least one target layer identifier corresponds to the upper and lower layer relationship of at least one target layer. For example, if the order of the target layer identifier is the second, then the target layer corresponding to the target layer identifier is in the second layer. Here, the second layer refers to the order excluding the control layer, and the control layer does not participate in the sorting of the target layers.
[0087] It should be noted that, in the process of multi-layer display, when receiving click input, it will take effect on the upper layer first.
[0088] S140: Obtain icon information of at least one target layer in the area corresponding to the longitude and latitude information.
[0089] Here, the icon information is pre-set. Figure 2 As shown, the icon information can be obtained from the backend. The specific process is as follows: (1) sending a request to obtain the icon information of the target layer to the backend; (2) after receiving the request, the backend returns the icon information of the target layer.
[0090] In some embodiments, since the initial map is an area corresponding to the longitude and latitude information, when displaying icons, only the icon information of at least one target layer in the area corresponding to the longitude and latitude information is obtained. The icon information may include, but is not limited to, an icon identifier (such as a name), an icon format (such as a color and shape, etc.), and an icon longitude and latitude. Here, the icon information is user-defined icon information.
[0091] S150. Displaying icons corresponding to the icon information on the initial map according to the upper and lower layer relationships.
[0092] In some embodiments, an initial layer (such as a transparent div mask layer) is set on the initial map according to the relationship between the upper and lower layers, and after obtaining the icon information of at least one target layer in the area corresponding to the longitude and latitude information, the icon corresponding to the icon information is displayed on the initial layer.
[0093] In this way, different types of initial maps can be displayed based on the map configuration information, and the user's editing input for multiple layers can be received, and icons can be displayed on the initial map according to user needs, thereby improving the user experience.
[0094] Based on this, in some embodiments, such as Figure 3 As shown, in the above S120, the initial map corresponding to the map configuration information is displayed, including:
[0095] S121, obtaining a first display position of an initial map corresponding to map configuration information;
[0096] S122: Display an initial map corresponding to the map configuration information at a first display position of a preset page.
[0097] Here, the first display position may be a preset position or a position input by a user.
[0098] In some embodiments, the first display position may be any one of a plurality of preset map positions. Specifically, a selection input of a plurality of preset map positions by a user is received to obtain the first display position.
[0099] In some embodiments, a first display position of an initial map corresponding to the map configuration information is obtained, and according to the first display position, a div tag is set in a preset page to indicate the map display position.
[0100] In this way, the initial image can be displayed at different positions of the preset page, which meets the user needs as much as possible and improves the user experience.
[0101] Based on this, in some embodiments, such as Figure 4 As shown, in the above S120, multiple layer identifications corresponding to multiple layer identification information are displayed, including:
[0102] S123, obtaining an initial order and a second display position of a plurality of layer identifications corresponding to the plurality of layer identification information;
[0103] S124. Displaying a plurality of layer identifications corresponding to the plurality of layer identification information at a second display position of the initial map according to the initial sorting.
[0104] Here, the initial sorting is set in advance.
[0105] In some embodiments, the second display position may be any one of a plurality of preset layer identification positions. Specifically, the user's selection input of a plurality of preset layer identification positions is received to obtain the second display position. It should be noted that the second display position is a relative position of the initial map. For example, the second display position is the lower right corner of the initial map.
[0106] In some embodiments, multiple layer identifiers corresponding to the multiple layer identifier information are displayed at the second display position of the initial map according to the initial sorting. Specifically, the multiple layer identifiers can be displayed in rows from left to right according to the initial sorting, or in columns from top to bottom according to the initial sorting.
[0107] In this way, multiple layer labels can be displayed at different locations on the initial map, meeting user needs as closely as possible and improving user experience.
[0108] Based on this, in some embodiments, the icon information includes an icon identifier, an icon address information, and an icon longitude and latitude; and according to the upper and lower layer relationships, an icon corresponding to the icon information is displayed on the initial map, including:
[0109] According to the upper and lower layer relationships, the icon logo and icon address information are displayed on the initial map according to the icon's latitude and longitude.
[0110] Here, the icon logo, icon address information and icon longitude and latitude are all set in advance.
[0111] In some embodiments, the icon formats of different layers may be the same or different. The categories of icon identifiers of different layers may be different. One icon identifier corresponds to one icon address information and icon longitude and latitude. The icon identifier may be the name of a network point, and different layers may be used to distinguish different categories of network points. The icon address information may be the address information of the network point. The icon longitude and latitude may be the longitude and latitude of the network point.
[0112] In this way, the icon includes an icon logo and icon address information, and the icon is positioned according to the icon's longitude and latitude, and can be accurately displayed on the initial map according to user needs, thereby improving the user experience.
[0113] Based on this, in some embodiments, the icon information includes the target grid area identifier and the latitude and longitude of the target grid area; according to the upper and lower layer relationship, the icon corresponding to the icon information is displayed on the initial map, including:
[0114] According to the upper and lower layer relationships, the target grid area corresponding to the target grid area logo is drawn on the initial map according to the longitude and latitude of the target grid area.
[0115] Here, the target grid area identifier and the target grid area latitude and longitude are set in advance.
[0116] In some embodiments, the target grid area identifier includes the name of the target grid area. The longitude and latitude of the target grid area can be the longitude and latitude of a specific point in the target grid area, such as the upper left corner. The target grid area corresponding to the target grid area identifier is drawn on the initial map according to the longitude and latitude of the target grid area. It is understandable that the combination of longitude and latitude of different target grid areas can form multiple areas. For example, the points corresponding to two adjacent longitudes and latitudes are connected.
[0117] In some embodiments, the target grid area in the layer may form a grid (such as a nine-square grid), and the side length of the grid is determined according to the interval of longitude and latitude. For example, the side length is 1500 meters corresponding to the actual area size.
[0118] In some embodiments, the target grid area can be an area for selecting candidate dots, or an area that does not include the target dots. The area that does not include the target dots can be formed by forming a nine-square grid with the grid area where the target dots are located as the center grid, and the area that does not include the target dots is an area that does not overlap with the grid area where the target dots are located.
[0119] In this way, the icon includes the target grid area identifier, and the target grid area is drawn according to the longitude and latitude of the target grid area, and can be accurately displayed on the initial map according to user needs, thereby improving the user experience.
[0120] Based on this, in some embodiments, the icon information also includes a target score value of the target grid area; after drawing the target grid area corresponding to the target grid area identifier on the initial map according to the upper and lower layer relationship and the longitude and latitude of the target grid area, the method further includes:
[0121] Determine the target score level corresponding to the target score value according to the relationship information between the score value and the score level;
[0122] The level identification information corresponding to the target score level is displayed in the target grid area.
[0123] Here, the target score value of the target grid area is set in advance. The target score value represents the user's satisfaction with the target grid area. For example, the resident population, shopping malls, etc. will affect the target score value.
[0124] In some embodiments, the level identification information may be a color. Different score levels may be identified by corresponding colors. The target score level may also be directly marked in the corresponding target grid area.
[0125] In this way, by marking areas with different score levels, users can clearly see the differences between different areas, which improves the user experience.
[0126] In the embodiment provided in the present application, different types of open maps are integrated, and a universal div mask layer technology is used to adapt different open maps for display; input for switching layers and adjusting the layer stacking order can be received; icon site selection and map display are combined for intuitive presentation, thereby improving the user experience.
[0127] Based on the multi-layer icon display method provided in the above embodiment, the present application also provides a specific implementation of a multi-layer icon display device. Please refer to the following embodiment.
[0128] See first Figure 5 The multi-layer icon display device 300 provided in the embodiment of the present application includes:
[0129] The acquisition module 310 is used to acquire map configuration information and multiple layer identification information, where the map configuration information includes map type and latitude and longitude information;
[0130] Display module 320, used to display the initial map corresponding to the map configuration information and multiple layer identifiers corresponding to the multiple layer identifier information;
[0131] The determination module 330 is used to determine the upper and lower layer relationship of at least one target layer corresponding to the at least one target layer identifier when receiving the user's selection input and sorting input for at least one target layer identifier among the multiple layer identifiers;
[0132] The acquisition module 310 is further used to acquire icon information of at least one target layer in the area corresponding to the longitude and latitude information;
[0133] The display module 320 is further used to display icons corresponding to the icon information on the initial map according to the upper and lower layer relationships.
[0134] Based on this, in some embodiments, the display module 320 can be specifically used for:
[0135] Obtaining a first display position of an initial map corresponding to the map configuration information;
[0136] An initial map corresponding to the map configuration information is displayed at a first display position on a preset page.
[0137] Based on this, in some embodiments, the display module 320 can be specifically used for:
[0138] Obtaining an initial order and a second display position of a plurality of layer identifiers corresponding to the plurality of layer identifier information;
[0139] According to the initial sorting, multiple layer identifiers corresponding to the multiple layer identifier information are displayed at the second display position of the initial map.
[0140] Based on this, in some embodiments, the icon information includes the icon identification, the icon address information and the icon latitude and longitude; the display module 320 can be specifically used for:
[0141] According to the upper and lower layer relationships, the icon logo and icon address information are displayed on the initial map according to the icon's latitude and longitude.
[0142] Based on this, in some embodiments, the icon information includes the target grid area identifier and the longitude and latitude of the target grid area; the display module 320 can be specifically used for:
[0143] According to the upper and lower layer relationships, the target grid area corresponding to the target grid area logo is drawn on the initial map according to the longitude and latitude of the target grid area.
[0144] Based on this, in some embodiments, the icon information also includes a target score value of the target grid area; the apparatus 300 may also include:
[0145] The determination module 330 is further used to determine the target score level corresponding to the target score value according to the relationship information between the score value and the score level after drawing the target grid area corresponding to the target grid area mark on the initial map according to the upper and lower layer relationship and the longitude and latitude of the target grid area;
[0146] The display module 320 is further used to display the level identification information corresponding to the target score level in the target grid area.
[0147] The various modules of the multi-layer-based icon display device provided in the embodiment of the present application can realize the functions of the various steps of the multi-layer-based icon display method provided above and achieve the corresponding technical effects, which will not be repeated here for the sake of concise description.
[0148] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.
[0149] Figure 6 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.
[0150] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.
[0151] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0152] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an integrated gateway disaster recovery device. In a specific embodiment, memory 402 is a non-volatile solid-state memory.
[0153] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0154] The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement any one of the icon display methods based on multiple layers in the above embodiments.
[0155] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 6 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.
[0156] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0157] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (Linear Predictive Coding, LPC) bus, a memory bus, a micro channel architecture (MicroChannel Architecture, MCA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) bus, a video electronics standard association local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although the embodiments of the present application describe and illustrate a specific bus, the present application considers any suitable bus or interconnection. The electronic device can execute the icon display method based on multiple layers in the embodiments of the present invention, thereby realizing the above-mentioned icon display method based on multiple layers.
[0158] In addition, in combination with the icon display method based on multiple layers in the above embodiments, the present application embodiment can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the icon display methods based on multiple layers in the above embodiments is implemented.
[0159] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the various processes of implementing any of the above-mentioned embodiments of the icon display method based on multiple layers.
[0160] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0161] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0162] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0163] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box 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, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0164] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for displaying icons based on multiple layers. It is characterized in that include: Acquire map configuration information and multiple layer identification information, wherein the map configuration information includes map type and latitude and longitude information; Displaying the initial map corresponding to the map configuration information and the multiple layer identifiers corresponding to the multiple layer identifier information; When receiving a selection input and a sorting input of at least one target layer identifier among the multiple layer identifiers from a user, determining a top-bottom layer relationship of at least one target layer corresponding to the at least one target layer identifier; Obtaining icon information of at least one target layer in the area corresponding to the longitude and latitude information; According to the upper and lower layer relationships, icons corresponding to the icon information are displayed on the initial map.
2. The method for displaying icons based on multiple layers according to claim 1, It is characterized in that The displaying the initial map corresponding to the map configuration information includes: Acquire a first display position of the initial map corresponding to the map configuration information; An initial map corresponding to the map configuration information is displayed at a first display position on a preset page.
3. The method for displaying icons based on multiple layers according to claim 1, It is characterized in that Displaying multiple layer identifiers corresponding to the multiple layer identifier information includes: Acquire the initial order and second display position of the plurality of layer identifications corresponding to the plurality of layer identification information; According to the initial sorting, a plurality of layer identifiers corresponding to the plurality of layer identifier information are displayed at the second display position of the initial map.
4. The method for displaying icons based on multiple layers according to claim 1, It is characterized in that The icon information includes icon identification, icon address information and icon latitude and longitude; The step of displaying the icon corresponding to the icon information on the initial map according to the upper and lower layer relationship includes: According to the upper and lower layer relationships, the icon logo and the icon address information are displayed on the initial map according to the latitude and longitude of the icon.
5. The method for displaying icons based on multiple layers according to claim 1, It is characterized in that The icon information includes the target grid area identifier and the longitude and latitude of the target grid area; The step of displaying the icon corresponding to the icon information on the initial map according to the upper and lower layer relationship includes: According to the upper and lower layer relationship, a target grid area corresponding to the target grid area identifier is drawn on the initial map according to the longitude and latitude of the target grid area.
6. The method for displaying icons based on multiple layers according to claim 5, It is characterized in that The icon information also includes a target score value of the target grid area; after drawing the target grid area corresponding to the target grid area identifier on the initial map according to the upper and lower layer relationship and the longitude and latitude of the target grid area, the method further includes: Determine a target score level corresponding to the target score value according to the relationship information between the score value and the score level; The level identification information corresponding to the target score level is displayed in the target grid area.
7. An icon display device based on multiple layers, It is characterized in that The device comprises: An acquisition module, used to acquire map configuration information and multiple layer identification information, wherein the map configuration information includes map type and latitude and longitude information; A display module, used for displaying the initial map corresponding to the map configuration information and the multiple layer identifiers corresponding to the multiple layer identifier information; A determination module, configured to determine the upper and lower layer relationship of at least one target layer corresponding to the at least one target layer identifier upon receiving a user's selection input and a sorting input for at least one target layer identifier among the multiple layer identifiers; The acquisition module is further used to acquire icon information of at least one target layer in the area corresponding to the longitude and latitude information; The display module is further used to display the icon corresponding to the icon information on the initial map according to the upper and lower layer relationship.
8. The icon display device based on multiple layers according to claim 7, It is characterized in that The display module is specifically used for: Acquire a first display position of the initial map corresponding to the map configuration information; An initial map corresponding to the map configuration information is displayed at a first display position on a preset page.
9. The icon display device based on multiple layers according to claim 7, It is characterized in that The display module is specifically used for: Acquire the initial order and second display position of the plurality of layer identifications corresponding to the plurality of layer identification information; According to the initial sorting, a plurality of layer identifiers corresponding to the plurality of layer identifier information are displayed at the second display position of the initial map.
10. The icon display device based on multiple layers according to claim 7, It is characterized in that The icon information includes icon identification, icon address information and icon longitude and latitude; the display module is specifically used for: According to the upper and lower layer relationships, the icon logo and the icon address information are displayed on the initial map according to the latitude and longitude of the icon.
11. The icon display device based on multiple layers according to claim 7, It is characterized in that The icon information includes the target grid area identifier and the longitude and latitude of the target grid area; the display module is specifically used for: According to the upper and lower layer relationship, a target grid area corresponding to the target grid area identifier is drawn on the initial map according to the longitude and latitude of the target grid area.
12. The icon display device based on multiple layers according to claim 11, It is characterized in that The icon information also includes a target score value of the target grid area; the device also includes: The determination module is further configured to determine a target score level corresponding to the target score value according to relationship information between the score value and the score level, after drawing the target grid area corresponding to the target grid area identifier on the initial map according to the upper and lower layer relationship and the longitude and latitude of the target grid area; The display module is further used to display the level identification information corresponding to the target score level in the target grid area.
13. An electronic device, It is characterized in that The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the multi-layer based icon display method as described in any one of claims 1-6 is implemented.
14. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the multi-layer based icon display method according to any one of claims 1 to 6 is implemented.
15. A computer program product, It is characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the multi-layer based icon display method as described in any one of claims 1-6.
