Java Code Examples for org.osmdroid.tileprovider.tilesource.ITileSource#getMaximumZoomLevel()

The following examples show how to use org.osmdroid.tileprovider.tilesource.ITileSource#getMaximumZoomLevel() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SafeMapTileFilesystemProvider.java    From android_frameworks_mapsv1 with Apache License 2.0 4 votes vote down vote up
@Override
public int getMaximumZoomLevel() {
	ITileSource tileSource = mTileSource.get();
	return tileSource != null ? tileSource.getMaximumZoomLevel()
			: microsoft.mappoint.TileSystem.getMaximumZoomLevel();
}
 
Example 2
Source File: MapTileAssetsProvider.java    From osmdroid with Apache License 2.0 4 votes vote down vote up
@Override
public int getMaximumZoomLevel() {
	ITileSource tileSource = mTileSource.get();
	return tileSource != null ? tileSource.getMaximumZoomLevel()
			: org.osmdroid.util.TileSystem.getMaximumZoomLevel();
}
 
Example 3
Source File: MapTileFilesystemProvider.java    From osmdroid with Apache License 2.0 4 votes vote down vote up
@Override
public int getMaximumZoomLevel() {
	ITileSource tileSource = mTileSource.get();
	return tileSource != null ? tileSource.getMaximumZoomLevel()
			: org.osmdroid.util.TileSystem.getMaximumZoomLevel();
}
 
Example 4
Source File: MapTileSqlCacheProvider.java    From osmdroid with Apache License 2.0 4 votes vote down vote up
@Override
public int getMaximumZoomLevel() {
    ITileSource tileSource = mTileSource.get();
    return tileSource != null ? tileSource.getMaximumZoomLevel()
            : org.osmdroid.util.TileSystem.getMaximumZoomLevel();
}
 
Example 5
Source File: MapTileFileArchiveProvider.java    From osmdroid with Apache License 2.0 4 votes vote down vote up
@Override
public int getMaximumZoomLevel() {
	ITileSource tileSource = mTileSource.get();
	return tileSource != null ? tileSource.getMaximumZoomLevel()
			: org.osmdroid.util.TileSystem.getMaximumZoomLevel();
}