HERE iOS SDK Developer's Guide

NMAZoomRange

Class Summary

class NMAZoomRange

Derived from: NSObject

Represents a Zoom Range.

Include: NMAKit.framework/headers/NMAZoomRange.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAZoomRange

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] float  max

Maximum value of a zoom range

[readable, writable, assign] float  min

Minimum value of a zoom range

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(nonnull instancetype) initWithMinZoomLevel:(float) minimum maxZoomLevel:(float) maximum

Helper initializer for a NMAZoomRange

Class Details

Represents a Zoom Range. Used to specify at which zoom level(s) a property customization is to be applied.

Public Property Details

[readable, writable, assign] float max

Maximum value of a zoom range.

Note:

This value must be in the range [NMAMapViewMinimumZoomLevel, NMAMapViewMaximumZoomLevel]. Invalid values will be clamped to this range.

[readable, writable, assign] float min

Minimum value of a zoom range.

Note:

This value must be in the range [NMAMapViewMinimumZoomLevel, NMAMapViewMaximumZoomLevel]. Invalid values will be clamped to this range.

Instance Method Details

-(nonnull instancetype) init

Initialize an NMAZoomRange instance

Note:

The new instance will have the default range [NMAMapViewMinimumZoomLevel, NMAMapViewMaximumZoomLevel]

-(nonnull instancetype) initWithMinZoomLevel:(float) minimum maxZoomLevel:(float) maximum

Helper initializer for a NMAZoomRange.

Note:

The min and max values must be in the [NMAMapViewMinimumZoomLevel, NMAMapViewMaximumZoomLevel]. Invalid values will be clamped to this range.