add getLinkName, getMapLinks (refactoring)