public class CloudLayerView extends AbstractTileLayerView
云图层视图,作为地图视图的子项添加到 MapView
中显示。 云图层视图用于显示 SuperMap云服务提供的地图图层,常作为底图使用。
addToNetworkDownload, context, crs, curMapUrl, dpi, isGCSLayer, isLayerInited, layerBounds, layerCacheFileName, layerName, mapView, projection, resolutions, tileCount, totalTileCount, visible, visibleScales, zoomLevel
构造器和说明 |
---|
CloudLayerView(Context context)
构造函数。
|
CloudLayerView(Context context, AttributeSet attrs)
构造函数。
|
CloudLayerView(Context context, AttributeSet attrs, int defStyle)
构造函数。
|
限定符和类型 | 方法和说明 |
---|---|
void |
initTileContext(Tile tile)
初始化tile瓦片。
|
void |
setBaseUrl(java.lang.String url)
设置云图层瓦片的根路径地址,如"http://t1.supermapcloud.com/FileService/image"
|
void |
setDebug(boolean debug) |
asyncGetTilesFromCache, buildTile, clearCache, destroy, getBounds, getCRS, getMapView, getResolutionIndex, getResolutions, getScales, getTileCacher, getURL, getZoomLevel, initProjection, isGCSLayer, isInitialized, isVisible, onDraw, setCRS, setLayerCacheFileName, setOpaqueRate, setURL, setVisible, validateZoomLevel
public CloudLayerView(Context context)
构造函数。
context
- Activity的上下文。public CloudLayerView(Context context, AttributeSet attrs)
构造函数。
context
- Activity的上下文。attrs
- 属性信息。public CloudLayerView(Context context, AttributeSet attrs, int defStyle)
构造函数。
context
- Activity的上下文。attrs
- 属性信息。defStyle
- 风格标识。public void initTileContext(Tile tile)
初始化tile瓦片。
initTileContext
在类中 AbstractTileLayerView
tile
- 瓦片。public void setBaseUrl(java.lang.String url)
设置云图层瓦片的根路径地址,如"http://t1.supermapcloud.com/FileService/image"
url
- 根路径地址public void setDebug(boolean debug)