Sha256: b41ea88b04a9471769f88044ee0f767d71956d468c6ec842fea3edf476a1c30a

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

/*
 * YMKMapLayersConfig.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 "YMKMapLayerInfo.h"

/**
 Provides information about map layers supported by map view
 */
@interface YMKMapLayersConfiguration : NSObject {
@private
    NSArray * _infos;
    BOOL _hasServiceLayer;
    YMKMapLayerInfo * _serviceLayerInfo;
}

/**
 Contains instances of YMKMapLayerInfo supported by map view. You should query
 this array manually.
 @see infoForLayerWithIdentifier:
 */
@property (nonatomic, readonly) NSArray * infos;

/**
 Indicates whether current configuration contains auxillary map layer
 */
@property (nonatomic, readonly) BOOL hasServiceLayer;

/**
 If hasServiceLayer property is set to YES then serviceLayerInfo
 points to auxillary map layer info
 */
@property (nonatomic, readonly) YMKMapLayerInfo * serviceLayerInfo;

/**
 Returns instance of YMKMapLayerInfo whose identifier is equal to parameter passed
 @param identifier identifier of a requested map layer info
 @return instance of YMKMapLayerInfo or nil
 */
- (YMKMapLayerInfo *)infoForLayerWithIdentifier:(uint16_t)identifier;

@end

Version data entries

1 entries across 1 versions & 1 rubygems

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