rhodes 3.2.0.beta.1 → 3.2.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
data/doc/device-caps.txt CHANGED
@@ -1201,13 +1201,16 @@ Preload map tiles for region (0<=zoom<=18):
1201
1201
  end
1202
1202
 
1203
1203
  def preload_map
1204
- min_zoom = 3
1205
- max_zoom = 13
1206
- top_latitude = 60.1
1207
- left_longitude = 30.0
1208
- bottom_latitude = 59.7
1209
- right_longitude = 30.6
1210
- total_tiles_for_preload_count = MapView.preload_map_tiles('OSM', 'roadmap', top_latitude, left_longitude, bottom_latitude, right_longitude, min_zoom, max_zoom, url_for(:action => :preload_callback))
1204
+ options = { :engine => 'OSM',
1205
+ :map_type => 'roadmap',
1206
+ :top_latitude => 60.1,
1207
+ :left_longitude => 30.0,
1208
+ :bottom_latitude => 59.7,
1209
+ :right_longitude => 30.6,
1210
+ :min_zoom => 9,
1211
+ :max_zoom => 11
1212
+ }
1213
+ total_tiles_for_preload_count = MapView.preload_map_tiles(options, url_for(:action => :preload_callback))
1211
1214
  redirect :action => :index
1212
1215
  end
1213
1216
 
@@ -874,7 +874,7 @@ public class RhodesService extends Service {
874
874
  if (params != null) {
875
875
  Bundle startParams = new Bundle();
876
876
  if (params instanceof String) {
877
- if (!((String)params).isEmpty()) {
877
+ if (((String)params).length() != 0) {
878
878
  String[] paramStrings = ((String)params).split("&");
879
879
  for(int i = 0; i < paramStrings.length; ++i) {
880
880
  String key = paramStrings[i];
@@ -194,6 +194,8 @@ double mapview_state_center_lon() {
194
194
  void mapview_set_file_caching_enable(int enable) {
195
195
  }
196
196
 
197
+ /*
197
198
  int mapview_preload_map_tiles(const char* engine, const char* map_type, double top_latitude, double left_longitude, double bottom_latitude, double right_longitude, int min_zoom, int max_zoom, const char* callback) {
198
199
  return 0;
199
200
  }
201
+ */
@@ -0,0 +1,60 @@
1
+ /*------------------------------------------------------------------------
2
+ * (The MIT License)
3
+ *
4
+ * Copyright (c) 2008-2011 Rhomobile, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ * THE SOFTWARE.
23
+ *
24
+ * http://rhomobile.com
25
+ *------------------------------------------------------------------------*/
26
+
27
+ #ifdef __IPHONE_3_0
28
+
29
+ #import <MapKit/MapKit.h>
30
+ #import <MapKit/MKAnnotation.h>
31
+ #import <MapKit/MKReverseGeocoder.h>
32
+ #import "GoogleGeocoder.h"
33
+ #import "RhoViewController.h"
34
+
35
+ #include "ruby/ext/rho/rhoruby.h"
36
+
37
+
38
+ #import "MapViewManager.h"
39
+
40
+ @interface RhoMapViewController : RhoViewController {
41
+ UIView *mapView;
42
+ UIToolbar* toolbar;
43
+ UIView* savedMainView;
44
+ }
45
+
46
+ //
47
+ @property (nonatomic,retain) UIView *savedMainView;
48
+
49
+ + (void)createMap:(rho_param*)params;
50
+ + (void)closeMap;
51
+ + (BOOL)isStarted;
52
+ + (double)centerLatitude;
53
+ + (double)centerLongitude;
54
+
55
+ - (void)close;
56
+ - (void)setParams:(rho_param*)params;
57
+
58
+ @end
59
+
60
+ #endif
@@ -0,0 +1,217 @@
1
+ /*------------------------------------------------------------------------
2
+ * (The MIT License)
3
+ *
4
+ * Copyright (c) 2008-2011 Rhomobile, Inc.
5
+ *
6
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ * of this software and associated documentation files (the "Software"), to deal
8
+ * in the Software without restriction, including without limitation the rights
9
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ * copies of the Software, and to permit persons to whom the Software is
11
+ * furnished to do so, subject to the following conditions:
12
+ *
13
+ * The above copyright notice and this permission notice shall be included in
14
+ * all copies or substantial portions of the Software.
15
+ *
16
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ * THE SOFTWARE.
23
+ *
24
+ * http://rhomobile.com
25
+ *------------------------------------------------------------------------*/
26
+
27
+ #ifdef __IPHONE_3_0
28
+
29
+ #import "MapAnnotation.h"
30
+ #import "RhoMapViewController.h"
31
+ #import "Rhodes.h"
32
+ #import "RhoMainView.h"
33
+
34
+ #include "logging/RhoLog.h"
35
+ #include "ruby/ext/rho/rhoruby.h"
36
+
37
+ #undef DEFAULT_LOGCATEGORY
38
+ #define DEFAULT_LOGCATEGORY "MapView"
39
+
40
+ static RhoMapViewController *mc = nil;
41
+
42
+ @interface RhoCreateRhoMapTask : NSObject {}
43
+ + (void)run:(NSValue*)value;
44
+ @end
45
+
46
+ @implementation RhoCreateRhoMapTask
47
+ + (void)run:(NSValue*)value {
48
+ if (mc) {
49
+ [mc close];
50
+ mc = nil;
51
+ }
52
+ RhoMapViewController* map = [[RhoMapViewController alloc] init];
53
+ [map setParams:[value pointerValue]];
54
+ UIWindow *window = [[Rhodes sharedInstance] rootWindow];
55
+ map.view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
56
+ map.view.autoresizesSubviews = YES;
57
+
58
+ UIView* v = [[[Rhodes sharedInstance] mainView] view];
59
+ map.savedMainView = v;
60
+ [map.savedMainView retain];
61
+ [map.savedMainView removeFromSuperview];
62
+ [window addSubview:map.view];
63
+ mc = map;
64
+ }
65
+ @end
66
+
67
+ @interface RhoCloseRhoMapTask : NSObject
68
+ + (void)run;
69
+ @end
70
+
71
+ @implementation RhoCloseRhoMapTask
72
+ + (void)run {
73
+ if (mc) {
74
+ [mc close];
75
+ mc = nil;
76
+ }
77
+ }
78
+ @end
79
+
80
+
81
+ @implementation RhoMapViewController
82
+
83
+ @synthesize savedMainView;
84
+
85
+ + (void)createMap:(rho_param *)params {
86
+ id runnable = [RhoCreateRhoMapTask class];
87
+ id arg = [NSValue valueWithPointer:params];
88
+ [Rhodes performOnUiThread:runnable arg:arg wait:NO];
89
+ }
90
+
91
+ + (void)closeMap {
92
+ id runnable = [RhoCloseRhoMapTask class];
93
+ [Rhodes performOnUiThread:runnable wait:NO];
94
+ }
95
+
96
+ - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
97
+ if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
98
+ // setup
99
+
100
+ }
101
+ return self;
102
+ }
103
+
104
+ - (void)close {
105
+ [self dismissModalViewControllerAnimated:YES];
106
+
107
+ UIWindow *window = [[Rhodes sharedInstance] rootWindow];
108
+
109
+
110
+ [window addSubview:self.savedMainView];
111
+ [self.view removeFromSuperview];
112
+
113
+ [self.savedMainView release];
114
+ self.savedMainView = nil;
115
+ }
116
+
117
+ - (void)setParams:(rho_param*)p {
118
+
119
+
120
+
121
+ rho_param_free(p);
122
+ }
123
+
124
+
125
+ // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
126
+ - (void)viewDidLoad {
127
+ [super viewDidLoad];
128
+
129
+ //Initialize the toolbar
130
+ toolbar = [[UIToolbar alloc] init];
131
+ toolbar.barStyle = UIBarStyleBlack;
132
+ UIBarButtonItem *closeButton = [[UIBarButtonItem alloc]
133
+ initWithTitle:@"Close" style:UIBarButtonItemStyleBordered
134
+ target:self action:@selector(close_clicked:)];
135
+ [toolbar setItems:[NSArray arrayWithObjects:closeButton,nil]];
136
+
137
+
138
+ toolbar.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin |
139
+ UIViewAutoresizingFlexibleWidth;
140
+ toolbar.autoresizesSubviews = YES;
141
+ [toolbar sizeToFit];
142
+
143
+ CGFloat toolbarHeight = [toolbar frame].size.height;
144
+ // hack for do not reduce height of toolbar in Landscape mode
145
+ if (toolbarHeight < 44) {
146
+ toolbarHeight = 44;
147
+ }
148
+
149
+ CGRect rootViewBounds = [[[Rhodes sharedInstance] mainView] view].frame;//bounds;
150
+
151
+ self.view.frame = rootViewBounds;
152
+
153
+ CGFloat rootViewHeight = rootViewBounds.size.height;
154
+ //CGFloat rootViewHeight = CGRectGetHeight(rootViewBounds);
155
+ CGFloat rootViewWidth = CGRectGetWidth(rootViewBounds);
156
+ CGRect rectArea = CGRectMake(0, rootViewHeight - toolbarHeight, rootViewWidth, toolbarHeight);
157
+ toolbar.frame = rectArea;
158
+
159
+
160
+ [self.view addSubview:toolbar];
161
+ [closeButton release];
162
+
163
+ CGRect rectMapArea = CGRectMake(0, 0, rootViewWidth, rootViewHeight - toolbarHeight);
164
+ //mapView =[[MKMapView alloc] initWithFrame:rectMapArea];
165
+ mapView = [[UIView alloc] initWithFrame:rectMapArea];
166
+ mapView.frame = rectMapArea;
167
+ //mapView.delegate=self;
168
+ mapView.autoresizesSubviews = YES;
169
+ mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
170
+ mapView.backgroundColor = [UIColor groupTableViewBackgroundColor];
171
+
172
+
173
+ [self.view insertSubview:mapView atIndex:0];
174
+ //[[self.view superview] layoutSubviews];
175
+
176
+ }
177
+
178
+ - (void) close_clicked:(id)sender {
179
+ [self close];
180
+ //mc = nil;
181
+ }
182
+
183
+ - (void)didReceiveMemoryWarning {
184
+ // Releases the view if it doesn't have a superview.
185
+ [super didReceiveMemoryWarning];
186
+
187
+ // Release any cached data, images, etc that aren't in use.
188
+ }
189
+
190
+ - (void)viewDidUnload {
191
+ // Release any retained subviews of the main view.
192
+ // e.g. self.myOutlet = nil;
193
+ }
194
+
195
+
196
+ - (void)dealloc {
197
+ [super dealloc];
198
+ }
199
+
200
+
201
+
202
+ + (BOOL)isStarted {
203
+ return mc != nil;
204
+ }
205
+
206
+ + (double)centerLatitude {
207
+ return 0.0;
208
+ }
209
+
210
+ + (double)centerLongitude {
211
+ return 0.0;
212
+ }
213
+
214
+
215
+ @end
216
+
217
+ #endif
@@ -76,6 +76,20 @@
76
76
  BDFCB13E112EE2B500AE3724 /* ssl.h in Headers */ = {isa = PBXBuildFile; fileRef = BDFCB13C112EE2B500AE3724 /* ssl.h */; };
77
77
  FA5F58DF12ADDA6D00C7613A /* app_build_configs.c in Sources */ = {isa = PBXBuildFile; fileRef = FA5F58DD12ADDA6D00C7613A /* app_build_configs.c */; };
78
78
  FA5F58E012ADDA6D00C7613A /* app_build_configs.h in Headers */ = {isa = PBXBuildFile; fileRef = FA5F58DE12ADDA6D00C7613A /* app_build_configs.h */; };
79
+ FAC6EE5B143B1FC800B8E352 /* BaseMapEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE4F143B1FC800B8E352 /* BaseMapEngine.cpp */; };
80
+ FAC6EE5C143B1FC800B8E352 /* BaseMapEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE50143B1FC800B8E352 /* BaseMapEngine.h */; };
81
+ FAC6EE5D143B1FC800B8E352 /* ESRIMapEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE51143B1FC800B8E352 /* ESRIMapEngine.cpp */; };
82
+ FAC6EE5E143B1FC800B8E352 /* ESRIMapEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE52143B1FC800B8E352 /* ESRIMapEngine.h */; };
83
+ FAC6EE5F143B1FC800B8E352 /* GeocodingMapEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE53143B1FC800B8E352 /* GeocodingMapEngine.cpp */; };
84
+ FAC6EE60143B1FC800B8E352 /* GeocodingMapEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE54143B1FC800B8E352 /* GeocodingMapEngine.h */; };
85
+ FAC6EE61143B1FC800B8E352 /* GoogleMapEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE55143B1FC800B8E352 /* GoogleMapEngine.cpp */; };
86
+ FAC6EE62143B1FC800B8E352 /* GoogleMapEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE56143B1FC800B8E352 /* GoogleMapEngine.h */; };
87
+ FAC6EE63143B1FC800B8E352 /* MapEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE57143B1FC800B8E352 /* MapEngine.cpp */; };
88
+ FAC6EE64143B1FC800B8E352 /* MapEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE58143B1FC800B8E352 /* MapEngine.h */; };
89
+ FAC6EE65143B1FC800B8E352 /* OSMMapEngine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE59143B1FC800B8E352 /* OSMMapEngine.cpp */; };
90
+ FAC6EE66143B1FC800B8E352 /* OSMMapEngine.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE5A143B1FC800B8E352 /* OSMMapEngine.h */; };
91
+ FAC6EE69143B20B600B8E352 /* RhoMath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE67143B20B600B8E352 /* RhoMath.cpp */; };
92
+ FAC6EE6A143B20B600B8E352 /* RhoMath.h in Headers */ = {isa = PBXBuildFile; fileRef = FAC6EE68143B20B600B8E352 /* RhoMath.h */; };
79
93
  /* End PBXBuildFile section */
80
94
 
81
95
  /* Begin PBXFileReference section */
@@ -149,6 +163,20 @@
149
163
  D2AAC046055464E500DB518D /* librholib.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = librholib.a; sourceTree = BUILT_PRODUCTS_DIR; };
150
164
  FA5F58DD12ADDA6D00C7613A /* app_build_configs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = app_build_configs.c; path = ../../shared/common/app_build_configs.c; sourceTree = SOURCE_ROOT; };
151
165
  FA5F58DE12ADDA6D00C7613A /* app_build_configs.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = app_build_configs.h; path = ../../shared/common/app_build_configs.h; sourceTree = SOURCE_ROOT; };
166
+ FAC6EE4F143B1FC800B8E352 /* BaseMapEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = BaseMapEngine.cpp; path = ../../shared/common/map/BaseMapEngine.cpp; sourceTree = "<group>"; };
167
+ FAC6EE50143B1FC800B8E352 /* BaseMapEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BaseMapEngine.h; path = ../../shared/common/map/BaseMapEngine.h; sourceTree = "<group>"; };
168
+ FAC6EE51143B1FC800B8E352 /* ESRIMapEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = ESRIMapEngine.cpp; path = ../../shared/common/map/ESRIMapEngine.cpp; sourceTree = "<group>"; };
169
+ FAC6EE52143B1FC800B8E352 /* ESRIMapEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ESRIMapEngine.h; path = ../../shared/common/map/ESRIMapEngine.h; sourceTree = "<group>"; };
170
+ FAC6EE53143B1FC800B8E352 /* GeocodingMapEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = GeocodingMapEngine.cpp; path = ../../shared/common/map/GeocodingMapEngine.cpp; sourceTree = "<group>"; };
171
+ FAC6EE54143B1FC800B8E352 /* GeocodingMapEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GeocodingMapEngine.h; path = ../../shared/common/map/GeocodingMapEngine.h; sourceTree = "<group>"; };
172
+ FAC6EE55143B1FC800B8E352 /* GoogleMapEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = GoogleMapEngine.cpp; path = ../../shared/common/map/GoogleMapEngine.cpp; sourceTree = "<group>"; };
173
+ FAC6EE56143B1FC800B8E352 /* GoogleMapEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = GoogleMapEngine.h; path = ../../shared/common/map/GoogleMapEngine.h; sourceTree = "<group>"; };
174
+ FAC6EE57143B1FC800B8E352 /* MapEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = MapEngine.cpp; path = ../../shared/common/map/MapEngine.cpp; sourceTree = "<group>"; };
175
+ FAC6EE58143B1FC800B8E352 /* MapEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = MapEngine.h; path = ../../shared/common/map/MapEngine.h; sourceTree = "<group>"; };
176
+ FAC6EE59143B1FC800B8E352 /* OSMMapEngine.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = OSMMapEngine.cpp; path = ../../shared/common/map/OSMMapEngine.cpp; sourceTree = "<group>"; };
177
+ FAC6EE5A143B1FC800B8E352 /* OSMMapEngine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = OSMMapEngine.h; path = ../../shared/common/map/OSMMapEngine.h; sourceTree = "<group>"; };
178
+ FAC6EE67143B20B600B8E352 /* RhoMath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RhoMath.cpp; path = ../../shared/common/RhoMath.cpp; sourceTree = "<group>"; };
179
+ FAC6EE68143B20B600B8E352 /* RhoMath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RhoMath.h; path = ../../shared/common/RhoMath.h; sourceTree = "<group>"; };
152
180
  /* End PBXFileReference section */
153
181
 
154
182
  /* Begin PBXFrameworksBuildPhase section */
@@ -215,6 +243,9 @@
215
243
  5C7162600F8B7DEE0096B6AA /* common */ = {
216
244
  isa = PBXGroup;
217
245
  children = (
246
+ FAC6EE67143B20B600B8E352 /* RhoMath.cpp */,
247
+ FAC6EE68143B20B600B8E352 /* RhoMath.h */,
248
+ FAC6EE4C143B1F1E00B8E352 /* map */,
218
249
  5C0F94DE132979140093FA1B /* RhoTime.cpp */,
219
250
  FA5F58DD12ADDA6D00C7613A /* app_build_configs.c */,
220
251
  FA5F58DE12ADDA6D00C7613A /* app_build_configs.h */,
@@ -319,6 +350,25 @@
319
350
  name = Documentation;
320
351
  sourceTree = "<group>";
321
352
  };
353
+ FAC6EE4C143B1F1E00B8E352 /* map */ = {
354
+ isa = PBXGroup;
355
+ children = (
356
+ FAC6EE4F143B1FC800B8E352 /* BaseMapEngine.cpp */,
357
+ FAC6EE50143B1FC800B8E352 /* BaseMapEngine.h */,
358
+ FAC6EE51143B1FC800B8E352 /* ESRIMapEngine.cpp */,
359
+ FAC6EE52143B1FC800B8E352 /* ESRIMapEngine.h */,
360
+ FAC6EE53143B1FC800B8E352 /* GeocodingMapEngine.cpp */,
361
+ FAC6EE54143B1FC800B8E352 /* GeocodingMapEngine.h */,
362
+ FAC6EE55143B1FC800B8E352 /* GoogleMapEngine.cpp */,
363
+ FAC6EE56143B1FC800B8E352 /* GoogleMapEngine.h */,
364
+ FAC6EE57143B1FC800B8E352 /* MapEngine.cpp */,
365
+ FAC6EE58143B1FC800B8E352 /* MapEngine.h */,
366
+ FAC6EE59143B1FC800B8E352 /* OSMMapEngine.cpp */,
367
+ FAC6EE5A143B1FC800B8E352 /* OSMMapEngine.h */,
368
+ );
369
+ name = map;
370
+ sourceTree = "<group>";
371
+ };
322
372
  /* End PBXGroup section */
323
373
 
324
374
  /* Begin PBXHeadersBuildPhase section */
@@ -366,6 +416,13 @@
366
416
  5C2CE255122AEC87005EDBC4 /* RhoAppAdapter.h in Headers */,
367
417
  FA5F58E012ADDA6D00C7613A /* app_build_configs.h in Headers */,
368
418
  5CE03CCD12DB7E990058B474 /* sqlite3.h in Headers */,
419
+ FAC6EE5C143B1FC800B8E352 /* BaseMapEngine.h in Headers */,
420
+ FAC6EE5E143B1FC800B8E352 /* ESRIMapEngine.h in Headers */,
421
+ FAC6EE60143B1FC800B8E352 /* GeocodingMapEngine.h in Headers */,
422
+ FAC6EE62143B1FC800B8E352 /* GoogleMapEngine.h in Headers */,
423
+ FAC6EE64143B1FC800B8E352 /* MapEngine.h in Headers */,
424
+ FAC6EE66143B1FC800B8E352 /* OSMMapEngine.h in Headers */,
425
+ FAC6EE6A143B20B600B8E352 /* RhoMath.h in Headers */,
369
426
  );
370
427
  runOnlyForDeploymentPostprocessing = 0;
371
428
  };
@@ -447,6 +504,13 @@
447
504
  5CE03CCC12DB7E990058B474 /* sqlite3.c in Sources */,
448
505
  5CB821AE1312487100778441 /* INetRequest.cpp in Sources */,
449
506
  5C0F94DF132979140093FA1B /* RhoTime.cpp in Sources */,
507
+ FAC6EE5B143B1FC800B8E352 /* BaseMapEngine.cpp in Sources */,
508
+ FAC6EE5D143B1FC800B8E352 /* ESRIMapEngine.cpp in Sources */,
509
+ FAC6EE5F143B1FC800B8E352 /* GeocodingMapEngine.cpp in Sources */,
510
+ FAC6EE61143B1FC800B8E352 /* GoogleMapEngine.cpp in Sources */,
511
+ FAC6EE63143B1FC800B8E352 /* MapEngine.cpp in Sources */,
512
+ FAC6EE65143B1FC800B8E352 /* OSMMapEngine.cpp in Sources */,
513
+ FAC6EE69143B20B600B8E352 /* RhoMath.cpp in Sources */,
450
514
  );
451
515
  runOnlyForDeploymentPostprocessing = 0;
452
516
  };
@@ -86,6 +86,7 @@
86
86
  FA52317B12E7511700AB55CC /* esri.png in Resources */ = {isa = PBXBuildFile; fileRef = FA52317412E7511700AB55CC /* esri.png */; };
87
87
  FA52317C12E7511700AB55CC /* esri@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FA52317512E7511700AB55CC /* esri@2x.png */; };
88
88
  FA52330112E9204300AB55CC /* BluePushpin@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = FA52330012E9204300AB55CC /* BluePushpin@2x.png */; };
89
+ FAC6EE6D143B3AF100B8E352 /* RhoMapViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FAC6EE6C143B3AF100B8E352 /* RhoMapViewController.m */; };
89
90
  FACA4C781270AC0900777CFF /* LeftViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FACA4C711270AC0900777CFF /* LeftViewController.m */; };
90
91
  FACA4C791270AC0900777CFF /* RightViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = FACA4C731270AC0900777CFF /* RightViewController.m */; };
91
92
  FACA4C7A1270AC0900777CFF /* SplittedMainView.m in Sources */ = {isa = PBXBuildFile; fileRef = FACA4C751270AC0900777CFF /* SplittedMainView.m */; };
@@ -287,6 +288,8 @@
287
288
  FA52317412E7511700AB55CC /* esri.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = esri.png; path = ESRI/esri.png; sourceTree = "<group>"; };
288
289
  FA52317512E7511700AB55CC /* esri@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "esri@2x.png"; path = "ESRI/esri@2x.png"; sourceTree = "<group>"; };
289
290
  FA52330012E9204300AB55CC /* BluePushpin@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "BluePushpin@2x.png"; path = "ESRI/BluePushpin@2x.png"; sourceTree = "<group>"; };
291
+ FAC6EE6B143B3AF100B8E352 /* RhoMapViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RhoMapViewController.h; path = MapView/RhoMapViewController.h; sourceTree = "<group>"; };
292
+ FAC6EE6C143B3AF100B8E352 /* RhoMapViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RhoMapViewController.m; path = MapView/RhoMapViewController.m; sourceTree = "<group>"; };
290
293
  FACA4C701270AC0900777CFF /* LeftViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = LeftViewController.h; path = SplitView/LeftViewController.h; sourceTree = "<group>"; };
291
294
  FACA4C711270AC0900777CFF /* LeftViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = LeftViewController.m; path = SplitView/LeftViewController.m; sourceTree = "<group>"; };
292
295
  FACA4C721270AC0900777CFF /* RightViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RightViewController.h; path = SplitView/RightViewController.h; sourceTree = "<group>"; };
@@ -581,6 +584,8 @@
581
584
  F5425BCD1060539A000CCA8C /* MapView */ = {
582
585
  isa = PBXGroup;
583
586
  children = (
587
+ FAC6EE6B143B3AF100B8E352 /* RhoMapViewController.h */,
588
+ FAC6EE6C143B3AF100B8E352 /* RhoMapViewController.m */,
584
589
  FA52300B12E4BBC700AB55CC /* MapViewManager.h */,
585
590
  FA52300C12E4BBC700AB55CC /* MapViewManager.m */,
586
591
  F5128C2A106C1FF3002F00E5 /* GoogleGeocoder.h */,
@@ -996,6 +1001,7 @@
996
1001
  FA522E8012DEA7B300AB55CC /* NVViewController.m in Sources */,
997
1002
  FA522E8112DEA7B300AB55CC /* RhoNativeViewManager.mm in Sources */,
998
1003
  FA52300D12E4BBC700AB55CC /* MapViewManager.m in Sources */,
1004
+ FAC6EE6D143B3AF100B8E352 /* RhoMapViewController.m in Sources */,
999
1005
  );
1000
1006
  runOnlyForDeploymentPostprocessing = 0;
1001
1007
  };