var myGeocoder = ymaps.geocode(coords, {kind: 'metro'}); 

Actually, I know how to get the nearest metro station, but here's the problem. How to get her name?

    1 answer 1

     var myGeocoder = ymaps.geocode(coords, {kind: 'metro'}).then(function(res) { var nearest = res.geoObjects.get(0); name = nearest.properties.get('name'); });