Class TileGeoBoundsCalculator
Package com.here.sdk.mapview.datasource
Class TileGeoBoundsCalculator
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.datasource.TileGeoBoundsCalculator
-
public final class TileGeoBoundsCalculator extends NativeBase
A calculator of geodetic bounds for tiles identified by keys generated in a particular tiling scheme (
TilingScheme).Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
-
Constructor Summary
Constructors Constructor Description TileGeoBoundsCalculator(TilingScheme tilingScheme)Creates an instance ofTileGeoBoundsCalculator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoBoxboundsOf(TileKey tileKey)
-
-
-
Constructor Detail
-
TileGeoBoundsCalculator
public TileGeoBoundsCalculator(@NonNull TilingScheme tilingScheme)Creates an instance of
TileGeoBoundsCalculator.- Parameters:
tilingScheme-The tiling scheme used for generating the tile keys that are to be supported by this instance.
-
-
Method Detail
-
boundsOf
@NonNull public GeoBox boundsOf(@NonNull TileKey tileKey)
- Parameters:
tileKey-TileKeyto compute geodetic bounds for. The geodetic bounds would be calculated relative to the tiling scheme provided at thisTileGeoBoundsCalculatorinstance creation.- Returns:
The geodetic bounds of tile identified by given
TileKey.
-
-