Google Maps plugin not working with Buddypress


I've installed and activated the Google maps plugin. Also activated the Buddypress Profile add-on in Google Maps plugin, but pages not displaying any maps neither on the members page by switching on the option from settings-maps-buddypress profile-Show map in members list, nor on a separate page with the shortcodes. I tried using shortcode [agm_members_map] or [agm_all_profiles_map] on a separate page to display members but no luck the page is blank. Just FYI I've already selected an extended profile field that links to the member's location option in the settings.