HERE Android SDK Developer's Guide

CLE2CorridorRequest

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

Class Summary

public class CLE2CorridorRequest

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

Represents an corridor custom location search request to retrieve user-defined geometries previously stored using one or more search filter(s).

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in CLE2CorridorRequest
Constructors

CLE2CorridorRequest (String layerId, java.util.List <GeoCoordinate> routeCoordinates, int radius)

Creates an Corridor Request using an array of coordinates defining a route.

Class Details

Represents an corridor custom location search request to retrieve user-defined geometries previously stored using one or more search filter(s).

This searches for user-defined geometries within the radius of a specified route or the radius of a specified list of GeoCoordinates.

A new CLE2CorridorRequest should be created for each search.

Constructor Details

CLE2CorridorRequest (String layerId, java.util.List <GeoCoordinate> routeCoordinates, int radius)

Creates an Corridor Request using an array of coordinates defining a route.

Parameters:

  • layerId

    Name of layer specifying the layer to search.

  • routeCoordinates

    A List of GeoCoordinates representing the polyline used as a corridor center line representing a route.

  • radius

    An int specifying the search radius in meters.

Throws:

  • IllegalArgumentException

    if layerId is invalid.

  • IllegalArgumentException

    if routeCoordinates is null or does not contain at least two GeoCoordinates.

  • IllegalArgumentException

    if radius is smaller than or equal to zero.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.