Class DelegatingShadeTileSource
java.lang.Object
slash.navigation.mapview.mapsforge.helpers.DelegatingShadeTileSource
- All Implemented Interfaces:
org.mapsforge.map.layer.hills.ShadeTileSource
public class DelegatingShadeTileSource
extends Object
implements org.mapsforge.map.layer.hills.ShadeTileSource
A
ShadeTileSource that delegates to a delegate.- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyConfiguration(boolean allowParallel) org.mapsforge.map.layer.hills.ShadingAlgorithmorg.mapsforge.core.graphics.HillshadingBitmapgetHillshadingBitmap(int latitudeOfSouthWestCorner, int longituedOfSouthWestCorner, int zoomLevel, double pxPerLat, double pxPerLon, int color) voidbooleanisZoomLevelSupported(int zoomLevel, int lat, int lon) voidvoidsetAlgorithm(org.mapsforge.map.layer.hills.ShadingAlgorithm algorithm) voidsetDelegate(org.mapsforge.map.layer.hills.ShadeTileSource delegate)
-
Constructor Details
-
DelegatingShadeTileSource
public DelegatingShadeTileSource()
-
-
Method Details
-
setDelegate
public void setDelegate(org.mapsforge.map.layer.hills.ShadeTileSource delegate) -
prepareOnThread
public void prepareOnThread()- Specified by:
prepareOnThreadin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource
-
getHillshadingBitmap
public org.mapsforge.core.graphics.HillshadingBitmap getHillshadingBitmap(int latitudeOfSouthWestCorner, int longituedOfSouthWestCorner, int zoomLevel, double pxPerLat, double pxPerLon, int color) throws ExecutionException, InterruptedException - Specified by:
getHillshadingBitmapin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource- Throws:
ExecutionExceptionInterruptedException
-
applyConfiguration
public void applyConfiguration(boolean allowParallel) - Specified by:
applyConfigurationin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource
-
getAlgorithm
public org.mapsforge.map.layer.hills.ShadingAlgorithm getAlgorithm()- Specified by:
getAlgorithmin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource
-
setAlgorithm
public void setAlgorithm(org.mapsforge.map.layer.hills.ShadingAlgorithm algorithm) - Specified by:
setAlgorithmin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource
-
isZoomLevelSupported
public boolean isZoomLevelSupported(int zoomLevel, int lat, int lon) - Specified by:
isZoomLevelSupportedin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource
-
interruptAndDestroy
public void interruptAndDestroy()- Specified by:
interruptAndDestroyin interfaceorg.mapsforge.map.layer.hills.ShadeTileSource
-