AnsweredAssumed Answered

Conceptual Question for Methlabs Data

Question asked by bokeefe on May 10, 2016
Latest reply on May 11, 2016 by rscheitlin

I have a web map I am building to display Methlab data.

I live in Oklahoma so the dots are... prolific? (dear lord... they're everywhere!)

 

Step 1

So I created an MXD with TWO Query layers (because we have to pull our data from an Oracle table that is being created from other, multiple Oracle tables... basically multiple systems create this data).

Query Layer 1 : Current Year Methlabs

Query Layer 2 : ALL Methlabs

 

Step 2

Publish the MXD. Create the REST Service.

 

Step 3

Create the AGOL webmap.

Current Year Methlabs Rest Service is a regular layer on the map.

ALL Methlabs Rest Service is ON the map, but hidden from Legend and turned off.

 

Step 4

Create the WAB Map. I am using the eSearch widget by Robert Scheitlin, GISP, to query

 

My hope here is that I would like to display an initial set of data, ergo the Current Year Methlabs, when the user opens the map. But then, they will probably want to search around and find Methlabs all over through multiple searches.

 

Attempt #1: AGOL had 1 layer. Current year. eSearch searched the ALL Methlabs REST Service.

Problem: The Popups I created in AGOL wouldn't transfer to the ALL Methlabs, as they were made for the Current Year layer which was ACTUALLY ON the AGOL map... not the ALL Methlabs.

 

Attempt #2: AGOL has 2 layers. Current year / All Methlabs. Fashion the popups in AGOL for both layers. Hide the ALL Methlabs layer from Legend.

Problem: eSearch popups still rule the day. I need the AGOL created pop-ups, not the eSearch. Ugh!!!!

 

I'm at a loss as to how to move forward. I wish there was a way to TURN OFF A LAYER as a Search was activated. That would solve my problems. Or someway to set the initial view to display a layer that would be removed at the first sign of search activity. Ugh.

Outcomes