Control method, device and processor for avoiding memory leakage of radio Web map trajectory drawing and storage medium
A technology of memory leakage and control method, which is applied in the field of avoiding memory leakage for radio Web map trajectory drawing, can solve problems such as slow program execution, web page crash, and reduced R&D software efficiency, and achieves the effect of avoiding memory leakage.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] In order to describe the technical content of the present invention more clearly, further description will be given below in conjunction with specific embodiments.
[0036] This realization of the present invention is aimed at the control method of radio Web map track drawing and avoids memory leak, and described method comprises the step of drawing map linear track, specifically comprises the following steps:
[0037] (1) Initialize, receive data drawing, draw a linear trajectory every 5 seconds, judge whether the interval between the current time and the last recording time is greater than 5 seconds, if yes, continue to step (2); otherwise, continue to step (1);
[0038] (2) Start recording the number of frames, recorded as itemCount;
[0039] (3) Determine whether the frame number itemCount is less than the total frame number totalitem, if yes, then proceed to step (5); otherwise, proceed to step (4);
[0040] (4) Remove the first point layer feature in the feature ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


