Sha256: c9c2094dabda02ca2e32c3841d0289cb133c1e3ba9c45c32fa6f21267f41db8f

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

/*
 * YMKUserLocation.h
 *
 * This file is a part of the Yandex Map Kit.
 *
 * Version for iOS © 2011 YANDEX
 * 
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at http://legal.yandex.ru/mapkit/
 */

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import "YMKAnnotation.h"

extern NSString * const YMKUserLocationNeedsSubtitleNotification;

/**
 Defines an annotation which represents the user's location on the map.
 @see http://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKUserLocation_Class/Reference/Reference.html
 */
@interface YMKUserLocation : NSObject <YMKAnnotation> {
@private
	CLLocation * _location;
	BOOL _updating;
	
	NSString * _subtitle;
	CLLocation * _subtitleLocation;
}

/**
 The current location of the device.
 */
@property (nonatomic, readonly) CLLocation * location;

/**
 The title displayed for the annotation representing the user's location.
 */
@property (nonatomic, readonly) NSString * title;

/**
 The subtitle displayed for the annotation representing the user's location.
 */
@property (nonatomic, copy) NSString * subtitle;

/**
 Indicates whether the user's location is currently being updated.
 */
@property (nonatomic, readonly, getter = isUpdating) BOOL updating;

@end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-yandexmapkit-0.0.1 YandexMapKit/Headers/YMKUserLocation.h