map functionality added to pages