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 Details

    • DelegatingShadeTileSource

      public DelegatingShadeTileSource()
  • Method Details

    • setDelegate

      public void setDelegate(org.mapsforge.map.layer.hills.ShadeTileSource delegate)
    • prepareOnThread

      public void prepareOnThread()
      Specified by:
      prepareOnThread in interface org.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:
      getHillshadingBitmap in interface org.mapsforge.map.layer.hills.ShadeTileSource
      Throws:
      ExecutionException
      InterruptedException
    • applyConfiguration

      public void applyConfiguration(boolean allowParallel)
      Specified by:
      applyConfiguration in interface org.mapsforge.map.layer.hills.ShadeTileSource
    • getAlgorithm

      public org.mapsforge.map.layer.hills.ShadingAlgorithm getAlgorithm()
      Specified by:
      getAlgorithm in interface org.mapsforge.map.layer.hills.ShadeTileSource
    • setAlgorithm

      public void setAlgorithm(org.mapsforge.map.layer.hills.ShadingAlgorithm algorithm)
      Specified by:
      setAlgorithm in interface org.mapsforge.map.layer.hills.ShadeTileSource
    • isZoomLevelSupported

      public boolean isZoomLevelSupported(int zoomLevel, int lat, int lon)
      Specified by:
      isZoomLevelSupported in interface org.mapsforge.map.layer.hills.ShadeTileSource
    • interruptAndDestroy

      public void interruptAndDestroy()
      Specified by:
      interruptAndDestroy in interface org.mapsforge.map.layer.hills.ShadeTileSource