The application discloses a large-scale two-dimensional
label map aggregation node optimization method, relates to the technical field of computers, and comprises the following steps: when a map interactive operation or
label node data changes, the
zoom level and the
viewport range of a current prompt map are acquired; based on the
viewport range, target
label nodes in the
viewport range are screened from the label node data; according to the
zoom level, the basic aggregation parameters for label node aggregation are determined; and combined with the node density of the target label nodes in the viewport range, the basic aggregation parameters are dynamically adjusted to obtain the aggregation parameters for the current viewport range. The large-scale two-dimensional label map aggregation node optimization method significantly reduces the memory occupation and the calculation burden caused by repeated creation of node objects, improves the overall operation stability and the
resource utilization efficiency of the
system, and thus better meets the comprehensive requirements of performance, real-time performance and display effect of a large-scale two-dimensional label map application scene.