HERE Android SDK Developer's Guide

ProximityRequest

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

Class Summary

public class ProximityRequest

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

Represents a custom location search request that uses the area around a location to retrieve user-defined locations.

Deprecated: As of SDK 3.3.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in ProximityRequest
Constructors

ProximityRequest (int layerId, GeoCoordinate center, int radius)

Deprecated: As of SDK 3.3.

Creates an Proximity Request

Class Details

Deprecated: As of SDK 3.3.

Use CLE2ProximityRequest instead.

Represents a custom location search request that uses the area around a location to retrieve user-defined locations.

This type of search request is used for user-defined locations around a specified point.

A new ProximityRequest should be created for each search.

Constructor Details

ProximityRequest (int layerId, GeoCoordinate center, int radius)

Deprecated: As of SDK 3.3.

Use CLE2ProximityRequest instead.

Creates an Proximity Request

Parameters:

  • layerId

    Specifies the layer to search.

  • center

    A GeoCoordinate specifying the search center.

  • radius

    An int specifying the search radius in meters.

Throws:

  • IllegalArgumentException

    if center is invalid.

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