com.google.gwt.maps.client.overlay
Class TileLayerOverlay
java.lang.Object
com.google.gwt.maps.client.overlay.Overlay
com.google.gwt.maps.client.overlay.Overlay.ConcreteOverlay
com.google.gwt.maps.client.overlay.TileLayerOverlay
public class TileLayerOverlay
- extends Overlay.ConcreteOverlay
A TileLayerOverlay augments the map with a TileLayer
. It implements
the Overlay
interface and is added to the map using the
MapWidget.addOverlay(Overlay)
method. The
TileLayer is presented on top of the existing map imagery. To replace the
imagery instead, put the TileLayer inside a custom
MapType
.
Fields inherited from class com.google.gwt.maps.client.overlay.Overlay |
jsoPeer |
Methods inherited from class com.google.gwt.maps.client.overlay.Overlay |
getZIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TileLayerOverlay
public TileLayerOverlay(TileLayer tileLayer)
- Creates a tile layer overlay from the given tile layer.
- Parameters:
tileLayer
-
createPeer
public static TileLayerOverlay createPeer(com.google.gwt.core.client.JavaScriptObject jso)
getTileLayer
public TileLayer getTileLayer()
- Gets the tile layer used by this overlay.
- Returns:
- the tile layer used by this overlay
setVisible
public void setVisible(boolean visible)
- Shows or hides this overlay.
- Parameters:
visible
- true
to show the overlay, false
to hide.