TransWikia.com

Custom pop-up for multiple results in ArcGIS Online application

Geographic Information Systems Asked by Kyle Marenger on January 3, 2021

I have a point layer that contains business locations where the businesses offer services from different providers. i.e. competing businesses.

A customer is requesting a modified pop-up to display, as to not imply that one service is “better” than another. Gotta make the customer, as well as the competing businesses happy, right??

Rather than having a pop-up display (1 of 2) and (2 of 2) is there a way to:

A. Create a blank pop up first, preferably with some sort of index or key that says something to the effect of “There are 2 providers at this location, scroll right to see providers”?

or

B. Have all pop-ups display at once in separate panes (some kind of multi pop-up) displaying all info at once. Or alternatively, have one large popup pane that displays all location information at once.
same location, different item sold
same location, different item sold

Preference B. would be best and likely the easiest, I would imagine. Any tricks, tips or hacks are welcome.

One Answer

For option A, you can use Web AppBuilder Developer to configure the popup window. Once you download, the file you want to modify is can be found here:

clientstemappwidgetsPopupPanelWidget.js

In the file, the header for the popup window will be around line 205. You'll want to change:

this.featureCount.innerHTML = "(1 of " + this.popup.features.length + ")";

to

this.featureCount.innerHTML = "(There are/is " + this.popup.features.length + "Provider at this location.";

Answered by IMOdom on January 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP