本文整理汇总了Java中com.mapbox.mapboxsdk.tileprovider.MapTileLayerBase类的典型用法代码示例。如果您正苦于以下问题:Java MapTileLayerBase类的具体用法?Java MapTileLayerBase怎么用?Java MapTileLayerBase使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MapTileLayerBase类属于com.mapbox.mapboxsdk.tileprovider包,在下文中一共展示了MapTileLayerBase类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: TilesOverlay
import com.mapbox.mapboxsdk.tileprovider.MapTileLayerBase; //导入依赖的package包/类
public TilesOverlay(final MapTileLayerBase aTileProvider) {
super();
if (aTileProvider == null) {
throw new IllegalArgumentException("You must pass a valid tile provider to the tiles overlay.");
}
this.mTileProvider = aTileProvider;
if (UtilConstants.DEBUGMODE) {
getDebugPaint();
}
mLoadingPaint = new Paint();
mLoadingPaint.setAntiAlias(true);
mLoadingPaint.setFilterBitmap(true);
mLoadingPaint.setColor(mLoadingLineColor);
mLoadingPaint.setStrokeWidth(0);
mNuberOfTiles = 0;
}
示例2: TilesOverlay
import com.mapbox.mapboxsdk.tileprovider.MapTileLayerBase; //导入依赖的package包/类
public TilesOverlay(final MapTileLayerBase aTileProvider) {
super();
if (aTileProvider == null) {
throw new IllegalArgumentException("You must pass a valid tile provider to the tiles overlay.");
}
this.mTileProvider = aTileProvider;
if (UtilConstants.DEBUGMODE) {
getDebugPaint();
}
mLoadingPaint = new Paint();
mLoadingPaint.setAntiAlias(true);
mLoadingPaint.setFilterBitmap(true);
mLoadingPaint.setColor(mLoadingLineColor);
mLoadingPaint.setStrokeWidth(0);
}
示例3: MapView
import com.mapbox.mapboxsdk.tileprovider.MapTileLayerBase; //导入依赖的package包/类
protected MapView(Context aContext, int tileSizePixels, MapTileLayerBase aTileProvider) {
this(aContext, tileSizePixels, aTileProvider, null, null);
}
示例4: getTileProvider
import com.mapbox.mapboxsdk.tileprovider.MapTileLayerBase; //导入依赖的package包/类
public MapTileLayerBase getTileProvider() {
return mTileProvider;
}