HERE Android SDK Developer's Guide

CLE2QuadkeyRequest

The class CLE2QuadkeyRequest is a member of com.here.android.mpa.customlocation2 .

Class Summary

public class CLE2QuadkeyRequest

extends com.here.android.mpa.customlocation2.CLE2Request, java.lang.Object

Represents a custom location search request that uses quadkey.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in CLE2QuadkeyRequest
Constructors

CLE2QuadkeyRequest (String layerId, String quadKey)

Creates a quadkey request.

Class Details

Represents a custom location search request that uses quadkey. A quadkey is a string containing a numeric value. The value is obtained by interleaving the bits of the row and column coordinates of a tile in the grid at the given zoom level, then converting the result to a base-4 number (the leading zeros are retained). The length of a quadkey string (the number of digits/characters) equals the zoom level of the tile. Use this search to retrieve the geometries that overlap exact certain tiles of a quadkey-tile based bitmap display.

Constructor Details

CLE2QuadkeyRequest (String layerId, String quadKey)

Creates a quadkey request.

Parameters:

  • layerId

    Name of layer specifying the layer to search.

  • quadKey

    The quad key number of the map tile area to search from.

Throws:

  • IllegalArgumentException

    if layerId is invalid.