The OsmTileMap uses shared_ptrs. Added functionality to retire tiles from the memory cache after it reaches a certain size.