Defines options for a TileOverlay.
Inherited Constant Summary
Public Constructor Summary
| 
                  
                  TileOverlayOptions()
                   
                    Creates a new set of tile overlay options.
                   | 
Public Method Summary
| TileOverlayOptions | 
                  
                  fadeIn(boolean fadeIn)
                   
                    Specifies whether the tiles should fade in.
                   | 
| boolean | 
                  
                  getFadeIn()
                   
                    Gets whether the tiles should fade in.
                   | 
| TileProvider | 
                  
                  getTileProvider()
                   
                    Gets the tile provider set for this  TileOverlayOptionsobject. | 
| float | 
                  
                  getTransparency()
                   
                    Gets the transparency set for this  TileOverlayOptionsobject. | 
| float | 
                  
                  getZIndex()
                   
                    Gets the zIndex set for this  TileOverlayOptionsobject. | 
| boolean | 
                  
                  isVisible()
                   
                    Gets the visibility setting for this  TileOverlayOptionsobject. | 
| TileOverlayOptions | |
| TileOverlayOptions | 
                  
                  transparency(float transparency)
                   
                    Specifies the transparency of the tile overlay.
                   | 
| TileOverlayOptions | 
                  
                  visible(boolean visible)
                   
                    Specifies the visibility for the tile overlay.
                   | 
| void | 
                  
                  writeToParcel(Parcel out, int
                  flags)
                 | 
| TileOverlayOptions | 
                  
                  zIndex(float zIndex)
                   
                    Specifies the tile overlay's zIndex, i.e., the order in which it will be drawn
                    where overlays with larger values are drawn above those with lower values.
                   | 
Inherited Method Summary
Public Constructors
public TileOverlayOptions ()
Creates a new set of tile overlay options.
Public Methods
public TileOverlayOptions fadeIn (boolean fadeIn)
Specifies whether the tiles should fade in. The default is true.
Returns
- this TileOverlayOptionsobject with a new visibility setting.
public boolean getFadeIn ()
Gets whether the tiles should fade in.
Returns
- trueif the tiles are to fade in;- falseif it is not.
public TileProvider getTileProvider ()
Gets the tile provider set for this TileOverlayOptions
            object.
Returns
- the TileProviderof the tile overlay, ornullif failed to get the provider.
public float getTransparency ()
Gets the transparency set for this TileOverlayOptions
            object.
Returns
- the transparency of the tile overlay.
public float getZIndex ()
Gets the zIndex set for this TileOverlayOptions
            object.
Returns
- the zIndex of the tile overlay.
public boolean isVisible ()
Gets the visibility setting for this TileOverlayOptions
            object.
Returns
- trueif the tile overlay is to be visible;- falseif it is not.
public TileOverlayOptions tileProvider (TileProvider tileProvider)
Specifies the tile provider to use for this tile overlay.
Parameters
| tileProvider | the TileProviderto use for this tile overlay. Must not benull. | 
|---|
Returns
- the object for which the method was called, with the new tile provider set.
public TileOverlayOptions transparency (float transparency)
Specifies the transparency of the tile overlay. The default transparency is
            0 (opaque).
Parameters
| transparency | a float in the range [0..1]where0means that the
                tile overlay is opaque and1means that the tile overlay is
                transparent. | 
|---|
Returns
- this TileOverlayOptionsobject with a new transparency setting.
Throws
| IllegalArgumentException | if the transparency is outside the range [0..1]. | 
|---|
public TileOverlayOptions visible (boolean visible)
Specifies the visibility for the tile overlay. The default visibility is
            true.
Returns
- this TileOverlayOptionsobject with a new visibility setting.
public void writeToParcel (Parcel out, int flags)
public TileOverlayOptions zIndex (float zIndex)
Specifies the tile overlay's zIndex, i.e., the order in which it will be drawn where overlays with larger values are drawn above those with lower values. See the documentation at the top of this class for more information about zIndex.
Returns
- this TileOverlayOptionsobject with a new zIndex set.