addOnSourceChangedListener

Set a callback that's invoked when a map source has changed.

Parameters

listener

The callback that's invoked when the source has changed