WEB-18 Setting layer.map to null before create new kml layer