refactor maptile data