get Style
Get the Style of the map asynchronously.
Note: keeping the reference to an invalid Style instance introduces significant native memory leak, see Style.isValid for more details.
Parameters
on Style Loaded
the callback to be invoked when the style is fully loaded
Get the Style of the map synchronously, will return null is style is not loaded yet.
Note: keeping the reference to an invalid Style instance introduces significant native memory leak, see Style.isValid for more details.
Return
currently loaded Style object or NULL if it is not loaded.