HERE Android SDK Developer's Guide

MapTileSystemHelper

The class MapTileSystemHelper is a member of com.here.android.mpa.mapping.MapRasterTileSource.

Class Summary

public static final class MapRasterTileSource.MapTileSystemHelper

extends java.lang.Object

Represents a helper class for converting raster tile coordinates to other tile system values.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in MapTileSystemHelper
Constructors

MapTileSystemHelper ()

Method Summary

Table 2. Methods in MapTileSystemHelper
Methods

public static String tileXYToQuadKey (int x, int y, int zoomLevel)

Converts a raster tile's X-coordinate and Y-coordinate into an equivalent QuadKey at a specified zoom level.

Class Details

Represents a helper class for converting raster tile coordinates to other tile system values.

Constructor Details

MapTileSystemHelper ()

Method Details

public static String tileXYToQuadKey (int x, int y, int zoomLevel)

Converts a raster tile's X-coordinate and Y-coordinate into an equivalent QuadKey at a specified zoom level.

See also The Tile Coordinates and Quadkeys.

Parameters:

  • x

    Current X-coordinate of the tile

  • y

    Current Y-coordinate of the tile

  • zoomLevel

    Desired zoom level, an int within a range from 1 (lowest detail) to 20 (highest detail)

Returns:

The QuadKey