Files
eqn.ios/Sources/Earthquake Network/Models/Map annotation/EQNMapAnnotationPastquakes.h
T

29 lines
773 B
Objective-C

//
// EQNMapAnnotationPastquakes.h
// Earthquake Network
//
// Refactored by Andrea Busi
// Copyright © 2021 Earthquake Network. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
NS_ASSUME_NONNULL_BEGIN
static NSString * const EQNMapAnnotationPastquakesIdentifier = @"EQNMapAnnotationPastquakesIdentifier";
@interface EQNMapAnnotationPastquakes : NSObject <MKAnnotation>
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, readonly) NSInteger intensita;
- (instancetype)initWithTitle:(NSString *)title location:(CLLocationCoordinate2D)coordinate intensita:(NSInteger)intensita;
- (MKAnnotationView *)annotationView;
@end
NS_ASSUME_NONNULL_END