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 instancetype) initWithLayer:(nonnull NSString *) layerId center:(nonnull NMAGeoCoordinates *) coordinates radius:(NSInteger) radius

Creates a Proximity Search Request

-(nullable instancetype) 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 instancetype) 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 instancetype) 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.