addOnDidFinishLoadingStyle

Add an action to be called when the map finish loading its style.

Parameters

action

a function called with no argument when the style has been loaded.