Using Web AppBuilder and ArcGIS Online, I want to let my user(s) enter an address on the "Geocoder Widget" and have an automatic popup that displays. I know how to configure the content of the popup. I know I can change the Geocoder to search for specific features/attributes.
Example: I have three school boundaries (High School districts, Middle School Districts, and Elementary School Districts) that overlap each other. I want to create an app that lets someone Enter their address and it spits out their neighborhood HS, MS, and ES (I will be adding driving directions and descriptions of the schools in the pop up).
ArcGIS for Javascript : Locate Widget Activate Popup for Layers X > Z? asks the same thing I believe but was never answered or commented on.
Answer
I am going to go with using the Information Lookup template for ArcGIS online. It does not give me the flexibility I want, but it does the job I need it to do. I hope this is helpful for others.
I created a webmap with all of my layers and symbolized them as I wanted. I configured the popups to look the way I wanted (images, links, directions). I started the Information Lookup App Template and simply uploaded my webmap.
Now, when I use the address locator a popup window opens displaying popups for all layers I told it to. When adding multiple layers for query put "|" in between.
There is a bug with information lookup template. When you designate lookup layers from your webmap, it breaks the URLs. No idea why, but I informed Esri Tech Support.
No comments:
Post a Comment