Here are the examples of the java api class com.google.android.gms.maps.model.TileOverlay taken from open source projects.
1. MapFragment#setFloorElementsVisible()
Project: iosched
File: MapFragment.java
File: MapFragment.java
/** * Change the visibility of all Markers and TileOverlays for a floor. */ private void setFloorElementsVisible(int floor, boolean visible) { // Overlays final TileOverlay overlay = mTileOverlays.get(floor); if (overlay != null) { overlay.setVisible(visible); } // Markers final ArrayList<Marker> markers = mMarkersFloor.get(floor); if (markers != null) { for (Marker m : markers) { m.setVisible(visible); } } }