Map renderer resources management refactor