Skip to content Skip to sidebar Skip to footer

Improving Performance On Google Maps Drawing Long Paths

This question is different than this another one So, I have been observed the native google maps app when it draw long ways on the map. When the zoom is too far, the lines are not

Solution 1:

Google Maps is probably a bitmap of that path generated by the server. A new one for every zoom level.

You can do something similar but it's quite some work. But it should be faster to generate a transparent bitmap once instead of drawing the path each time the view needs to refresh. You can also draw a path with reduced details if you simply skip some points but finding an algorithm that does not skip the important parts is quite tricky.

Post a Comment for "Improving Performance On Google Maps Drawing Long Paths"