Hi everyone, I am new here. I am wondering on how to create a popup like when the user clicked the pin. it will look like this, I used graphic to the map using PictureMarkerSymbol
altair_0-1639380045251.png
const point = new Graphic({
geometry: {
latitude: 95.7129,
longitude:37.0902,
type: 'point',
},
symbol: LocationPin,
popupTemplate: {
title:"",
actionsMenuEnabled: false,
content: [{
type: "text",
text: "<br><div class=\"popuptemplate\"><u>" + teacher.name + "</u> <br>" +
"<div class=\"body2\">" + location.address.street1 + ", " + location.address.street2 + "<br>" +
location.address.city + ", " + location.address.state + " " + location.address.zipCode + "</div></div>"
}]
},