Zooming method are ignored

0 views
Skip to first unread message

ChaF

unread,
Jan 9, 2009, 6:00:25 AM1/9/09
to iphone-map-view
Hi,

I encounter some problems with zooming method. But maybe I do not use
properly the API.

view = [[MapView alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 0.0f,
0.0f)];

int zoom1 = [[(MapView *)view map] getZoom];
[[(MapView *)view map] setZoom:3];
int zoom2 = [[(MapView *)view map] getZoom];

With the code above, zoom1 and zoom2 are equal to zero. Is it normal ?

Best regards,
Quentin
Reply all
Reply to author
Forward
0 new messages