Im trying to add an image to PopupTemplate in V3.4,
doing something like this didn't work for me
return new PopupTemplate({
title: `${event.mapPoint.x}, ${event.mapPoint.y}`,
description:
`<div class="popup-content">` +
"<img src='widgets/TowersConnection/images/Green-2G.png' alt='Image Description' "
}); i always get src empty in the browser so image never loads, how do i set an image then?