Implement basic tile mapping functions.