AnsweredAssumed Answered

Pop up specific window

Question asked by rjulich on May 8, 2013
Latest reply on Aug 12, 2013 by amaynard
I created a map (http://wa.water.usgs.gov/projects/clovercreek/hydrographs.esri.htm), which has a drop down menu just above the map so a person can select a specific point on the map. I had created this map in Google Maps (http://wa.water.usgs.gov/projects/clovercreek/hydrographs.htm) and I got the drop down menu working like this:

As I looped through the text file added the points to the map, I added each point to an array:
var gmarkers = [];

gmarkers[i] = marker;
i++;


The dropdown menu called a function that opened the specific popup window:
function reveal_site(i){
    GEvent.trigger(gmarkers[i], "click");
}


Is there a way to open the popup window for a specific site from a drop down menu in ESRI Javascript API?

Outcomes