Authored by Justin R. Miller

fixes #233: only set tile source if valid

... ... @@ -1959,8 +1959,11 @@
- (void)setTileSource:(id <RMTileSource>)tileSource
{
if (tileSource)
{
[_tileSourcesContainer removeAllTileSources];
[self addTileSource:tileSource];
}
}
- (void)setTileSources:(NSArray *)tileSources
... ...