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

Saritha G

I am adding Bitmap image on Google maps using GroundOverlayOptions, that image will be overlaid on the Google maps.

Below is my code.

 @Override
public void onLocationChanged(Location location) {

    TextView tvLocation = (TextView) findViewById(R.id.tv_location);
    location = generateRandomLoc(location, 0);
    double latitude = location.getLatitude();
    double longitude = location.getLongitude();
    LatLng latLng = new LatLng(latitude, longitude);

    //Setting padding to hide google logo
    mapView.setPadding(-10,0,0,0);

    CameraPosition cameraPosition = new CameraPosition.Builder().target(latLng).build();
    mapView.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition));
    mapView.moveCamera(CameraUpdateFactory.newLatLng(latLng));
    //get camera position frm map view
    LatLng cameraPosLatLng = mapView.getCameraPosition().target;
    if (isFlag) {
        BitmapDescriptor image = BitmapDescriptorFactory.fromResource(R.drawable.overlay_pink_image);
        mapView.addGroundOverlay(new GroundOverlayOptions()
                .image(image).position(latLng, 458, 274)
                .transparency(0.5f));
        mapView.animateCamera(CameraUpdateFactory.zoomTo(17));
    }
    if (cirle != null) {
        cirle.remove();
    }
    cirle = mapView.addCircle(new CircleOptions().center(cameraPosLatLng).strokeColor(Color.GREEN).fillColor(Color.GREEN).radius(0.7));
}

I am trying to hide Google logo from the MapView by setting padding, but That logo won't be hidden from the MapView. When I set -10 padding at left or bottom that 10% of view will be disabled. But in case of map view, this may be different. If I set padding(50,0,0,0); that logo will be placed at right. How can I disable or hide the logo of Google on Google maps.

Any help would be appreciated.

Anoop M

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Google maps Google logo

From Dev

Adding image in infowindow of Google Maps?

From Dev

How to hide the Sign in button from Google maps?

From Dev

Exclude overlaid element from Google Maps viewport bounds

From Dev

adding InfoWindow in Google Maps

From Dev

change color of Google logo on maps

From Dev

Google Maps Marker Show/hide

From Dev

Possible to hide POIs on Google Maps?

From Dev

Hide vertical scrollbar with google maps

From Dev

Google Maps - Hide destination marker

From Dev

Tile generator from an image to Android Google Maps

From Dev

Retrieve image from Google Maps in iOS

From Dev

Tile generator from an image to Android Google Maps

From Dev

Android Google Maps Overlay image from URL

From Dev

How to get static image from google maps in iOS

From Dev

Adding Google Maps API to AngularJS

From Dev

adding custom marker to Google Maps

From Dev

NullPointerException from Google maps

From Dev

How to add a background image to google maps markers?

From Dev

Google Maps How to add Image into InfoWindow

From Dev

How to pan on google maps?

From Dev

Adding a marker image to Google Maps on IOS Objective-C app

From Dev

How do I create a dark Google Maps image for Google Glass?

From Dev

How do I create a dark Google Maps image for Google Glass?

From Dev

Google maps. Blank Image

From Dev

How to fully disable streetview from google maps

From Dev

How to extend google maps from Dart

From Dev

How to Open Google Maps from Webview click

From Dev

How to create AutoCompleteTextView with suggestions from Google maps?