HERE Android SDK Developer's Guide

CLE2BoundingBoxRequest

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

Class Summary

public class CLE2BoundingBoxRequest

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

Represents a custom location search request that uses a bounding box to retrieve user-defined geometries.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in CLE2BoundingBoxRequest
Constructors

CLE2BoundingBoxRequest (String layerId, GeoBoundingBox area)

Creates a Bounding Box Geometry Request

Class Details

Represents a custom location search request that uses a bounding box to retrieve user-defined geometries.

This type of request is used to search for user-defined geometries intersecting a specified bounding box.

A new CLE2BoundingBoxRequest should be created for each search.

Constructor Details

CLE2BoundingBoxRequest (String layerId, GeoBoundingBox area)

Creates a Bounding Box Geometry Request

Parameters:

  • layerId

    Name of layer specifying the layer to search.

  • area

    A GeoBoundingBox specifying the area to search.

Throws:

  • IllegalArgumentException

    if area is invalid.

  • IllegalArgumentException

    if area is empty.