HERE iOS SDK Developer's Guide

NMACLE2AttributeRequest

Class Summary

class NMACLE2AttributeRequest

Derived from: NMACLE2Request

Represents a custom geometry search request to retrieve all user-defined geometries along with its attribute on a specified layer.

Include: NMAKit.framework/headers/NMACLE2AttributeRequest.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACLE2AttributeRequest

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nullable instancetype) initWithLayer:(NSString *) layerId query:(NSString *) query

Creates an Attribute Search Request

-(nullable instancetype) initWithLayers:(NSArray< NSString * > *) layerIds query:(NSString *) query

Creates an Attribute Search Request that searches through multiple layers

Class Details

Represents a custom geometry search request to retrieve all user-defined geometries along with its attribute on a specified layer.

A new NMACLE2AttributeRequest should be created for each distinct search.

Note:

this class is currently only supported in online mode.

Instance Method Details

-(nullable instancetype) initWithLayer:(NSString *) layerId query:(NSString *) query

Creates an Attribute Search Request. This method returns nil if initialization failed.

Note:

The query assures that only expressions that evaluate to true are returned. An example of a query is: "RATING > 3 && NAME != 'MyPlace23'"

Parameters:

  • layerId

    Layer name to search.

  • query

    A JavaScript expression as a string being evaluated for each geometry.

-(nullable instancetype) initWithLayers:(NSArray< NSString * > *) layerIds query:(NSString *) query

Creates an Attribute Search Request that searches through multiple layers. This method returns nil if initialization failed.

Note:

the query assures that only expression which evaluates to true will be returned.

Parameters:

  • layerIds

    An NSArray with names specifying the layers to search.

  • query

    A JavaScript expression as a string being evaluated for each geometry.

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.