Hello all,
I'd like to use the ArcGIS JavaScript API to create a button that displays a graphic of the current map extent. I'd like to then incorporate this in my ArcGIS Experience Builder project. Please let me know if anyone can guide me through this process.
Thanks,
Henry
Hi,
You could try using arcgis-js-cli utility:
GitHub - Esri/arcgis-js-cli: CLI to build a template application and widgets using the ArcGIS API for JavaScript
It has a parameter to scaffold an experience builder widget:
'arcgis widget my-widget -t exb'
And from there build you button and logic behind !
Hope that help
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.