//
//  TMKMapViewController.h
//  TnMapKit
//
//  Created by Holzhauer, James on 2/3/14.
//  Copyright (c) 2014 TeleNav. All rights reserved.
//
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

#ifdef VIRTUOS_METAL
#import <MetalKit/MetalKit.h>
#else
#import <GLKit/GLKit.h>
#endif

@class TMKMapView;

__attribute__((visibility("default")))

#ifdef VIRTUOS_METAL
@interface TMKMapViewController : UIViewController
#else
@interface TMKMapViewController : GLKViewController
#endif

// Initialize the view controller.  Must be done with valid TMKMapView
- (id)initWithView:(TMKMapView*)mapKitView;

/*
    Default FPS is (state based) Active:30 Idle:10 FollowVehicle:5
    
    If you wish to change the static FPS setting, call setRenderingFPS.
    If you wish to use the state based FPS setting, call SetRenderingFPSActive: Idle: FollowVehicle.
    These two modes are mutually exclusive
 */

// Set the preferred (static) rendering interval for the view controller
- (void)setRenderingFPS:(NSInteger)fps;
// Set the preferred (state driven) rendering intervals for the view controller
- (void)setRenderingIntervalFPS:(NSInteger)activefps
                           Idle:(NSInteger)idlefps
                  FollowVehicle:(NSInteger)followVehiclefps;

@property BOOL shouldAutoRotate; //defaults to true
@property NSUInteger supportedOrientations; //defaults to all orientations

@end // TMKMapViewController
#pragma clang diagnostic pop
