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
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.