How to hide Google logo from google maps by adding Overlaid image on google maps?

You can achieve it in Android using:

final ViewGroup googleLogo = (ViewGroup) findViewById(R.id.single_map).findViewWithTag(Const.GOOGLE_MAPS_WATERMARK).getParent();
googleLogo.setVisibility(View.GONE);

Where single_map is the instance of SupportMapFragment.


Try to respect the Google Maps Terms of Service

9.4 Attribution.

  • Content provided to you through the Service may contain the Brand Features of Google, its strategic partners, or other third-party rights holders of content that Google indexes. When Google provides those Brand Features or other attribution through the Service, you must display such attribution as provided (or as described in the Maps APIs Documentation) and must not delete or alter the attribution.
  • You must conspicuously display the "powered by Google" attribution (and any other attribution(s) required by Google in the Maps APIs Documentation) on or adjacent to the relevant Service search box and Google search results. If you use the standard Google search control, or the standard Google search control form, this attribution will be included automatically, and you must not modify or obscure this automatically-generated attribution.

Developers don't have the authority to replace the logo even though it's possible.

[UPDATE]

3.2.3 Requirements for Using the Services.

(b) Attribution. Customer will display all attribution that (i) Google provides through the Services (including branding, logos, and copyright and trademark notices); or (ii) is specified in the Maps Service Specific Terms. Customer will not modify, obscure, or delete such attribution.


Simple! I achieved this by doing the following either directly on the fragment or any parent layout.

<RelativeLayout
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:layout_marginBottom="-30dp"
  android:layout_marginTop="-30dp">

   <fragment
      android:id="@+id/map_frag_main"
      android:name="com.google.android.gms.maps.SupportMapFragment"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity" />

</RelativeLayout>

Adding the layout_margin will clip away the Google logo and no need for padding, just make sure you add a drawable or you will be violating TOS. Cheers!


Hiding Google logo from Google map and Google earth images are against terms of usage of Google Maps. So even though there might be a way to do it, it would be illegal. You can found TOS and related rule below.

https://developers.google.com/maps/terms

9.4 Attribution.

Content provided to you through the Service may contain the Brand Features of Google, its strategic partners, or other third-party rights holders of content that Google indexes. When Google provides those Brand Features or other attribution through the Service, you must display such attribution as provided (or as described in the Maps APIs Documentation) and must not delete or alter the attribution.