Select to view content in your preferred language

Can I have an information box within an expand widget in an ArcGIS javascript map?

295
1
04-19-2022 10:36 AM
RichardSon
New Contributor

I'm sure there's a way to do this, but I can't find it anywhere.

I'm wanting to have a text box that can be accessed from an Expand widget in an ArcGIS javascript map. I don't have a lot of scripting experience, so I may be missing something obvious!

Thanks Nate

0 Kudos
1 Reply
AnneFitz
Esri Regular Contributor

Hi @RichardSon - you can just reference the div containing your text as the `content` of the Expand widget. Here's an example: https://codepen.io/annefitz/pen/oNpmWLR

Hope this helps!

0 Kudos