added map.addLayer