Fixed sample compilation issues
This commit is contained in:
parent
37eed22cf0
commit
76a16a8d06
2 changed files with 2 additions and 2 deletions
capitals-example/Capitals
|
@ -52,7 +52,7 @@
|
|||
pinId = [NSString stringWithFormat:@"http://en.wikipedia.org/wiki/%@", [self urlEncode:city->name]];
|
||||
else
|
||||
pinId = [NSString stringWithFormat:@"%ld", _cityIndex];
|
||||
[MWMApi showLat:city->lat lon:city->lon title:city->name and:pinId];
|
||||
[MWMApi showLat:city->lat lon:city->lon title:city->name andId:pinId];
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
{
|
||||
NSString * pinId = [[[NSString alloc] initWithFormat:@"%ld", i] autorelease];
|
||||
// Note that url is empty - it means "More details" button for a pin in MapsWithMe will lead back to this example app
|
||||
MWMPin * pin = [[[MWMPin alloc] initWithLat:CAPITALS[i].lat lon:CAPITALS[i].lon title:CAPITALS[i].name and:pinId] autorelease];
|
||||
MWMPin * pin = [[[MWMPin alloc] initWithLat:CAPITALS[i].lat lon:CAPITALS[i].lon title:CAPITALS[i].name andId:pinId] autorelease];
|
||||
[array addObject:pin];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue