You need to follow the Google Maps API Terms of Service
https://developers.google.com/maps/terms
Additionally, you MUST include the license attribution text as part of a "Legal Notices" section in your application. Including legal notices as an independent menu item, or as part of an "About" menu item, is recommended.
This is required by
The strings of the terms of services is able to obtain using map.getLicenseInfo()