Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stylize map with google map api2 for Android

Is there a way to stylize map with google map api2 for android? All I need is to make background gray and roads white and turn off some markers like bus stops.

I know it is posible with google javaScript maps api v3. It works like this:

   var pinkParksStyles = [
{
 featureType: "all",
 stylers: [
  { saturation: -80 }
 ]
},
{
 featureType: "poi.park",
 stylers: [
  { hue: "#ff0023" },
  { saturation: 40 }
 ]
}
];

map.setOptions({styles: pinkParksStyles});

https://developers.google.com/maps/documentation/javascript/styling#styling_the_default_map

But I can not find something like this for android.

like image 251
user2227791 Avatar asked Mar 05 '26 04:03

user2227791


1 Answers

Styled maps are not currently supported for the Google Maps Android API

like image 198
jlivni Avatar answered Mar 06 '26 18:03

jlivni



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!