Added batch method to tilemap.