-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSMRouteSettings.h
60 lines (48 loc) · 2.21 KB
/
SMRouteSettings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// SMRouteSettings.h
// testRouteMe
//
// Created by Rasko Gojkovic on 6/12/13.
// Copyright (C) 2013 City of Copenhagen.
//
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
// If a copy of the MPL was not distributed with this file, You can obtain one at
// http://mozilla.org/MPL/2.0/.
//
#import <CoreGraphics/CoreGraphics.h>
#define DEFAULT_ROUTESETTINGS_FILENAME @"smroute_settings"
#define DEFAULT_PRIVATE_SUFFIX @"_private"
#define DEFAULT_PRIVATE_APP_SUFFIX @"_app_private"
/**
* \ingroup libs
* Routing engine settings object
*/
@interface SMRouteSettings : NSObject
@property (nonatomic, strong) NSString* osrm_address;
@property (nonatomic, strong) NSString* osrm_server;
@property (nonatomic, strong) NSString* osrm_server_cargo;
@property (nonatomic, strong) NSString* osrm_server_green;
@property (nonatomic, strong) NSNumber* geocoding_search_radius; //float
@property (nonatomic, strong) NSString* places_search_radius;
@property (nonatomic, strong) NSString* foursquare_search_radius;
@property (nonatomic, assign) int kort_search_radius;
@property (nonatomic, strong) NSString* kort_service;
@property (nonatomic, strong) NSString* places_language;
@property (nonatomic, strong) NSString* oiorest_search_radius;
@property (nonatomic, strong) NSString* oiorest_autocomplete_search_radius;
@property (nonatomic, strong) NSNumber* use_apple_geocoder; //BOOL
//@property (nonatomic, strong) NSString* google_analytics_key;
//@property (nonatomic, strong) NSString* google_api_key;
@property (nonatomic, strong) NSString* foursquare_id;
@property (nonatomic, strong) NSString* foursquare_secret;
@property (nonatomic, strong) NSString* foursquare_categories;
@property (nonatomic, strong) NSString* foursquare_limit;
//@property (nonatomic, strong) NSString* hockeyapp_beta_identifier;
//@property (nonatomic, strong) NSString* hockeyapp_live_identifier;
@property (nonatomic, strong) NSString* fb_app_id;
@property (nonatomic, strong) NSString* kort_username;
@property (nonatomic, strong) NSString* kort_password;
@property (nonatomic, strong) NSString* kort_max_results;
@property CGFloat route_polyline_precision;
+(SMRouteSettings*)sharedInstance;
@end