onclick Reverse Geocode in Web AppBuilder

3624
3
08-20-2015 09:23 PM
HakimAmmari
New Contributor

I have a piece of code that does reverse geocode. I need to attach that to the onclick event of the map. Where to put that in the Web App generated by web AppBuilder

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Hakim,

   The best place would be to create a custom widget. You can create an "in panel" widget if you want to display the results of the reverse geocode to the user or if you just need to work with the results in code only then just create an "off panel" widget. Create a custom in-panel widget—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developer...

0 Kudos
HakimAmmari
New Contributor

Thanks Robert.

I will try the off panel option as all I need is to respond to the onclick event without any HTML interface.

0 Kudos
TimWitt2
MVP Regular Contributor

Hakim,

my widget does this: Location Widget

Tim