in Node/core/lib/map-card.js [22:47]
MapCard.prototype.location = function (location, index, locationName) {
var prefixText = "";
if (index !== undefined) {
prefixText = index + ". ";
}
if (locationName !== undefined) {
prefixText += locationName + ": ";
}
if (location.address && location.address.formattedAddress) {
this.subtitle(prefixText + location.address.formattedAddress);
}
else {
this.subtitle(prefixText);
}
if (location.point) {
var locationUrl;
try {
locationUrl = locationService.GetLocationMapImageUrl(this.apiKey, location, index);
this.images([botbuilder_1.CardImage.create(this.session, locationUrl)]);
}
catch (e) {
this.session.error(e);
}
}
return this;
};