This method connects to the necessary signals of View to make the license change automatically when the map source changes.
The license
a View