Select to view content in your preferred language

About / Details / Info Widget? Splash?

574
2
09-10-2022 10:20 PM
StefanFreelan
Occasional Contributor

Hey All,

I'm looking for a simple About widget (for map details, credits and info). Seems like a pretty basic widget but I'm not finding any sample code... (maybe it's so basic that samples aren't needed).

Or maybe a Splash screen (that can be re-activated via a button from the map)?

Anyone got an example they'd like to share?

the most basic button with a "?" on it that opens a pop-up with text / images / links is all that I'm looking for.

thanks,

~stefan (JS novice)

Tags (4)
0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor

Maybe you're looking for the Attribution widget?

https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Attribution.html

There's also the ? button on the left side of this sample with instructions on how to use the sample. It can be opened and closed repeatedly:

https://developers.arcgis.com/javascript/latest/sample-code/layers-mapnoteslayer/

 

 

0 Kudos
StefanFree
Occasional Contributor

Thanks Noah,

The ? button code in the MapNotesLayes sample is exactly what I was looking for.

(If I could figure out how to mark this as an Accepted / Solution I would, but I can't find that option anywhere...)

0 Kudos