//
//  TMKMapViewController.h
//  TnMapKit
//
//  Created by Holzhauer, James on 2/3/14.
//  Copyright (c) 2014 TeleNav. All rights reserved.
//

#import <GLKit/GLKit.h>

@class TMKMapView;

__attribute__((visibility("default")))
@interface TMKMapViewController : GLKViewController

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

/*
    Default FPS is (static) 30
    
    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
