Remove directions function in google maps

I have the Google Maps plug in installed on my buddy press site. On the site's members page, the info pop up includes a link to get directions. I need to remove this option.