add index to map legends
Merge pull request #37 from emirose/add_index_to_map_legends

add index to map legends