Map addedlayer event handling