refactor tilemap xml format index count.
Merge pull request #5385 from boyu0/refactor_tilemap_xml_format_index

refactor tilemap xml format index count.