Skip to content

Commit

Permalink
new images and map functions, thee is no scroll for some reason. also
Browse files Browse the repository at this point in the history
need to write a kml parser
  • Loading branch information
lbdl committed May 29, 2011
1 parent 2dcabd7 commit 7d87e86
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
14 changes: 14 additions & 0 deletions sukey_mapView.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
2BD2B9751392C05A0023E1EF /* background.png in Resources */ = {isa = PBXBuildFile; fileRef = 2BD2B9721392C05A0023E1EF /* background.png */; };
2BD2B9761392C05A0023E1EF /* speechbubble.png in Resources */ = {isa = PBXBuildFile; fileRef = 2BD2B9731392C05A0023E1EF /* speechbubble.png */; };
2BD2B9771392C05A0023E1EF /* sukeybutton.png in Resources */ = {isa = PBXBuildFile; fileRef = 2BD2B9741392C05A0023E1EF /* sukeybutton.png */; };
2BD2B97B1392D1030023E1EF /* MapDisplay.m in Sources */ = {isa = PBXBuildFile; fileRef = 2BD2B97A1392D1030023E1EF /* MapDisplay.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -41,6 +42,8 @@
2BD2B9721392C05A0023E1EF /* background.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = background.png; sourceTree = "<group>"; };
2BD2B9731392C05A0023E1EF /* speechbubble.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = speechbubble.png; sourceTree = "<group>"; };
2BD2B9741392C05A0023E1EF /* sukeybutton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = sukeybutton.png; sourceTree = "<group>"; };
2BD2B9791392D1030023E1EF /* MapDisplay.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MapDisplay.h; sourceTree = "<group>"; };
2BD2B97A1392D1030023E1EF /* MapDisplay.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MapDisplay.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -91,6 +94,7 @@
2B3ED2A31392851D0031D254 /* sukey_mapView */ = {
isa = PBXGroup;
children = (
2BD2B9781392D0DA0023E1EF /* Mapping Classes */,
2B3ED2B71392883E0031D254 /* View Controllers */,
2B3ED2AC1392851D0031D254 /* sukey_mapViewAppDelegate.h */,
2B3ED2AD1392851D0031D254 /* sukey_mapViewAppDelegate.m */,
Expand Down Expand Up @@ -131,6 +135,15 @@
name = Images;
sourceTree = "<group>";
};
2BD2B9781392D0DA0023E1EF /* Mapping Classes */ = {
isa = PBXGroup;
children = (
2BD2B9791392D1030023E1EF /* MapDisplay.h */,
2BD2B97A1392D1030023E1EF /* MapDisplay.m */,
);
name = "Mapping Classes";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -199,6 +212,7 @@
2B3ED2AB1392851D0031D254 /* main.m in Sources */,
2B3ED2AE1392851D0031D254 /* sukey_mapViewAppDelegate.m in Sources */,
2B3ED2BA1392A8AE0031D254 /* MapViewController.m in Sources */,
2BD2B97B1392D1030023E1EF /* MapDisplay.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
16 changes: 16 additions & 0 deletions sukey_mapView/MapDisplay.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// MapDisplay.h
// sukey_mapView
//
// Created by Tim Storey on 29/05/2011.
// Copyright 2011 Lateral. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface MapDisplay : NSObject {

}

@end
14 changes: 14 additions & 0 deletions sukey_mapView/MapDisplay.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
//
// MapDisplay.m
// sukey_mapView
//
// Created by Tim Storey on 29/05/2011.
// Copyright 2011 Lateral. All rights reserved.
//

#import "MapDisplay.h"


@implementation MapDisplay

@end
6 changes: 4 additions & 2 deletions sukey_mapView/MapViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
#import <MapKit/MapKit.h>
#import <CoreLocation/CoreLocation.h>

@class MapDisplay;

@interface MapViewController : UIViewController {
@interface MapViewController : UIViewController <MKMapViewDelegate>{

UIView *mainView;
MKMapView *mapView;

UIImageView *iv;

}

@end

0 comments on commit 7d87e86

Please sign in to comment.