stamen / mapstitch

Stitches map tiles together
MIT License
14 stars 1 forks source link

Canvas pooling #5

Open mojodna opened 11 years ago

mojodna commented 11 years ago

This needs to be done by calling code (since we don't know when canvases are done being used otherwise). To facilitate this, stitch should have canvasFactory(callback) and releaseCanvas(canvas) methods.

There may be issues with Images as well, so we may need corresponding imageFactory(callback) and releaseImage(image) methods.