cleanup
when size changes make sure we clear the projection
dont create the "loading paint" every time
must be done after
finally got the debug data to paint correctly!
initialize now called with the cacheKey/id as parameter
bug fix in handling the tileJSON
update to go with last commit
refacoring
very important change in the handling of the cacheKey.
We need to know when creating a MapTile for which "cacheKey" it is asked. cachekey can be looked at as the drawn tile layer id. (should we rename it?)
This gets very important when fast switching between mapview sources to make sure we dont load a tile from another source.
A MapTileLayerArray is seen as one source with multiple providers. Thus it gets a single cacheKey (cache key from the first provider)
purgeDiskCache access method