Added functions to support XYZ data tiles

Needs much cleanup.  Using a proxy since Canvas can't render cross
domain images.