HERE iOS SDK Developer's Guide

NMAMapInfoBubbleCustomizationContext

Class Summary

class NMAMapInfoBubbleCustomizationContext

Derived from: NSObject

Responsible for all the customizable values for an info bubble.

Include: NMAKit.framework/headers/NMAMapInfoBubbleCustomizationContext.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMapInfoBubbleCustomizationContext

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] CGFloat  bubbleAlpha

The alpha of the info bubble

[readable, writable, assign] CGFloat  bubbleCornerRadius

The radius to use when drawing the corners

[readable, writable, strong] UIColor *  bubbleFillColor

The default value is white

[readable, writable, assign] CGFloat  bubbleLeftRightMargin

Outside margin for the whole bubble shape

[readable, writable, assign] CGFloat  bubbleLineWidth

The width of the border line

[readable, writable, assign] CGFloat  bubbleMaxWidth

The maximum width of the info bubble

[readable, writable, assign] CGFloat  bubblePadding

Left, top, right and bottom margin for the text area, i

[readable, writable, strong] UIColor *  bubbleStrokeColor

The color of the border line

[readable, writable, assign] CGFloat  bubbleTailHeight

The default value is 8

[readable, writable, assign] CGFloat  bubbleTailWidth

The default value is 8

[readable, writable, strong] UILabel *  descriptionLabel

The default description title label uses 11

[readable, writable, strong] UILabel *  titleLabel

The default title label uses 12

Class Details

Responsible for all the customizable values for an info bubble.

Public Property Details

[readable, writable, assign] CGFloat bubbleAlpha

The alpha of the info bubble. The default value is 1.0.

[readable, writable, assign] CGFloat bubbleCornerRadius

The radius to use when drawing the corners. For rounded corners use a nonzero value. The default value is 0.0, i.e no rounded corners.

[readable, writable, strong] UIColor * bubbleFillColor

The default value is white.

[readable, writable, assign] CGFloat bubbleLeftRightMargin

Outside margin for the whole bubble shape. When the info bubble is on the map view there should be left and right margin at least equal to this value. If not, the text will be multiline. The default value is 25.0.

[readable, writable, assign] CGFloat bubbleLineWidth

The width of the border line. The default value is 1.0.

[readable, writable, assign] CGFloat bubbleMaxWidth

The maximum width of the info bubble. If the text don't fit into this width, the text will be multiline. The default value is 150.0.

[readable, writable, assign] CGFloat bubblePadding

Left, top, right and bottom margin for the text area, i.e. title & description. The default value is 4.0.

[readable, writable, strong] UIColor * bubbleStrokeColor

The color of the border line. The default value is black.

[readable, writable, assign] CGFloat bubbleTailHeight

The default value is 8.0.

[readable, writable, assign] CGFloat bubbleTailWidth

The default value is 8.0.

[readable, writable, strong] UILabel * descriptionLabel

The default description title label uses 11.0 system font, has black text and clear background colors and its text alignment is justified. All the other settings keeps the UILabel default values.

[readable, writable, strong] UILabel * titleLabel

The default title label uses 12.0 bold system font, has black text and clear background colors and its text alignment is justified. All the other settings keeps the UILabel default values.

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.