java.lang.Object | |
↳ | com.amazon.geo.mapsv2.model.TileOverlayOptions |
An object for defining the initial options for a TileOverlay
object.
Use this to define all the properties of a TileOverlay
before calling
the addTileOverlay(TileOverlayOptions)
method to add the
TileOverlay
to the map.
Modifying TileOverlayOptions
after the TileOverlay
has been
added to the map has no effect on the appearance of the TileOverlay
.
TileOverlayOptions
methods do not need to be called on the main
thread.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
TileOverlayOptions object with default values. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets whether tiles for the new
TileOverlay should fade in or
display instantly with no fade effect. | |||||||||||
Retrieves a boolean value indicating whether the tiles for the new
TileOverlay should fade in. | |||||||||||
Gets the
TileProvider to use for the new TileOverlay . | |||||||||||
Gets the z-index to use for the new
TileOverlay . | |||||||||||
Retrieves a boolean value indicating whether the new
TileOverlay
is visible or hidden. | |||||||||||
Sets the
TileProvider to use for the new TileOverlay . | |||||||||||
Sets the visibility to use for the new
TileOverlay . | |||||||||||
Sets the z-index to use for the new the
TileOverlay . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new TileOverlayOptions
object with default values.
Sets whether tiles for the new TileOverlay
should fade in or
display instantly with no fade effect.
fadeIn | true to fade in the tiles, or false to
display the tiles instantly with no fade effect. |
---|
TileOverlayOptions
object.
Retrieves a boolean value indicating whether the tiles for the new
TileOverlay
should fade in.
true
to fade in the tiles, or false
to display
the tiles instantly with no fade effect.
Gets the TileProvider
to use for the new TileOverlay
.
This is the provider set with tileProvider(TileProvider)
.
TileProvider
set for the new TileOverlay
Gets the z-index to use for the new TileOverlay
. See
zIndex(float)
for more information about the z-index.
Retrieves a boolean value indicating whether the new TileOverlay
is visible or hidden.
true
if the TileOverlay
is visible, or
false
if it is invisible.
Sets the TileProvider
to use for the new TileOverlay
.
tileProvider | The TileProvider to use for this tile
overlay. |
---|
TileOverlayOptions
object.
Sets the visibility to use for the new TileOverlay
. The default
value is true
.
visible | true to make the TileOverlay visible, or
false to make it invisible. |
---|
TileOverlayOptions
object.
Sets the z-index to use for the new the TileOverlay
. Z-index
determines the order in which overlays are drawn. Overlays with higher
indices are drawn over overlays with lower indices. Overlays with the
same z-index are drawn in an arbitrary order.
Overlays that are affected by z-index include GroundOverlay
,
TileOverlay
, Circle
, Polyline
, and
Polygon
.
Marker
overlays are not affected by the z-index of other
overlays.
The default value is zero.
zIndex | The z-index for the new TileOverlay . |
---|
TileOverlayOptions
object.