How nicogis/streetview_arcgis-experience-builder works
This is an ArcGIS Experience Builder widget that turns a map click into a Google Street View location. The principal workflow is map selection, coordinate conversion, optional map centering and marker display, then either an embedded preview or a new-tab link. Builder settings configure the map and display options. The runtime excerpt supports map-event handling, marker and centering behavior, and rendering; README statements document URL generation and open modes where the relevant implementation lines were not excerpted.
Main entry points: widget.tsx Point capture · setting.tsx Widget settings · config.ts Widget configuration · style.ts Widget styling
Components 17
Builder settings
- Widget settings
src/setting/setting.tsx - Widget configuration
src/config.ts
Map interaction
- Widget runtime
src/runtime/widget.tsx - Map binding
src/runtime/widget.tsx - Point capture
src/runtime/widget.tsx - WGS84 conversion
src/runtime/widget.tsx - Map marker
src/runtime/widget.tsx - Map centering
src/runtime/widget.tsx
Street View display
- Street View URL
src/runtime/widget.tsx - Embedded preview
src/runtime/widget.tsx - New-tab link
src/runtime/widget.tsx
Shared presentation
- Widget styling
src/runtime/style.ts - Runtime translations
src/runtime/translations/default.ts - Settings translations
src/setting/translations/default.ts
Other components
- Experience user
- Experience map
- Google Maps
Connections 16
- Experience user → Widget settings: configures
README.md - Widget settings → Widget configuration: updates
src/setting/setting.tsx - Widget configuration → Widget runtime: configures
README.md - Experience user → Experience map: clicks point
README.md - Experience map → Map binding: provides view
src/runtime/widget.tsx - Map binding → Point capture: registers clicks
src/runtime/widget.tsx - Point capture → WGS84 conversion: converts point
README.md - WGS84 conversion → Street View URL: generates URL
README.md - Point capture → Map marker: adds marker
src/runtime/widget.tsx - Point capture → Map centering: centers map
src/runtime/widget.tsx - Street View URL → Embedded preview: renders when configured
README.md - Embedded preview → Google Maps: loads iframe
README.md - Street View URL → New-tab link: opens in tab
README.md - Widget runtime → Widget styling: uses styles
src/runtime/widget.tsx - Widget runtime → Runtime translations: reads messages
src/runtime/widget.tsx - Widget settings → Settings translations: reads messages
src/setting/setting.tsx