Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gavinr/add-layers-auto-map-experience-builder

Experience Builder widget sample showing how to get a reference to a map widget without using Settings.
https://github.com/gavinr/add-layers-auto-map-experience-builder

arcgis-experience-builder experience-builder experience-builder-widgets hacktoberfest

Last synced: 5 days ago
JSON representation

Experience Builder widget sample showing how to get a reference to a map widget without using Settings.

Awesome Lists containing this project

README

        

# Add Layers - Automatic Map Reference

This is a demo Experience Builder widget. It is a version of the [add-layers sample](https://developers.arcgis.com/labs/experiencebuilder/add-layers-to-a-map), but does not use a settings panel to pick the Map widget -- instead assumes there will be one map widget on the page and uses it. See the `getArbitraryFirstMapWidgetId()` function in `widget.tsx` for details.