HERE iOS SDK Developer's Guide

NMAMapCircle

Class Summary

class NMAMapCircle

Derived from: NMAMapObject

Represents a NMAMapObject in the shape of a circle.

Include: NMAKit.framework/headers/NMAMapCircle.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMapCircle

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, strong] NMAGeoCoordinates center

The NMAGeoCoordinates representing the center of the NMAMapCircle

[readable, writable, strong] UIColor *  fillColor

The fill color for the NMAMapCircle

[readable, writable, strong] UIColor *  lineColor

The line color for the NMAMapCircle

[readable, writable, assign] NSUInteger  lineWidth

The line width, in pixels, for the NMAMapCircle border

[readable, writable, assign] double  radius

The radius of the NMAMapCircle, in meters

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(instancetype) initWithGeoCoordinates:(init(coordinates:)) NS_SWIFT_NAME

Initializes a NMAMapCircle instance with the specified NMAGeoCoordinates as the center and a radius of 1 meter

-(instancetype) initWithGeoCoordinates:( NMAGeoCoordinates *) coordinates radius:(init(coordinates:radius:)) NS_DESIGNATED_INITIALIZER

Initializes a NMAMapCircle instance with the specified NMAGeoCoordinates as the center and the specified double as the radius (in meters)

Class Method Summary

Table 3. Class Methods
Class Methods

+(instancetype) mapCircleWithGeoCoordinates:("duplicate naming with instance method") NS_SWIFT_UNAVAILABLE

A convenience method to construct a NMAMapCircle at specified coordinates

+(instancetype) mapCircleWithGeoCoordinates:( NMAGeoCoordinates *) coordinates radius:("duplicate naming with instance method") NS_SWIFT_UNAVAILABLE

A convenience method to construct a NMAMapCircle at specified coordinates and with a given radius

Class Details

Represents a NMAMapObject in the shape of a circle. NMAMapCircle is helper class for creating and updating a NMAMapPolygon representing a circle.

Public Property Details

[readable, writable, strong] NMAGeoCoordinatescenter

The NMAGeoCoordinates representing the center of the NMAMapCircle.

Note:

The NMAViewObject location property will return the same coordinates.

[readable, writable, strong] UIColor * fillColor

The fill color for the NMAMapCircle.

Note:

The default value (in RGBA) is 0x00498A55

[readable, writable, strong] UIColor * lineColor

The line color for the NMAMapCircle.

Note:

The default value (in RGBA) is 0xC00066FF.

[readable, writable, assign] NSUInteger lineWidth

The line width, in pixels, for the NMAMapCircle border. The supported value range is [0..100].

Note:

The default value is 0 pixels

[readable, writable, assign] double radius

The radius of the NMAMapCircle, in meters.

Note:

The default value is 1 meter

Instance Method Details

-(instancetype) initWithGeoCoordinates:(init(coordinates:)) NS_SWIFT_NAME

Initializes a NMAMapCircle instance with the specified NMAGeoCoordinates as the center and a radius of 1 meter.

Parameters:

  • coordinates

    A NMAGeoCoordinates representing the NMAMapCircle center

Returns:

The NMAMapCircle

-(instancetype) initWithGeoCoordinates:( NMAGeoCoordinates *) coordinates radius:(init(coordinates:radius:)) NS_DESIGNATED_INITIALIZER

Initializes a NMAMapCircle instance with the specified NMAGeoCoordinates as the center and the specified double as the radius (in meters).

Parameters:

  • coordinates

    A NMAGeoCoordinates representing the NMAMapCircle center

  • radius

    The radius of the circle

Returns:

The NMAMapCircle

Class Method Details

+(instancetype) mapCircleWithGeoCoordinates:("duplicate naming with instance method") NS_SWIFT_UNAVAILABLE

A convenience method to construct a NMAMapCircle at specified coordinates.

Parameters:

  • coordinates

    The location of the map circle center

+(instancetype) mapCircleWithGeoCoordinates:( NMAGeoCoordinates *) coordinates radius:("duplicate naming with instance method") NS_SWIFT_UNAVAILABLE

A convenience method to construct a NMAMapCircle at specified coordinates and with a given radius.

Parameters:

  • coordinates

    The location of the map circle center

  • radius

    The radius (in meters) of the map circle

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.