TileOverlay class
January 28, 2020 ยท View on GitHub
this.map.addTileOverlay(options: TileOverlayOptions).then((tileOverlay: TileOverlay) => {
});
API Reference
Instance methods
-
getId()
Returns the ID of instance.
:arrow_right: Returns
string -
getMap()
Return the map instance.
:arrow_right: Returns GoogleMap instance.
-
setFadeIn(fadeIn)
Set whether the tiles should fade in.
Params Type Details fadeIn boolean true or false -
getFadeIn()
Get whether the tiles should fade in
:arrow_right: Returns
boolean. -
setOpacity(opacity)
Changes the opacity of the tile overlay from 0.0 to 1.0
Params Type Details opacity number from 0.0 to 1.0 -
getOpacity()
Returns the current opacity
:arrow_right: Returns
number. -
setVisible(clickable)
Set tile overlay visibility
Params Type Details visible boolean true or false -
getVisible()
Returns true if the tile overlay is visible.
:arrow_right: Returns
boolean. -
setZIndex(index)
Changes the tile overlay zIndex order.
Params Type Details index number z-index -
getZIndex()
Returns the current tile overlay zIndex.
:arrow_right: Returns
number.getTileSize()
Get tile size
:arrow_right: Returns
number. -
remove()
Remove the tile overlay.