Authored by Hal Mueller

added some engineering data display on the flipside view

@@ -35,6 +35,7 @@ @@ -35,6 +35,7 @@
35 UILabel *centerLon; 35 UILabel *centerLon;
36 UILabel *zoomLevel; 36 UILabel *zoomLevel;
37 UILabel *rmscale; 37 UILabel *rmscale;
  38 + UILabel *truescale;
38 } 39 }
39 40
40 #pragma mark - 41 #pragma mark -
@@ -44,5 +45,6 @@ @@ -44,5 +45,6 @@
44 @property(nonatomic,retain) IBOutlet UILabel *centerLon; 45 @property(nonatomic,retain) IBOutlet UILabel *centerLon;
45 @property(nonatomic,retain) IBOutlet UILabel *zoomLevel; 46 @property(nonatomic,retain) IBOutlet UILabel *zoomLevel;
46 @property(nonatomic,retain) IBOutlet UILabel *rmscale; 47 @property(nonatomic,retain) IBOutlet UILabel *rmscale;
  48 +@property(nonatomic,retain) IBOutlet UILabel *truescale;
47 49
48 @end 50 @end
@@ -29,7 +29,8 @@ @@ -29,7 +29,8 @@
29 // 29 //
30 30
31 #import "FlipsideViewController.h" 31 #import "FlipsideViewController.h"
32 - 32 +#import "MapSampleAppDelegate.h"
  33 +#import "MyMapView.h"
33 34
34 @implementation FlipsideViewController 35 @implementation FlipsideViewController
35 36
@@ -40,6 +41,7 @@ @@ -40,6 +41,7 @@
40 @synthesize centerLon; 41 @synthesize centerLon;
41 @synthesize zoomLevel; 42 @synthesize zoomLevel;
42 @synthesize rmscale; 43 @synthesize rmscale;
  44 +@synthesize truescale;
43 45
44 46
45 // init 47 // init
@@ -52,7 +54,7 @@ @@ -52,7 +54,7 @@
52 54
53 - (void)viewDidLoad { 55 - (void)viewDidLoad {
54 [super viewDidLoad]; 56 [super viewDidLoad];
55 - self.view.backgroundColor = [UIColor viewFlipsideBackgroundColor]; 57 + self.view.backgroundColor = [UIColor viewFlipsideBackgroundColor];
56 } 58 }
57 59
58 60
@@ -70,12 +72,27 @@ @@ -70,12 +72,27 @@
70 // Release anything that's not essential, such as cached data 72 // Release anything that's not essential, such as cached data
71 } 73 }
72 74
  75 +- (void)viewDidAppear:(BOOL)animated {
  76 + NSLog(@"viewDidAppear");
  77 + RMMapContents *contents = [(MapSampleAppDelegate *)[[UIApplication sharedApplication] delegate] mapContents];
  78 + CLLocationCoordinate2D mapCenter = [contents mapCenter];
  79 + [centerLat setText:[NSString stringWithFormat:@"%f", mapCenter.latitude]];
  80 + [centerLon setText:[NSString stringWithFormat:@"%f", mapCenter.longitude]];
  81 + [zoomLevel setText:[NSString stringWithFormat:@"%.2f", [contents zoom]]];
  82 + float routemeMetersPerPixel = [contents scale]; // really meters/pixel
  83 + [rmscale setText:[NSString stringWithFormat:@"%.1f", routemeMetersPerPixel]];
  84 +
  85 + float iphoneMillimetersPerPixel = .1543;
  86 + float truescaleDenominator = routemeMetersPerPixel / (0.001 * iphoneMillimetersPerPixel) ;
  87 + [truescale setText:[NSString stringWithFormat:@"1:%.0f", truescaleDenominator]];
  88 +}
73 89
74 - (void)dealloc { 90 - (void)dealloc {
75 self.centerLat = nil; 91 self.centerLat = nil;
76 self.centerLon = nil; 92 self.centerLon = nil;
77 self.zoomLevel = nil; 93 self.zoomLevel = nil;
78 self.rmscale = nil; 94 self.rmscale = nil;
  95 + self.truescale = nil;
79 [super dealloc]; 96 [super dealloc];
80 } 97 }
81 98
@@ -29,6 +29,7 @@ @@ -29,6 +29,7 @@
29 // 29 //
30 30
31 #import "MainViewController.h" 31 #import "MainViewController.h"
  32 +#import "MapSampleAppDelegate.h"
32 #import "MyMapView.h" 33 #import "MyMapView.h"
33 34
34 @implementation MainViewController 35 @implementation MainViewController
@@ -42,12 +43,13 @@ @@ -42,12 +43,13 @@
42 } 43 }
43 44
44 45
45 -/* 46 +
46 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. 47 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
47 - (void)viewDidLoad { 48 - (void)viewDidLoad {
48 [super viewDidLoad]; 49 [super viewDidLoad];
  50 + [(MapSampleAppDelegate *)[[UIApplication sharedApplication] delegate] setMapContents:[(MyMapView *)[self view] contents]];
49 } 51 }
50 -*/ 52 +
51 53
52 54
53 /* 55 /*
@@ -29,16 +29,19 @@ @@ -29,16 +29,19 @@
29 // 29 //
30 30
31 #import <UIKit/UIKit.h> 31 #import <UIKit/UIKit.h>
  32 +#import "RMMapView.h"
32 33
33 @class RootViewController; 34 @class RootViewController;
34 35
35 @interface MapSampleAppDelegate : NSObject <UIApplicationDelegate> { 36 @interface MapSampleAppDelegate : NSObject <UIApplicationDelegate> {
36 UIWindow *window; 37 UIWindow *window;
37 RootViewController *rootViewController; 38 RootViewController *rootViewController;
  39 + RMMapContents *mapContents;
38 } 40 }
39 41
40 @property (nonatomic, retain) IBOutlet UIWindow *window; 42 @property (nonatomic, retain) IBOutlet UIWindow *window;
41 @property (nonatomic, retain) IBOutlet RootViewController *rootViewController; 43 @property (nonatomic, retain) IBOutlet RootViewController *rootViewController;
  44 +@property(nonatomic,retain) RMMapContents *mapContents;
42 45
43 @end 46 @end
44 47
@@ -36,7 +36,7 @@ @@ -36,7 +36,7 @@
36 36
37 @synthesize window; 37 @synthesize window;
38 @synthesize rootViewController; 38 @synthesize rootViewController;
39 - 39 +@synthesize mapContents;
40 40
41 - (void)applicationDidFinishLaunching:(UIApplication *)application { 41 - (void)applicationDidFinishLaunching:(UIApplication *)application {
42 42
@@ -32,7 +32,6 @@ @@ -32,7 +32,6 @@
32 32
33 @implementation MyMapView 33 @implementation MyMapView
34 34
35 -  
36 - (id)initWithFrame:(CGRect)frame { 35 - (id)initWithFrame:(CGRect)frame {
37 if (self = [super initWithFrame:frame]) { 36 if (self = [super initWithFrame:frame]) {
38 // Initialization code 37 // Initialization code
@@ -45,7 +44,6 @@ @@ -45,7 +44,6 @@
45 // Drawing code 44 // Drawing code
46 } 45 }
47 46
48 -  
49 - (void)dealloc { 47 - (void)dealloc {
50 [super dealloc]; 48 [super dealloc];
51 } 49 }
@@ -36,103 +36,150 @@ @@ -36,103 +36,150 @@
36 <int key="NSvFlags">274</int> 36 <int key="NSvFlags">274</int>
37 <object class="NSMutableArray" key="NSSubviews"> 37 <object class="NSMutableArray" key="NSSubviews">
38 <bool key="EncodedWithXMLCoder">YES</bool> 38 <bool key="EncodedWithXMLCoder">YES</bool>
39 - <object class="IBUILabel" id="287574730"> 39 + <object class="IBUILabel" id="336199844">
40 <reference key="NSNextResponder" ref="249263867"/> 40 <reference key="NSNextResponder" ref="249263867"/>
41 <int key="NSvFlags">292</int> 41 <int key="NSvFlags">292</int>
42 - <string key="NSFrame">{{144, 59}, {56, 21}}</string> 42 + <string key="NSFrame">{{131, 91}, {85, 21}}</string>
43 <reference key="NSSuperview" ref="249263867"/> 43 <reference key="NSSuperview" ref="249263867"/>
44 <bool key="IBUIOpaque">NO</bool> 44 <bool key="IBUIOpaque">NO</bool>
45 <bool key="IBUIClipsSubviews">YES</bool> 45 <bool key="IBUIClipsSubviews">YES</bool>
46 <bool key="IBUIUserInteractionEnabled">NO</bool> 46 <bool key="IBUIUserInteractionEnabled">NO</bool>
47 - <string key="IBUIText">Center:</string>  
48 - <object class="NSColor" key="IBUITextColor" id="262931149"> 47 + <string key="IBUIText">Center Lat:</string>
  48 + <object class="NSColor" key="IBUITextColor" id="872501489">
49 <int key="NSColorSpace">1</int> 49 <int key="NSColorSpace">1</int>
50 <bytes key="NSRGB">MSAxIDEAA</bytes> 50 <bytes key="NSRGB">MSAxIDEAA</bytes>
51 </object> 51 </object>
52 <nil key="IBUIHighlightedColor"/> 52 <nil key="IBUIHighlightedColor"/>
53 <int key="IBUIBaselineAdjustment">1</int> 53 <int key="IBUIBaselineAdjustment">1</int>
54 <float key="IBUIMinimumFontSize">1.000000e+01</float> 54 <float key="IBUIMinimumFontSize">1.000000e+01</float>
  55 + <int key="IBUITextAlignment">2</int>
55 </object> 56 </object>
56 - <object class="IBUILabel" id="670366007"> 57 + <object class="IBUILabel" id="141815128">
57 <reference key="NSNextResponder" ref="249263867"/> 58 <reference key="NSNextResponder" ref="249263867"/>
58 <int key="NSvFlags">292</int> 59 <int key="NSvFlags">292</int>
59 - <string key="NSFrame">{{208, 59}, {42, 21}}</string> 60 + <string key="NSFrame">{{127, 120}, {89, 21}}</string>
  61 + <reference key="NSSuperview" ref="249263867"/>
  62 + <bool key="IBUIOpaque">NO</bool>
  63 + <bool key="IBUIClipsSubviews">YES</bool>
  64 + <bool key="IBUIUserInteractionEnabled">NO</bool>
  65 + <string key="IBUIText">Center Lon:</string>
  66 + <reference key="IBUITextColor" ref="872501489"/>
  67 + <nil key="IBUIHighlightedColor"/>
  68 + <int key="IBUIBaselineAdjustment">1</int>
  69 + <float key="IBUIMinimumFontSize">1.000000e+01</float>
  70 + <int key="IBUITextAlignment">2</int>
  71 + </object>
  72 + <object class="IBUILabel" id="561724603">
  73 + <reference key="NSNextResponder" ref="249263867"/>
  74 + <int key="NSvFlags">292</int>
  75 + <string key="NSFrame">{{224, 91}, {86, 21}}</string>
60 <reference key="NSSuperview" ref="249263867"/> 76 <reference key="NSSuperview" ref="249263867"/>
61 <bool key="IBUIOpaque">NO</bool> 77 <bool key="IBUIOpaque">NO</bool>
62 <bool key="IBUIClipsSubviews">YES</bool> 78 <bool key="IBUIClipsSubviews">YES</bool>
63 <bool key="IBUIUserInteractionEnabled">NO</bool> 79 <bool key="IBUIUserInteractionEnabled">NO</bool>
64 <string key="IBUIText">Label</string> 80 <string key="IBUIText">Label</string>
65 - <reference key="IBUITextColor" ref="262931149"/> 81 + <reference key="IBUITextColor" ref="872501489"/>
66 <nil key="IBUIHighlightedColor"/> 82 <nil key="IBUIHighlightedColor"/>
67 <int key="IBUIBaselineAdjustment">1</int> 83 <int key="IBUIBaselineAdjustment">1</int>
68 <float key="IBUIMinimumFontSize">1.000000e+01</float> 84 <float key="IBUIMinimumFontSize">1.000000e+01</float>
69 </object> 85 </object>
70 - <object class="IBUILabel" id="254178060"> 86 + <object class="IBUILabel" id="30982843">
71 <reference key="NSNextResponder" ref="249263867"/> 87 <reference key="NSNextResponder" ref="249263867"/>
72 <int key="NSvFlags">292</int> 88 <int key="NSvFlags">292</int>
73 - <string key="NSFrame">{{111, 88}, {89, 21}}</string> 89 + <string key="NSFrame">{{127, 159}, {89, 21}}</string>
74 <reference key="NSSuperview" ref="249263867"/> 90 <reference key="NSSuperview" ref="249263867"/>
75 <bool key="IBUIOpaque">NO</bool> 91 <bool key="IBUIOpaque">NO</bool>
76 <bool key="IBUIClipsSubviews">YES</bool> 92 <bool key="IBUIClipsSubviews">YES</bool>
77 <bool key="IBUIUserInteractionEnabled">NO</bool> 93 <bool key="IBUIUserInteractionEnabled">NO</bool>
78 <string key="IBUIText">zoomLevel:</string> 94 <string key="IBUIText">zoomLevel:</string>
79 - <reference key="IBUITextColor" ref="262931149"/> 95 + <reference key="IBUITextColor" ref="872501489"/>
80 <nil key="IBUIHighlightedColor"/> 96 <nil key="IBUIHighlightedColor"/>
81 <int key="IBUIBaselineAdjustment">1</int> 97 <int key="IBUIBaselineAdjustment">1</int>
82 <float key="IBUIMinimumFontSize">1.000000e+01</float> 98 <float key="IBUIMinimumFontSize">1.000000e+01</float>
  99 + <int key="IBUITextAlignment">2</int>
83 </object> 100 </object>
84 - <object class="IBUILabel" id="884551957"> 101 + <object class="IBUILabel" id="971773762">
85 <reference key="NSNextResponder" ref="249263867"/> 102 <reference key="NSNextResponder" ref="249263867"/>
86 <int key="NSvFlags">292</int> 103 <int key="NSvFlags">292</int>
87 - <string key="NSFrame">{{208, 88}, {42, 21}}</string> 104 + <string key="NSFrame">{{224, 159}, {42, 21}}</string>
88 <reference key="NSSuperview" ref="249263867"/> 105 <reference key="NSSuperview" ref="249263867"/>
89 <bool key="IBUIOpaque">NO</bool> 106 <bool key="IBUIOpaque">NO</bool>
90 <bool key="IBUIClipsSubviews">YES</bool> 107 <bool key="IBUIClipsSubviews">YES</bool>
91 <bool key="IBUIUserInteractionEnabled">NO</bool> 108 <bool key="IBUIUserInteractionEnabled">NO</bool>
92 <string key="IBUIText">Label</string> 109 <string key="IBUIText">Label</string>
93 - <reference key="IBUITextColor" ref="262931149"/> 110 + <reference key="IBUITextColor" ref="872501489"/>
94 <nil key="IBUIHighlightedColor"/> 111 <nil key="IBUIHighlightedColor"/>
95 <int key="IBUIBaselineAdjustment">1</int> 112 <int key="IBUIBaselineAdjustment">1</int>
96 <float key="IBUIMinimumFontSize">1.000000e+01</float> 113 <float key="IBUIMinimumFontSize">1.000000e+01</float>
97 </object> 114 </object>
98 - <object class="IBUILabel" id="820332677"> 115 + <object class="IBUILabel" id="43404614">
99 <reference key="NSNextResponder" ref="249263867"/> 116 <reference key="NSNextResponder" ref="249263867"/>
100 <int key="NSvFlags">292</int> 117 <int key="NSvFlags">292</int>
101 - <string key="NSFrame">{{35, 117}, {165, 21}}</string> 118 + <string key="NSFrame">{{20, 188}, {196, 21}}</string>
102 <reference key="NSSuperview" ref="249263867"/> 119 <reference key="NSSuperview" ref="249263867"/>
103 <bool key="IBUIOpaque">NO</bool> 120 <bool key="IBUIOpaque">NO</bool>
104 <bool key="IBUIClipsSubviews">YES</bool> 121 <bool key="IBUIClipsSubviews">YES</bool>
105 <bool key="IBUIUserInteractionEnabled">NO</bool> 122 <bool key="IBUIUserInteractionEnabled">NO</bool>
106 - <string type="base64-UTF8" key="IBUIText">InNjYWxlIiAobWV0ZXJzL3BpeGVsKTo</string>  
107 - <reference key="IBUITextColor" ref="262931149"/> 123 + <string type="base64-UTF8" key="IBUIText">Uk0gInNjYWxlIiAobWV0ZXJzL3BpeGVsKTo</string>
  124 + <reference key="IBUITextColor" ref="872501489"/>
108 <nil key="IBUIHighlightedColor"/> 125 <nil key="IBUIHighlightedColor"/>
109 <int key="IBUIBaselineAdjustment">1</int> 126 <int key="IBUIBaselineAdjustment">1</int>
110 <float key="IBUIMinimumFontSize">1.000000e+01</float> 127 <float key="IBUIMinimumFontSize">1.000000e+01</float>
  128 + <int key="IBUITextAlignment">2</int>
111 </object> 129 </object>
112 - <object class="IBUILabel" id="9368208"> 130 + <object class="IBUILabel" id="1055911682">
113 <reference key="NSNextResponder" ref="249263867"/> 131 <reference key="NSNextResponder" ref="249263867"/>
114 <int key="NSvFlags">292</int> 132 <int key="NSvFlags">292</int>
115 - <string key="NSFrame">{{208, 117}, {42, 21}}</string> 133 + <string key="NSFrame">{{224, 188}, {86, 21}}</string>
116 <reference key="NSSuperview" ref="249263867"/> 134 <reference key="NSSuperview" ref="249263867"/>
117 <bool key="IBUIOpaque">NO</bool> 135 <bool key="IBUIOpaque">NO</bool>
118 <bool key="IBUIClipsSubviews">YES</bool> 136 <bool key="IBUIClipsSubviews">YES</bool>
119 <bool key="IBUIUserInteractionEnabled">NO</bool> 137 <bool key="IBUIUserInteractionEnabled">NO</bool>
120 <string key="IBUIText">Label</string> 138 <string key="IBUIText">Label</string>
121 - <reference key="IBUITextColor" ref="262931149"/> 139 + <reference key="IBUITextColor" ref="872501489"/>
122 <nil key="IBUIHighlightedColor"/> 140 <nil key="IBUIHighlightedColor"/>
123 <int key="IBUIBaselineAdjustment">1</int> 141 <int key="IBUIBaselineAdjustment">1</int>
124 <float key="IBUIMinimumFontSize">1.000000e+01</float> 142 <float key="IBUIMinimumFontSize">1.000000e+01</float>
125 </object> 143 </object>
126 - <object class="IBUILabel" id="296517720"> 144 + <object class="IBUILabel" id="401716894">
127 <reference key="NSNextResponder" ref="249263867"/> 145 <reference key="NSNextResponder" ref="249263867"/>
128 <int key="NSvFlags">292</int> 146 <int key="NSvFlags">292</int>
129 - <string key="NSFrame">{{258, 59}, {42, 21}}</string> 147 + <string key="NSFrame">{{20, 217}, {196, 21}}</string>
  148 + <reference key="NSSuperview" ref="249263867"/>
  149 + <bool key="IBUIOpaque">NO</bool>
  150 + <bool key="IBUIClipsSubviews">YES</bool>
  151 + <bool key="IBUIUserInteractionEnabled">NO</bool>
  152 + <string key="IBUIText">true scale (ratio):</string>
  153 + <reference key="IBUITextColor" ref="872501489"/>
  154 + <nil key="IBUIHighlightedColor"/>
  155 + <int key="IBUIBaselineAdjustment">1</int>
  156 + <float key="IBUIMinimumFontSize">1.000000e+01</float>
  157 + <int key="IBUITextAlignment">2</int>
  158 + </object>
  159 + <object class="IBUILabel" id="916698432">
  160 + <reference key="NSNextResponder" ref="249263867"/>
  161 + <int key="NSvFlags">292</int>
  162 + <string key="NSFrame">{{224, 217}, {86, 21}}</string>
130 <reference key="NSSuperview" ref="249263867"/> 163 <reference key="NSSuperview" ref="249263867"/>
131 <bool key="IBUIOpaque">NO</bool> 164 <bool key="IBUIOpaque">NO</bool>
132 <bool key="IBUIClipsSubviews">YES</bool> 165 <bool key="IBUIClipsSubviews">YES</bool>
133 <bool key="IBUIUserInteractionEnabled">NO</bool> 166 <bool key="IBUIUserInteractionEnabled">NO</bool>
134 <string key="IBUIText">Label</string> 167 <string key="IBUIText">Label</string>
135 - <reference key="IBUITextColor" ref="262931149"/> 168 + <reference key="IBUITextColor" ref="872501489"/>
  169 + <nil key="IBUIHighlightedColor"/>
  170 + <int key="IBUIBaselineAdjustment">1</int>
  171 + <float key="IBUIMinimumFontSize">1.000000e+01</float>
  172 + </object>
  173 + <object class="IBUILabel" id="84945264">
  174 + <reference key="NSNextResponder" ref="249263867"/>
  175 + <int key="NSvFlags">292</int>
  176 + <string key="NSFrame">{{224, 120}, {86, 21}}</string>
  177 + <reference key="NSSuperview" ref="249263867"/>
  178 + <bool key="IBUIOpaque">NO</bool>
  179 + <bool key="IBUIClipsSubviews">YES</bool>
  180 + <bool key="IBUIUserInteractionEnabled">NO</bool>
  181 + <string key="IBUIText">Label</string>
  182 + <reference key="IBUITextColor" ref="872501489"/>
136 <nil key="IBUIHighlightedColor"/> 183 <nil key="IBUIHighlightedColor"/>
137 <int key="IBUIBaselineAdjustment">1</int> 184 <int key="IBUIBaselineAdjustment">1</int>
138 <float key="IBUIMinimumFontSize">1.000000e+01</float> 185 <float key="IBUIMinimumFontSize">1.000000e+01</float>
@@ -164,6 +211,46 @@ @@ -164,6 +211,46 @@
164 </object> 211 </object>
165 <int key="connectionID">41</int> 212 <int key="connectionID">41</int>
166 </object> 213 </object>
  214 + <object class="IBConnectionRecord">
  215 + <object class="IBCocoaTouchOutletConnection" key="connection">
  216 + <string key="label">centerLat</string>
  217 + <reference key="source" ref="372490531"/>
  218 + <reference key="destination" ref="561724603"/>
  219 + </object>
  220 + <int key="connectionID">50</int>
  221 + </object>
  222 + <object class="IBConnectionRecord">
  223 + <object class="IBCocoaTouchOutletConnection" key="connection">
  224 + <string key="label">centerLon</string>
  225 + <reference key="source" ref="372490531"/>
  226 + <reference key="destination" ref="84945264"/>
  227 + </object>
  228 + <int key="connectionID">51</int>
  229 + </object>
  230 + <object class="IBConnectionRecord">
  231 + <object class="IBCocoaTouchOutletConnection" key="connection">
  232 + <string key="label">rmscale</string>
  233 + <reference key="source" ref="372490531"/>
  234 + <reference key="destination" ref="1055911682"/>
  235 + </object>
  236 + <int key="connectionID">52</int>
  237 + </object>
  238 + <object class="IBConnectionRecord">
  239 + <object class="IBCocoaTouchOutletConnection" key="connection">
  240 + <string key="label">zoomLevel</string>
  241 + <reference key="source" ref="372490531"/>
  242 + <reference key="destination" ref="971773762"/>
  243 + </object>
  244 + <int key="connectionID">53</int>
  245 + </object>
  246 + <object class="IBConnectionRecord">
  247 + <object class="IBCocoaTouchOutletConnection" key="connection">
  248 + <string key="label">truescale</string>
  249 + <reference key="source" ref="372490531"/>
  250 + <reference key="destination" ref="916698432"/>
  251 + </object>
  252 + <int key="connectionID">57</int>
  253 + </object>
167 </object> 254 </object>
168 <object class="IBMutableOrderedSet" key="objectRecords"> 255 <object class="IBMutableOrderedSet" key="objectRecords">
169 <object class="NSArray" key="orderedObjects"> 256 <object class="NSArray" key="orderedObjects">
@@ -192,49 +279,67 @@ @@ -192,49 +279,67 @@
192 <reference key="object" ref="249263867"/> 279 <reference key="object" ref="249263867"/>
193 <object class="NSMutableArray" key="children"> 280 <object class="NSMutableArray" key="children">
194 <bool key="EncodedWithXMLCoder">YES</bool> 281 <bool key="EncodedWithXMLCoder">YES</bool>
195 - <reference ref="884551957"/>  
196 - <reference ref="254178060"/>  
197 - <reference ref="9368208"/>  
198 - <reference ref="287574730"/>  
199 - <reference ref="670366007"/>  
200 - <reference ref="296517720"/>  
201 - <reference ref="820332677"/> 282 + <reference ref="336199844"/>
  283 + <reference ref="141815128"/>
  284 + <reference ref="30982843"/>
  285 + <reference ref="43404614"/>
  286 + <reference ref="401716894"/>
  287 + <reference ref="84945264"/>
  288 + <reference ref="561724603"/>
  289 + <reference ref="971773762"/>
  290 + <reference ref="1055911682"/>
  291 + <reference ref="916698432"/>
202 </object> 292 </object>
203 <reference key="parent" ref="360949347"/> 293 <reference key="parent" ref="360949347"/>
204 </object> 294 </object>
205 <object class="IBObjectRecord"> 295 <object class="IBObjectRecord">
206 <int key="objectID">42</int> 296 <int key="objectID">42</int>
207 - <reference key="object" ref="287574730"/> 297 + <reference key="object" ref="336199844"/>
208 <reference key="parent" ref="249263867"/> 298 <reference key="parent" ref="249263867"/>
209 </object> 299 </object>
210 <object class="IBObjectRecord"> 300 <object class="IBObjectRecord">
211 <int key="objectID">43</int> 301 <int key="objectID">43</int>
212 - <reference key="object" ref="670366007"/> 302 + <reference key="object" ref="561724603"/>
213 <reference key="parent" ref="249263867"/> 303 <reference key="parent" ref="249263867"/>
214 </object> 304 </object>
215 <object class="IBObjectRecord"> 305 <object class="IBObjectRecord">
216 <int key="objectID">45</int> 306 <int key="objectID">45</int>
217 - <reference key="object" ref="296517720"/> 307 + <reference key="object" ref="84945264"/>
218 <reference key="parent" ref="249263867"/> 308 <reference key="parent" ref="249263867"/>
219 </object> 309 </object>
220 <object class="IBObjectRecord"> 310 <object class="IBObjectRecord">
221 <int key="objectID">46</int> 311 <int key="objectID">46</int>
222 - <reference key="object" ref="254178060"/> 312 + <reference key="object" ref="30982843"/>
223 <reference key="parent" ref="249263867"/> 313 <reference key="parent" ref="249263867"/>
224 </object> 314 </object>
225 <object class="IBObjectRecord"> 315 <object class="IBObjectRecord">
226 <int key="objectID">47</int> 316 <int key="objectID">47</int>
227 - <reference key="object" ref="884551957"/> 317 + <reference key="object" ref="971773762"/>
228 <reference key="parent" ref="249263867"/> 318 <reference key="parent" ref="249263867"/>
229 </object> 319 </object>
230 <object class="IBObjectRecord"> 320 <object class="IBObjectRecord">
231 <int key="objectID">48</int> 321 <int key="objectID">48</int>
232 - <reference key="object" ref="820332677"/> 322 + <reference key="object" ref="43404614"/>
233 <reference key="parent" ref="249263867"/> 323 <reference key="parent" ref="249263867"/>
234 </object> 324 </object>
235 <object class="IBObjectRecord"> 325 <object class="IBObjectRecord">
236 <int key="objectID">49</int> 326 <int key="objectID">49</int>
237 - <reference key="object" ref="9368208"/> 327 + <reference key="object" ref="1055911682"/>
  328 + <reference key="parent" ref="249263867"/>
  329 + </object>
  330 + <object class="IBObjectRecord">
  331 + <int key="objectID">54</int>
  332 + <reference key="object" ref="141815128"/>
  333 + <reference key="parent" ref="249263867"/>
  334 + </object>
  335 + <object class="IBObjectRecord">
  336 + <int key="objectID">55</int>
  337 + <reference key="object" ref="401716894"/>
  338 + <reference key="parent" ref="249263867"/>
  339 + </object>
  340 + <object class="IBObjectRecord">
  341 + <int key="objectID">56</int>
  342 + <reference key="object" ref="916698432"/>
238 <reference key="parent" ref="249263867"/> 343 <reference key="parent" ref="249263867"/>
239 </object> 344 </object>
240 </object> 345 </object>
@@ -255,13 +360,19 @@ @@ -255,13 +360,19 @@
255 <string>47.IBPluginDependency</string> 360 <string>47.IBPluginDependency</string>
256 <string>48.IBPluginDependency</string> 361 <string>48.IBPluginDependency</string>
257 <string>49.IBPluginDependency</string> 362 <string>49.IBPluginDependency</string>
  363 + <string>54.IBPluginDependency</string>
  364 + <string>55.IBPluginDependency</string>
  365 + <string>56.IBPluginDependency</string>
258 </object> 366 </object>
259 <object class="NSMutableArray" key="dict.values"> 367 <object class="NSMutableArray" key="dict.values">
260 <bool key="EncodedWithXMLCoder">YES</bool> 368 <bool key="EncodedWithXMLCoder">YES</bool>
261 <string>FlipsideViewController</string> 369 <string>FlipsideViewController</string>
262 <string>UIResponder</string> 370 <string>UIResponder</string>
263 <string>FlipsideView</string> 371 <string>FlipsideView</string>
264 - <string>{{376, 335}, {320, 480}}</string> 372 + <string>{{1847, 294}, {320, 480}}</string>
  373 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  374 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
  375 + <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
265 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 376 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
266 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 377 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
267 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string> 378 <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
@@ -292,7 +403,7 @@ @@ -292,7 +403,7 @@
292 </object> 403 </object>
293 </object> 404 </object>
294 <nil key="sourceID"/> 405 <nil key="sourceID"/>
295 - <int key="maxID">49</int> 406 + <int key="maxID">57</int>
296 </object> 407 </object>
297 <object class="IBClassDescriber" key="IBDocument.Classes"> 408 <object class="IBClassDescriber" key="IBDocument.Classes">
298 <object class="NSMutableArray" key="referencedPartialClassDescriptions"> 409 <object class="NSMutableArray" key="referencedPartialClassDescriptions">
@@ -315,6 +426,7 @@ @@ -315,6 +426,7 @@
315 <string>centerLat</string> 426 <string>centerLat</string>
316 <string>centerLon</string> 427 <string>centerLon</string>
317 <string>rmscale</string> 428 <string>rmscale</string>
  429 + <string>truescale</string>
318 <string>zoomLevel</string> 430 <string>zoomLevel</string>
319 </object> 431 </object>
320 <object class="NSMutableArray" key="dict.values"> 432 <object class="NSMutableArray" key="dict.values">
@@ -323,6 +435,7 @@ @@ -323,6 +435,7 @@
323 <string>UILabel</string> 435 <string>UILabel</string>
324 <string>UILabel</string> 436 <string>UILabel</string>
325 <string>UILabel</string> 437 <string>UILabel</string>
  438 + <string>UILabel</string>
326 </object> 439 </object>
327 </object> 440 </object>
328 <object class="IBClassDescriptionSource" key="sourceIdentifier"> 441 <object class="IBClassDescriptionSource" key="sourceIdentifier">