Authored by Joseph G

Added some description lines to various classes

... ... @@ -66,6 +66,12 @@
[[image layer] removeFromSuperlayer];
}
-(NSString*) description
{
return @"CoreAnimation map renderer";
}
/*
- (void)moveBy: (CGSize) delta
{
... ...
... ... @@ -53,6 +53,12 @@
[contents drawRect:rect];
}
-(NSString*) description
{
CGRect bounds = [self bounds];
return [NSString stringWithFormat:@"iPhone MapView at %.0f,%.0f-%.0f,%.0f", bounds.origin.x, bounds.origin.y, bounds.size.width, bounds.size.height];
}
#pragma mark Movement
-(void) moveToMercator: (RMMercatorPoint) point
... ...
... ... @@ -15,4 +15,9 @@
return [NSString stringWithFormat:@"http://tile.openstreetmap.org/%d/%d/%d.png", tile.zoom, tile.x, tile.y];
}
-(NSString*) description
{
return @"OpenStreetMaps";
}
@end
... ...
... ... @@ -34,6 +34,11 @@
[super dealloc];
}
-(NSString*) description
{
return @"Quartz 2D map renderer";
}
- (void)drawRect:(CGRect)rect
{
[[content imagesOnScreen] drawRect:rect];
... ...
... ... @@ -46,4 +46,9 @@
return [NSString stringWithFormat:@"http://%@%d.ortho.tiles.virtualearth.net/tiles/%@%@%@?g=15", mapType, 3, mapType, quadKey, mapExtension];
}
-(NSString*) description
{
return @"Microsoft VirtualEarth";
}
@end
... ...