How to display overlay on my Android GoogleMap (V2) above the road level?

I have my own offline map data in my application, but only for a small region. Now I would like to overlay this data on my Google V2 map. This is already working. The only thing that is not there right now is that it GoogleMapsstill overlays road names / city names over my plates.

Is it possible to display a Google V2 map in Android with MAP_TYPE_NORMALand overlay custom tiles over roads?

TileOverlay overlay = map.addTileOverlay(new
TileOverlayOptions().tileProvider(provider).zIndex(2000));

ZIndex doesn't seem to help me here.

+3
source share
2 answers

I think there is no way to display your tile layer above the road names / city names.

- ? .

+2

https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/model/TileOverlay

:

GoogleMap map; // ... get a map.
TileProvider tileProvider; // ... create a tile provider.
 TileOverlay tileOverlay = map.addTileOverlay(
 new TileOverlayOptions().tileProvider(tileProvider));

, .

+1

All Articles