MRDMapIconImage Class Reference

Inherits from NSObject
Declared in MRDMapIconImage.h

Overview

Class used for creating UIImage versions of Meridian’s internal icons

+ imageForIcon:size:

Returns a circular image of the given type and size with white tint and the default Meridian background color for the icon type

+ (nullable UIImage *)imageForIcon:(MRDMapIconType)type size:(CGFloat)size

Parameters

type

Meridian map icon type

size

Diameter of the icon

Declared In

MRDMapIconImage.h

+ imageForIcon:size:color:

Returns a circular image of the given type, size, and tint color with the default Meridian background color for the icon type

+ (nullable UIImage *)imageForIcon:(MRDMapIconType)type size:(CGFloat)size color:(UIColor *)color

Parameters

type

Meridian map icon type

size

Diameter of the icon

color

Tint color of the icon

Declared In

MRDMapIconImage.h

+ imageForIcon:size:color:background:

Returns a circular image of the given type, size, tint and background color

+ (nullable UIImage *)imageForIcon:(MRDMapIconType)type size:(CGFloat)size color:(UIColor *)color background:(nullable UIColor *)background

Parameters

type

Meridian map icon type

size

Diameter of the icon

color

Tint color of the icon

background

Background color of the icon

Declared In

MRDMapIconImage.h