[ios, android] Add a method to invalidate custom layers, forcing a repaint

This commit is contained in:
John Firebaugh
2015-12-16 11:13:59 -08:00
parent 2b782308e5
commit 2ee52915fe
3 changed files with 12 additions and 0 deletions

View File

@@ -3675,4 +3675,9 @@ void MGLFinishCustomStyleLayer(void *context)
context, otherIdentifier.UTF8String);
}
- (void)invalidateCustomStyleLayers
{
_mbglMap->update(mbgl::Update::Repaint);
}
@end