HERE iOS SDK Developer's Guide

NMACLE2CorridorRequest

Class Summary

class NMACLE2CorridorRequest

Derived from: NMACLE2Request

Represents a custom location search request that searches along a route specified by a sequence of coordinates and radius.

Include: NMAKit.framework/headers/NMACLE2CorridorRequest.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACLE2CorridorRequest

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nullable instancetype) initWithLayer:(NSString *) layerId corridor:(NSArray< NMAGeoCoordinates * > *) coordinatesArray radius:(NSInteger) radius

Creates a Corridor Search Request

-(nullable instancetype) initWithLayer:(NSString *) layerId route:( NMARoute *) route radius:(NSInteger) radius

Creates a Corridor Search Request from a given NMARoute

-(nullable instancetype) initWithLayers:(NSArray< NSString * > *) layerIds corridor:(NSArray< NMAGeoCoordinates * > *) coordinatesArray radius:(NSInteger) radius

Creates a Corridor Search Request that searches through multiple layers

-(nullable instancetype) initWithLayers:(NSArray< NSString * > *) layerIds route:( NMARoute *) route radius:(NSInteger) radius

Creates a Corridor Search Request that searches through multiple layers from a given NMARoute

Class Details

Represents a custom location search request that searches along a route specified by a sequence of coordinates and radius.

A new NMACLE2CorridorRequest should be created for each distinct search.

Instance Method Details

-(nullable instancetype) initWithLayer:(NSString *) layerId corridor:(NSArray< NMAGeoCoordinates * > *) coordinatesArray radius:(NSInteger) radius

Creates a Corridor Search Request.

Note:

Returns nil if initialization failed.

Parameters:

  • layerId

    Name of the layer specifying the layer to search.

  • corridor

    Specify the NMAGeoCoordinates of the polyline used as the search center line.

  • radius

    An NSInteger specifying the search radius in meters. All geometries overlapping the corridor polygon will be returned.

-(nullable instancetype) initWithLayer:(NSString *) layerId route:( NMARoute *) route radius:(NSInteger) radius

Creates a Corridor Search Request from a given NMARoute.

Note:

Returns nil if initialization failed.

Parameters:

  • layerId

    Name of the layer specifying the layer to search.

  • route

    Specify the NMARoute to be used as the search center line.

  • radius

    An NSInteger specifying the search radius in meters. All geometries overlapping the corridor polygon will be returned.

-(nullable instancetype) initWithLayers:(NSArray< NSString * > *) layerIds corridor:(NSArray< NMAGeoCoordinates * > *) coordinatesArray radius:(NSInteger) radius

Creates a Corridor Search Request that searches through multiple layers.

Note:

Returns nil if initialization failed.

Parameters:

  • layerIds

    An NSArray with names specifying the layers to search.

  • corridor

    Specify the NMAGeoCoordinates of the polyline used as the search center line.

  • radius

    An NSInteger specifying the search radius in meters.

-(nullable instancetype) initWithLayers:(NSArray< NSString * > *) layerIds route:( NMARoute *) route radius:(NSInteger) radius

Creates a Corridor Search Request that searches through multiple layers from a given NMARoute.

Note:

Returns nil if initialization failed.

Parameters:

  • layerIds

    An NSArray with names specifying the layers to search.

  • route

    Specify the NMARoute 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.