So I have an application that draws line, polyline, circles, etc over an Open Streen Map. I keep a list of drawings, when the map is invalidated I iterate though the list redrawing each item within the onDraw method of an Overlay. This works fine until my drawing count gets around 300+. Then some serious UI delay kicks in.
我期待有效率地做到这一点?
I ve done bitmap cache drawing on a "board" drawing application. Although that will not work for this situation as the projection in the background can change, thus the drawing must move.