HERE iOS SDK Developer's Guide

NMACLE2QuadkeyRequest

Class Summary

class NMACLE2QuadkeyRequest

Derived from: NMACLE2Request

Represents a custom location search request that searches by quadkey tile.

Include: NMAKit.framework/headers/NMACLE2QuadkeyRequest.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACLE2QuadkeyRequest

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(nullable instancetype) initWithLayer:(nonnull NSString *) layerId quadKey:(nonnull NSString *) quadKey

Creates a Quadkey Search Request

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

Creates a Quadkey Search Request that searches through multiple layers

Class Details

Represents a custom location search request that searches by quadkey tile. A quadkey is a number consisting of digits 0-3 that each subdivide the Mercator projected flat world map into quadrants. Use this search to retrieve geometries that overlap exactly certain tiles of a quadkey-tile. For details on how the map is devided to form quadkeys see: QuadKey basic concepts.

A new NMACLE2QuadkeyRequest should be created for each distinct search.

Instance Method Details

-(nullable instancetype) initWithLayer:(nonnull NSString *) layerId quadKey:(nonnull NSString *) quadKey

Creates a Quadkey Search Request.

Note:

Returns nil if initialization failed.

Parameters:

  • layerId

    Name of the layer specifying the layer to search.

  • quadKey

    The quadKey to search in. Quadkey example: 12021023322201

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

Creates a Quadkey Search Request that searches through multiple layers.

Note:

Returns nil if initialization failed. The query assures that only expression which evaluates to true will be returned.

Parameters:

  • layerIds

    An NSArray with names specifying the layers to search.

  • quadKey

    The quadKey to search in. Quadkey example: 12021023322201