...
|
...
|
@@ -121,7 +121,7 @@ |
|
|
CGFloat red, green, blue, alpha;
|
|
|
|
|
|
if ([color getRed:&red green:&green blue:&blue alpha:&alpha])
|
|
|
colorHex = [NSString stringWithFormat:@"%02x%02x%02x", ((NSUInteger)red * 255), ((NSUInteger)green * 255), ((NSUInteger)blue * 255)];
|
|
|
colorHex = [NSString stringWithFormat:@"%02x%02x%02x", (NSUInteger)(red * 255), (NSUInteger)(green * 255), (NSUInteger)(blue * 255)];
|
|
|
}
|
|
|
|
|
|
return [self initWithMapBoxMarkerImage:symbolName tintColorHex:colorHex sizeString:sizeString];
|
...
|
...
|
|