now there is a big performance bottleneck due to the business and its dependence on google map JS API,.
the blue lines in the figure are drawn using the google poline method.
the performance of poline makes sense when there are only a few hundred nodes, and it takes about 400ms to draw a console.time test at a time.
but thousands of tens of thousands of nodes can feel obvious stutters, drawing at least 4-8 seconds at a time.
due to business needs, the blue line in the figure often needs to be redrawn, so repeated drawing of thousands of nodes has a great impact on the experience.
is there any good way to improve the performance of google map?