HERE iOS SDK Developer's Guide

NMACLE2ProximityRequest

Class Summary

class NMACLE2ProximityRequest

Derived from: NMACLE2Request

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

Include: NMAKit.framework/headers/NMACLE2ProximityRequest.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACLE2ProximityRequest

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nullable) initWithLayer:(nonnull NSString *) layerId center:(nonnull NMAGeoCoordinates *) coordinates radius:(NSInteger) radius

Creates a Proximity Search Request

-(nullable) initWithLayers:(nonnull NSArray< NSString * > *) layerIds center:(nonnull NMAGeoCoordinates *) coordinates radius:(NSInteger) radius

Creates a Proximity Search Request that searches through multiple layers

Class Details

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

A new NMACLE2ProximityRequest should be created for each distinct search.

Instance Method Details

-(nullable) initWithLayer:(nonnull NSString *) layerId center:(nonnull NMAGeoCoordinates *) coordinates radius:(NSInteger) radius

Creates a Proximity Search Request.

Note:

Returns nil if initialization failed.

Parameters:

  • layerId

    Name of the layer specifying the layer to search.

  • coordinates

    Specify the NMAGeoCoordinates used as the search center.

  • radius

    An NSInteger specifying the search radius in meters.

-(nullable) initWithLayers:(nonnull NSArray< NSString * > *) layerIds center:(nonnull NMAGeoCoordinates *) coordinates radius:(NSInteger) radius

Creates a Proximity Search Request that searches through multiple layers.

Note:

Returns nil if initialization failed.

Parameters:

  • layerIds

    An NSArray with names specifying the layers to search.

  • coordinates

    Specify the NMAGeoCoordinates used as the search center.

  • radius

    An NSInteger specifying the search radius in meters.

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.