More work on creating a local store of map tiles.

More work on creating a local store of map tiles.