[ios, android] Add a method to invalidate custom layers, forcing a repaint
This commit is contained in:
@@ -3675,4 +3675,9 @@ void MGLFinishCustomStyleLayer(void *context)
|
||||
context, otherIdentifier.UTF8String);
|
||||
}
|
||||
|
||||
- (void)invalidateCustomStyleLayers
|
||||
{
|
||||
_mbglMap->update(mbgl::Update::Repaint);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user