Authored by Justin R. Miller

fixes #155: don't crash on nil static map handler

... ... @@ -78,6 +78,8 @@
self.userInteractionEnabled = NO;
if (handler)
{
_weakSelf = self;
dispatch_async(tileSource.dataQueue, ^(void)
... ... @@ -89,6 +91,7 @@
handler(image);
});
});
}
return self;
... ...