SYMapIncidentWarningSettings Class Reference

Appearance settings for a set of incident types. More...

#import <SYMapObjectsSettings.h>

Inheritance diagram for SYMapIncidentWarningSettings:
Collaboration diagram for SYMapIncidentWarningSettings:

Instance Methods

(nonnull instancetype) - initWithImages:imageOffset:usage:
 
((unavailable("Use initWithImages:imageOffset:usage: instead.") - __attribute__
 

Class Methods

((unavailable("Use initWithImages:imageOffset:usage: instead.") + __attribute__
 

Properties

NSArray< SYMapIncidentImages * > * images
 Array of images for each incident type. More...
 
CGPoint imageOffset
 Relative offset of the image comparing to the coordinate of the incident. [0, 0] means top-left corner of the image is located at the location of the incident. [0.5, 0.5] means the center of the image is located at the location of the incident. [1, 1] means bottom-right corner of the image is located at the location of the incident. More...
 
SYMapIncidentWarningSettingsUsage usage
 Map modes to which the settings are to be applied. More...
 

Detailed Description

Appearance settings for a set of incident types.

Method Documentation

◆ initWithImages:imageOffset:usage:

- (nonnull instancetype) initWithImages: (nonnull NSArray< SYMapIncidentImages * > *)  images
imageOffset: (CGPoint)  imageOffset
usage: (SYMapIncidentWarningSettingsUsage)  usage 

◆ __attribute__ [1/2]

- ((unavailable("Use) initWithImages:

◆ __attribute__ [2/2]

+ ((unavailable("Use) initWithImages:

Property Documentation

◆ images

- (NSArray<SYMapIncidentImages*>*) images
readwritenonatomicstrong

Array of images for each incident type.

◆ imageOffset

- (CGPoint) imageOffset
readwritenonatomicassign

Relative offset of the image comparing to the coordinate of the incident. [0, 0] means top-left corner of the image is located at the location of the incident. [0.5, 0.5] means the center of the image is located at the location of the incident. [1, 1] means bottom-right corner of the image is located at the location of the incident.

◆ usage

- (SYMapIncidentWarningSettingsUsage) usage
readwritenonatomicassign

Map modes to which the settings are to be applied.


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