Add tile mapping functionality