in Node/core/src/map-card.ts [12:40]
public location(location: RawLocation, index?: number, locationName?: string): this {
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: string;
try {
locationUrl = locationService.GetLocationMapImageUrl(this.apiKey, location, index);
this.images([CardImage.create(this.session, locationUrl)]);
} catch (e) {
this.session.error(e);
}
}
return this;
}