Google maps style, shows white grid

1

I'm implementing a custom style on a map of google maps, but when you apply it, the application looks like this:

If I remove the style to the map, it looks perfectly, the code I use is the following:

mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
        MapStyleOptions style = MapStyleOptions.loadRawResourceStyle(Mapa.this, R.raw.estilo_map);
        mMap.setMapStyle(style);

If I leave the variable mMap.setMapStyle (style); as boolean, it tells me to load correctly

I hope you can help me

    
asked by zhet 06.04.2018 в 03:14
source

0 answers