Hi experts,
is it possible to change the info in the pop-up? It would be nice if there is a little more info and not the same title. So it's easier to know which one to select.
thanks in advance,
Lee
Yes, you can add additional information to the title property of the template. For example
const template = { title: "Earthquake Info for {place}", content: "Magnitude {mag} {type} hit {place} on {time}", fieldInfos: [ { fieldName: "time", format: { dateFormat: "short-date-short-time" } } ] };
will give you this result
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.