Adding ids to icons and listener to maps.