Loading...
Searching...
No Matches

Screen placement of the OSM attribution overlay. More...

#include <com/navigine/idl/objc/NCAttributionAlignment.h>

Inherits NSObject.

Instance Methods

(nonnull instancetype) - initWithHorizontalAlignment:verticalAlignment:
 Default constructor for class NCAttributionAlignment.
 
(nonnull instancetype) - init
 Default constructor for class NCAttributionAlignment.
 

Class Methods

(nonnull instancetype) + attributionAlignmentWithHorizontalAlignment:verticalAlignment:
 Factory method for class NCAttributionAlignment.
 
(nonnull instancetype) + attributionAlignment
 Factory method for class NCAttributionAlignment.
 

Properties

NCAttributionHorizontalAlignment horizontalAlignment
 Horizontal edge or center AttributionHorizontalAlignment.
 
NCAttributionVerticalAlignment verticalAlignment
 Vertical edge AttributionVerticalAlignment.
 

Detailed Description

Screen placement of the OSM attribution overlay.

Same shape as typical map logo alignment: horizontal × vertical. Default: right + bottom (OSM Vector Tile Usage Policy).

Referenced from LocationWindow attributionAlignment.

Definition at line 23 of file NCAttributionAlignment.h.

Method Documentation

◆ attributionAlignment

+ (nonnull instancetype) attributionAlignment

Factory method for class NCAttributionAlignment.

◆ attributionAlignmentWithHorizontalAlignment:verticalAlignment:

+ (nonnull instancetype) attributionAlignmentWithHorizontalAlignment: (NCAttributionHorizontalAlignment) horizontalAlignment
verticalAlignment: (NCAttributionVerticalAlignment) verticalAlignment 

Factory method for class NCAttributionAlignment.

◆ init

- (nonnull instancetype) init

Default constructor for class NCAttributionAlignment.

◆ initWithHorizontalAlignment:verticalAlignment:

- (nonnull instancetype) initWithHorizontalAlignment: (NCAttributionHorizontalAlignment) horizontalAlignment
verticalAlignment: (NCAttributionVerticalAlignment) verticalAlignment 

Default constructor for class NCAttributionAlignment.

Property Documentation

◆ horizontalAlignment

- (NCAttributionHorizontalAlignment) horizontalAlignment
readnonatomicassign

Horizontal edge or center AttributionHorizontalAlignment.

Swift code snippet:

let alignment = NCAttributionAlignment(
horizontalAlignment: .right,
verticalAlignment: .bottom)

Objective C code snippet:

initWithHorizontalAlignment:NCAttributionHorizontalAlignmentRight
verticalAlignment:NCAttributionVerticalAlignmentBottom];

Definition at line 59 of file NCAttributionAlignment.h.

◆ verticalAlignment

- (NCAttributionVerticalAlignment) verticalAlignment
readnonatomicassign

Vertical edge AttributionVerticalAlignment.

Definition at line 64 of file NCAttributionAlignment.h.


The documentation for this class was generated from the following file: