Take into account maps events: 'removelayer' & 'changelayer'
Take into account maps events: 'removelayer' & 'changelayer'

as proposed in OL issue #961

jorix/OL-Ragbag,neogis-de/OL-Ragbag,neogis-de/OL-Ragbag,jorix/OL-Ragbag