public class GoogleTilesOverlay
extends com.google.android.maps.Overlay
Modifier and Type | Field and Description |
---|---|
protected android.graphics.Paint |
mPaint |
protected MapTileProviderBase |
mTileProvider
Current tile source
|
Constructor and Description |
---|
GoogleTilesOverlay(MapTileProviderBase aTileProvider,
android.content.Context aContext) |
GoogleTilesOverlay(MapTileProviderBase aTileProvider,
ResourceProxy pResourceProxy) |
Modifier and Type | Method and Description |
---|---|
void |
draw(android.graphics.Canvas c,
com.google.android.maps.MapView osmv,
boolean shadow) |
int |
getMaximumZoomLevel() |
int |
getMinimumZoomLevel() |
void |
setAlpha(int a) |
void |
setUseDataConnection(boolean aMode)
Set whether to use the network connection if it's available.
|
boolean |
useDataConnection()
Whether to use the network connection if it's available.
|
protected final MapTileProviderBase mTileProvider
protected final android.graphics.Paint mPaint
public GoogleTilesOverlay(MapTileProviderBase aTileProvider, android.content.Context aContext)
public GoogleTilesOverlay(MapTileProviderBase aTileProvider, ResourceProxy pResourceProxy)
public void setAlpha(int a)
public int getMinimumZoomLevel()
public int getMaximumZoomLevel()
public boolean useDataConnection()
public void setUseDataConnection(boolean aMode)
aMode
- if true use the network connection if it's available. if false
don't use the network connection even if it's available.public void draw(android.graphics.Canvas c, com.google.android.maps.MapView osmv, boolean shadow)
draw
in class com.google.android.maps.Overlay
Copyright © 2014. All Rights Reserved.