Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 538aa4cf7b
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (26 sloc) 0.847 kb
//
// UICRouteAnnotation.h
// MapDirections
//
// Created by KISHIKAWA Katsumi on 09/08/10.
// Copyright 2009 KISHIKAWA Katsumi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
typedef enum UICRouteAnnotationType {
UICRouteAnnotationTypeStart,
UICRouteAnnotationTypeEnd,
UICRouteAnnotationTypeWayPoint,
} UICRouteAnnotationType;
@interface UICRouteAnnotation : NSObject<MKAnnotation> {
CLLocationCoordinate2D coordinate;
NSString *title;
UICRouteAnnotationType annotationType;
}
@property (nonatomic) CLLocationCoordinate2D coordinate;
@property (nonatomic, readonly, copy) NSString *title;
@property (nonatomic) UICRouteAnnotationType annotationType;
- (id)initWithCoordinate:(CLLocationCoordinate2D)coord
title:(NSString *)aTitle
annotationType:(UICRouteAnnotationType)type;
@end
Jump to Line
Something went wrong with that request. Please try again.