HERE Android SDK Developer's Guide

CorridorRequest

The class CorridorRequest is a member of com.here.android.mpa.customlocation .

Class Summary

public class CorridorRequest

extends com.here.android.mpa.customlocation.Request, java.lang.Object

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

Deprecated: As of SDK 3.3.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in CorridorRequest
Constructors

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

Deprecated: As of SDK 3.3.

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

CorridorRequest (int layerId, Route route, int radius)

Deprecated: As of SDK 3.3.

Creates an Corridor Request using a Route.

Class Details

Deprecated: As of SDK 3.3.

Use CLE2CorridorRequest instead.

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

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

A new CorridorRequest should be created for each search.

Constructor Details

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

Deprecated: As of SDK 3.3.

Use CLE2CorridorRequest instead.

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

Parameters:

  • layerId

    Specifies 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 does not contain any GeoCoordinate.

  • IllegalArgumentException

    if radius is smaller than or equal to zero.

CorridorRequest (int layerId, Route route, int radius)

Deprecated: As of SDK 3.3.

Use CLE2CorridorRequest instead.

Creates an Corridor Request using a Route.

Parameters:

  • layerId

    Specifies the layer to search.

  • route

    Route used to search for user-defined. locations.

  • radius

    An int specifying the search radius in meters.

Throws:

  • IllegalArgumentException

    if route cannot be formed into a polyline.

  • 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.