Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hotpace1

macrumors newbie
Original poster
Mar 17, 2009
21
0
UK
So am I missing something? How do you use the compass within Googlemaps? I was expecting the maps to move around depending on which direction you were standing in? They seem to work exactly the same as on the 3G!
:confused:
 
tap the location button twice.. once gets you your location 2nd does map orientation using the compass
 
So am I missing something? How do you use the compass within Googlemaps? I was expecting the maps to move around depending on which direction you were standing in? They seem to work exactly the same as on the 3G!
:confused:

I forgot which button you press, but from within the google maps app, I think it's the little radar icon, circle with crosshairs in it, tapping it twice will enable the compass and it will show you which direction you're pointing with a cone shape
 
help me

hello ! there.

i am new to the objective c delelopement.

for me objective c is like.

but i have to learn it any how as it is part of my duty.

so, i have a problem.

problem is i can't set @required and @optional in my protocol file.

i am using mingw32 from windowsxp & i am using gcc compiler.
compiler gives erros something like following
/*
shape.h:2: error: stray '@' in program
shape.h:3: error: syntax error before '-' token
shape.h:7: error: stray '@' in program
shape.h:8: error: syntax error before '-' token
main.m: In function `main':
main.m:11: warning: `rectangle' may not respond to `-displayArea'
main.m:11: warning: (Messages without a matching method signature
main.m:11: warning: will be assumed to return `id' and accept
main.m:11: warning: `...' as arguments.)
main.m:12: warning: `rectangle' may not respond to `-h'
main.m:16:2: warning: no newline at end of file
*/

my original protocol file is as below - shape.h
/*
@protocol shape
@optional
-(int) h;
-(int) w;
-(void) seth : (int) a;
-(void) setw : (int) b;
@required
-(void) displayArea;
-(void) setx : (int) a;
-(void) sety : (int) b;
-(int) x;
-(int) y;
@end
*/
 
hello ! there.

i am new to the objective c delelopement.

for me objective c is like.

but i have to learn it any how as it is part of my duty.

so, i have a problem.

problem is i can't set @required and @optional in my protocol file.

i am using mingw32 from windowsxp & i am using gcc compiler.
compiler gives erros something like following
/*
shape.h:2: error: stray '@' in program
shape.h:3: error: syntax error before '-' token
shape.h:7: error: stray '@' in program
shape.h:8: error: syntax error before '-' token
main.m: In function `main':
main.m:11: warning: `rectangle' may not respond to `-displayArea'
main.m:11: warning: (Messages without a matching method signature
main.m:11: warning: will be assumed to return `id' and accept
main.m:11: warning: `...' as arguments.)
main.m:12: warning: `rectangle' may not respond to `-h'
main.m:16:2: warning: no newline at end of file
*/

my original protocol file is as below - shape.h
/*
@protocol shape
@optional
-(int) h;
-(int) w;
-(void) seth : (int) a;
-(void) setw : (int) b;
@required
-(void) displayArea;
-(void) setx : (int) a;
-(void) sety : (int) b;
-(int) x;
-(int) y;
@end
*/

haha dude you registered and posted to the wrong forum. i have no clue how you managed to end up so far off, but I am truly impressed, not by your development skills, but your ability to make me laugh.
 
While the compass orientation is nice, I wish it would stick. For example I find my current location, tap the button again to swing around to the direction I'm facing, but as soon as I scroll the map to look down the road or whatever the view swings back to the default orientation. Pretty annoying.
 
While the compass orientation is nice, I wish it would stick. For example I find my current location, tap the button again to swing around to the direction I'm facing, but as soon as I scroll the map to look down the road or whatever the view swings back to the default orientation. Pretty annoying.

I think I've used that compass feature once so far, and that was when I first go the phone to play around with it..
 
haha dude you registered and posted to the wrong forum. i have no clue how you managed to end up so far off, but I am truly impressed, not by your development skills, but your ability to make me laugh.

haha...I agree, that guy is totally lost. Kind of ironic that he posted on a thread talking about how to get a compass to work.
 
While the compass orientation is nice, I wish it would stick. For example I find my current location, tap the button again to swing around to the direction I'm facing, but as soon as I scroll the map to look down the road or whatever the view swings back to the default orientation. Pretty annoying.

Wow...I just tried doing this and I completely agree. This is very annoying.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.