Base map element generation method and device, electronic equipment and storage medium
By pre-setting background map configuration information and listening to user touch operations, background map elements are generated and updated, solving the problems of long rendering wait time and low interaction efficiency, and achieving efficient display of background map elements and user interaction.
Patent Information
- Application Number
- CN202310513110.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-08
- Publication Date
- 2024-11-08
AI Technical Summary
Existing technologies suffer from long rendering times and low user interaction efficiency when generating base map elements, resulting in unsmooth map display.
The base map area page is generated by pre-setting base map configuration information, and the target base map element display template is determined based on the base map element details data. The base map elements are directly rendered and generated, reducing waiting time. At the same time, user touch operations are monitored to update rendering and optimize display, improving interaction efficiency.
It improves the efficiency of base map rendering, ensures smooth interaction between users and the map terminal, and enhances the visual experience and rendering efficiency.
Smart Images

Figure CN118915946A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing technology, in particular to map data display technology, and specifically to a base map element generation method, device, electronic device, storage medium and computer program product. Background Art
[0002] A map is usually a geographic, geopolitical, or geological representation of the Earth's surface in a simple, visual way. A map contains different data layers that contain geographic information used as a background, called a basemap. The basemap provides context for other layers that are overlaid on a reference map. It often provides location references for features such as borders, rivers, lakes, roads, and highways. Summary of the invention
[0003] The present disclosure provides a method, device, electronic device, storage medium and computer program product for generating a base map element.
[0004] According to one aspect of the present disclosure, a method for generating a base map element is provided, comprising:
[0005] In response to the touch operation of entering the target page, generating a base map area page according to preset base map configuration information;
[0006] Acquire detailed data of the base map element to be displayed, and determine a target base map element display template from a preset base map element display template set according to the detailed data of the base map element;
[0007] Based on the target base map element display template, a target base map element is generated and displayed on the base map area page.
[0008] According to another aspect of the present disclosure, there is provided a base map element generating device, comprising:
[0009] The area generation module is used to generate a base map area page according to preset base map configuration information in response to a touch operation of entering a target page;
[0010] A template determination module, used for acquiring detailed data of the base map element to be displayed, and determining a target base map element display template from a preset base map element display template set according to the detailed data of the base map element;
[0011] The base map element generation module is used to generate the target base map element based on the target base map element display template, and display it on the base map area page.
[0012] According to another aspect of the present disclosure, there is provided an electronic device, comprising:
[0013] at least one processor; and
[0014] a memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the base map element generation method described in any embodiment of the present disclosure.
[0016] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the base map element generation method described in any embodiment of the present disclosure.
[0017] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method for generating a base map element according to any embodiment of the present disclosure is implemented.
[0018] According to the technology disclosed in the present invention, the efficiency of base map rendering can be improved.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0021] Figure 1 is a flowchart of a method for generating a base map element according to an embodiment of the present disclosure;
[0022] Figure 2 is a flowchart of another method for generating base map elements according to an embodiment of the present disclosure;
[0023] Figure 3 is a flowchart of another method for generating base map elements according to an embodiment of the present disclosure;
[0024] Figure 4 is a schematic diagram of a base map element generating device according to an embodiment of the present disclosure;
[0025] Figure 5 It is a block diagram of an electronic device used to implement the base map element generation method of the embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0027] Figure 1 1 is a flow chart of a method for generating a base map element according to an embodiment of the present disclosure. This embodiment can be applied to theme maps or DIY map scenarios. The method can be executed by a base map element generating device, which is implemented in software and / or hardware, and is preferably configured in an electronic device, such as a computer device or a server. Figure 1 As shown, the method specifically includes the following:
[0028] S101 . In response to a touch operation of entering a target page, a base map area page is generated according to preset base map configuration information.
[0029] In this embodiment, the target page may be an application page corresponding to a function in a theme map or a DIY map. The user may enter the target page by triggering the corresponding function control. Entering the target page requires initializing the target page. In the process of initializing the target page, the generation of the base map area page and the generation of the base map elements are realized. The preset base map configuration information may include at least one of the following information: map level, type (e.g., 2D or 3D), positioning center point, and area range. When the target page is initialized, the configuration and status value of the base map may be directly set according to the preset map configuration information, so as to generate a base map area page with rich information. It should be noted that directly rendering and generating the corresponding base map area page according to the preset base map configuration information, without waiting until all data is ready for rendering and display, can reduce rendering waiting time and improve rendering efficiency.
[0030] S102: Acquire detailed data of a base map element to be displayed, and determine a target base map element display template from a preset base map element display template set according to the detailed data of the base map element.
[0031] In this embodiment, since the base map area page includes many base map elements that need to be displayed, after the base map area page is generated, it is necessary to obtain the base map element detail data corresponding to the real base map elements existing in the base map area page, wherein the base map element detail data can be the detail data of a point of interest, and can include data such as the location, name, text details or picture introduction of the point of interest, and can also include other data. It should be noted that the base map element detail data to be displayed can be obtained by requesting the corresponding data interface while entering the target page.
[0032] In this embodiment, in order to display the base map elements, a variety of base map element display templates are determined in advance according to the actual product needs, wherein the base map element display template may include the display style of the base map elements, the fields to be displayed, and other information. On this basis, the target base map element display template is determined from the preset base map element display template set according to the base map element detail data, including: cleaning the base map element detail data, that is, deleting the redundant data in the base map element detail data; then traversing the cleaned base map element detail data, and each time a base map element detail data is traversed, the base map element detail data is matched with the field data corresponding to the base map element display template; and the target base map element display template is determined according to the matching result. In this way, different base map element display templates are selected by driving the base map element detail data, thereby improving the efficiency of determining the base map element display template.
[0033] S103: Generate a target base map element based on the target base map element display template, and display it on the base map area page.
[0034] In this embodiment, after determining the target base map element display template through S102, the corresponding base map element detail data is added to the target base map element display template for rendering and display, thereby generating the target base map element; wherein the target base map element may be a base map bubble with detail information.
[0035] In this embodiment, when the target page is initialized, a base map area page is generated according to the preset base map configuration information. There is no need to wait until all data is prepared before rendering the base map, which can reduce the rendering waiting time. Moreover, the acquired base map element detail data can be used to drive the selection of the display template, thereby improving the efficiency of determining the base map element display template, thereby ensuring the efficiency of the base map element rendering generation.
[0036] Figure 2 FIG. 1 is a flow chart of another method for generating base map elements according to an embodiment of the present disclosure. Figure 2 As shown, the method specifically includes the following:
[0037] S201 . In response to a touch operation of entering a target page, a base map area page is generated according to preset base map configuration information.
[0038] S202: Acquire detailed data of a base map element to be displayed, and determine a target base map element display template from a preset base map element display template set according to the detailed data of the base map element.
[0039] S203: Generate a target base map element based on the target base map element display template, and display it on the base map area page.
[0040] For detailed description of S201-S203, please refer to the above embodiment, which will not be repeated here. In this embodiment, after the base map element is generated, the user can interact with the map terminal by touching the base map element or the base map page. For the specific interaction process, please refer to step S204.
[0041] S204: In response to the monitored base map touch operation, render and update the base map elements on the base map area page or render and update the base map area page.
[0042] In this embodiment, in order to realize the monitoring of the base map touch operation, it is necessary to initialize the base map monitoring function during the page initialization process, that is, to start the base map monitoring function. The base map monitoring function can be used to determine the user's touch operation on the base map, and then realize the corresponding interaction. In an optional implementation, the base map touch operation includes a click operation of clicking on the base map element. Since clicking on a certain base map element will not change the base map page, it only jumps to other functional scenes of the same base map. At this time, the base map elements corresponding to the new scene need to be rendered and displayed. On this basis, the base map elements on the base map area page are rendered and updated, including: first, according to the click operation, jump to the target scene, and obtain the base map element details data under the target scene, for example, by requesting the corresponding data interface. Further, according to the base map element details data under the target scene, the corresponding base map element display template is determined. Optionally, the base map element detail data is first cleaned; the cleaned base map element detail data is traversed, and each time a base map element detail data is traversed, the base map element detail data is matched with the field data corresponding to the base map element display template; according to the matching result, the corresponding base map element display template is determined. Finally, based on the determined base map element display template, the base map element in the target scene is rendered and generated. In this way, the effect of user interaction by clicking is achieved.
[0043] In an optional embodiment, the base map touch operation includes a moving operation of moving the base map area page; the moving operation causes the base map page to change, and the base map area page needs to be updated. Optionally, the base map area page is rendered and updated, including: first, based on the position after the image is moved and the preset base map configuration information, a new base map area page is generated; based on the base map element detail data corresponding to the new base map area page, the corresponding base map element display template is determined; the specific determination process can be found in the above description, which will not be repeated here. Finally, based on the base map element display template, the corresponding base map element is generated and displayed in the new base map area page. Thereby, the effect of user interaction through image movement is achieved.
[0044] The disclosed embodiment scheme realizes the user interaction demand by monitoring the base map touch operation, and can ensure that the user can interact smoothly with the map terminal.
[0045] Figure 3 FIG. 1 is a flow chart of another method for generating base map elements according to an embodiment of the present disclosure. Figure 3 As shown, the method specifically includes the following:
[0046] S301 . In response to a touch operation of entering a target page, a base map area page is generated according to preset base map configuration information.
[0047] S302: Acquire detailed data of the base map element to be displayed, and determine a target base map element display template from a preset base map element display template set according to the detailed data of the base map element.
[0048] S303: Generate a target base map element based on the target base map element display template, and display it on the base map area page.
[0049] S304: In response to the monitored base map touch operation, render and update the base map elements on the base map area page or render and update the base map area page.
[0050] In this embodiment, during the interaction process, there may be at least two base map elements that are too close to each other. If each base map element is displayed, the interface display will be confusing. Based on this, the displayed base map elements can also be optimized, as shown in S305.
[0051] S305. In the background map area page, if the distance between at least two background map bubbles is smaller than a preset threshold, the background map elements with a low collision priority are hidden according to the collision priority of the background map elements.
[0052] In this embodiment, a collision priority is set for each base map element in advance. If the distance between at least two base map bubbles is less than a preset threshold, for example, the user reduces the base map page so that the distance between base map elements is less than the preset threshold, then according to the collision priority of the base map elements, the base map elements with low collision priority are hidden. In addition, if the user enlarges the base map page so that the distance between base map elements is greater than the preset threshold, the hidden base map elements can be displayed.
[0053] In this embodiment, the background map elements may be hidden or displayed according to the distance thereto, thereby ensuring that the background map elements displayed to the user are clear and concise, thereby improving the user's visual experience.
[0054] Figure 4 1 is a schematic diagram of the structure of a base map element generation device according to an embodiment of the present disclosure. This embodiment can be applied to theme maps or DIY map scenes. The device can implement the base map element generation method described in any embodiment of the present disclosure. Figure 4 As shown, the device 400 specifically includes:
[0055] The area generation module 401 is used to generate a base map area page according to preset base map configuration information in response to a touch operation of entering a target page;
[0056] The template determination module 402 is used to obtain the base map element detail data to be displayed, and determine the target base map element display template from a preset base map element display template set according to the base map element detail data;
[0057] The base map element generation module 403 is used to generate a target base map element based on the target base map element display template, and display it on the base map area page.
[0058] In some embodiments, optionally, the template determination module includes:
[0059] A cleaning unit, used for cleaning the base map element detail data;
[0060] A traversal matching unit is used to traverse the cleaned base map element detail data, and each time a base map element detail data is traversed, the base map element detail data is matched with the field data corresponding to the base map element display template;
[0061] The determination unit is used to determine the target base map element display template according to the matching result.
[0062] In some embodiments, optionally, the method further includes:
[0063] The interaction module is used to render and update the base map elements on the base map area page or render and update the base map area page in response to the monitored base map touch operation.
[0064] In some embodiments, optionally, the base map touch operation includes a click operation of clicking a base map element;
[0065] The interaction module is also used for:
[0066] According to the click operation, jump to the target scene and obtain the detailed data of the base map elements in the target scene;
[0067] Determine a corresponding base map element display template according to the base map element detail data under the target scene;
[0068] Based on the determined base map element display template, the base map elements in the target scene are rendered and generated.
[0069] In some embodiments, optionally, the base map touch operation includes a map moving operation of moving the base map area page;
[0070] The interaction module is also used for:
[0071] Generate a new base map area page based on the location of the moved map and the preset base map configuration information;
[0072] Determine the corresponding base map element display template according to the base map element detail data corresponding to the new base map area page;
[0073] Based on the basemap element display template, the corresponding basemap elements are generated and displayed in the new basemap area page.
[0074] In some embodiments, optionally, the method further includes:
[0075] The collision display module is used to hide the background map elements with low collision priority according to the collision priority of the background map elements if the distance between at least two background map bubbles is less than a preset threshold in the background map area page.
[0076] The above-mentioned product can execute the method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0077] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0078] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0079] Figure 5A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0080] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0081] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0082] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the base map element generation method. For example, in some embodiments, the base map element generation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the base map element generation method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the base map element generation method by any other appropriate means (e.g., by means of firmware).
[0083] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0084] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0085] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0086] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0087] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0088] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services. The server may also be a server of a distributed system, or a server combined with a blockchain.
[0089] Artificial intelligence is a discipline that studies how to use computers to simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.). It includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, machine learning / deep learning technology, big data processing technology, knowledge graph technology, and other major directions.
[0090] Cloud computing refers to a technology system that uses network access to elastically scalable shared physical or virtual resource pools. Resources can include servers, operating systems, networks, software, applications, and storage devices, and can be deployed and managed on demand and in a self-service manner. Cloud computing technology can provide efficient and powerful data processing capabilities for technical applications such as artificial intelligence and blockchain, as well as model training.
[0091] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions provided by this disclosure can be achieved, and this document does not limit this.
[0092] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for generating a base map element, comprising: In response to the touch operation of entering the target page, generating a base map area page according to preset base map configuration information; Acquire detailed data of the base map element to be displayed, and determine a target base map element display template from a preset base map element display template set according to the detailed data of the base map element; Based on the target base map element display template, a target base map element is generated and displayed on the base map area page.
2. The method according to claim 1, wherein: Determining a target base map element display template from a preset base map element display template set according to the base map element detail data includes: Cleaning the base map element detail data; Traverse the cleaned base map element detail data, and each time a base map element detail data is traversed, match the base map element detail data with the field data corresponding to the base map element display template; According to the matching results, the target basemap element display template is determined.
3. The method according to claim 1, further comprising: In response to the monitored base map touch operation, the base map elements on the base map area page are rendered and updated or the base map area page is rendered and updated.
4. The method according to claim 3, wherein: The base map touch operation includes a click operation of clicking a base map element; Rendering and updating the base map elements on the base map area page includes: According to the click operation, jump to the target scene and obtain the detailed data of the base map elements in the target scene; Determine a corresponding base map element display template according to the base map element detail data under the target scene; Based on the determined base map element display template, the base map elements in the target scene are rendered and generated.
5. The method according to claim 3, wherein: The base map touch operation includes a map moving operation for moving the base map area page; The base map area page is rendered and updated, including: Generate a new base map area page based on the location of the moved map and the preset base map configuration information; Determine the corresponding base map element display template according to the base map element detail data corresponding to the new base map area page; Based on the basemap element display template, the corresponding basemap elements are generated and displayed in the new basemap area page.
6. The method according to claim 4 or 5, further comprising: In the base map area page, if the distance between at least two base map bubbles is less than a preset threshold, the base map elements with a low collision priority are hidden according to the collision priority of the base map elements.
7. A base map element generating device, comprising: The area generation module is used to generate a base map area page according to preset base map configuration information in response to a touch operation of entering a target page; A template determination module, used for acquiring detailed data of the base map element to be displayed, and determining a target base map element display template from a preset base map element display template set according to the detailed data of the base map element; The base map element generation module is used to generate the target base map element based on the target base map element display template, and display it on the base map area page.
8. The device according to claim 7, wherein: The template determination module comprises: A cleaning unit, used for cleaning the base map element detail data; A traversal matching unit is used to traverse the cleaned base map element detail data, and each time a base map element detail data is traversed, the base map element detail data is matched with the field data corresponding to the base map element display template; The determination unit is used to determine the target base map element display template according to the matching result.
9. The apparatus according to claim 7, further comprising: The interaction module is used to render and update the base map elements on the base map area page or render and update the base map area page in response to the monitored base map touch operation.
10. The device according to claim 9, wherein: The base map touch operation includes a click operation of clicking a base map element; The interaction module is also used for: According to the click operation, jump to the target scene and obtain the detailed data of the base map elements in the target scene; Determine a corresponding base map element display template according to the base map element detail data under the target scene; Based on the determined base map element display template, the base map elements in the target scene are rendered and generated.
11. The device according to claim 9, wherein: The base map touch operation includes a map moving operation for moving the base map area page; The interaction module is also used for: Generate a new base map area page based on the location of the moved map and the preset base map configuration information; Determine the corresponding base map element display template according to the base map element detail data corresponding to the new base map area page; Based on the basemap element display template, the corresponding basemap elements are generated and displayed in the new basemap area page.
12. The device according to claim 10 or 11, further comprising: The collision display module is used to hide the background map elements with low collision priority according to the collision priority of the background map elements if the distance between at least two background map bubbles is less than a preset threshold in the background map area page.
13. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the base map element generation method according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to enable a computer to execute the base map element generation method according to any one of claims 1-6.
15. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the base map element generation method according to any one of claims 1 to 6.
