Google static maps API with no labels?

6k views Asked by At

I am using Google static maps to get a image (to display in a ImageView) in Android. Here is how I get the Image:

https://maps.googleapis.com/maps/api/staticmap?center=New+york,NY&zoom=13&size=300x200&maptype=roadmap%20&markers=color:red%7CNew+york,NY

Which generates this image:

However, I want to get rid of the "Google" and "Map data @2016 Google", and also places like "Brookfield Place" and "New York Stock Exchange".

You can remove all labels with style=feature:all|element:labels|visibility:off like this:

https://maps.googleapis.com/maps/api/staticmap?center=New+york,NY&zoom=13&size=300x200&maptype=roadmap%20&markers=color:red%7CNew+york,NY&format=png&style=feature:all|element:labels|visibility:off

But that removes everything except the labels at bottom of the photo.

EDIT:

I found out how to get rid of so called "Point of interest(s)" but the two bottom labels are still there.

https://maps.googleapis.com/maps/api/staticmap?center=New+york,NY&zoom=13&size=300x200&maptype=roadmap%20&markers=color:red%7CNew+york,NY&format=png&style=feature:poi|element:labels|visibility:off

enter image description here

Is it even possible to remove them?

1

There are 1 answers