AnsweredAssumed Answered

Returned results from query flash on the map

Question asked by louchios on Jun 19, 2014
Latest reply on Jun 19, 2014 by louchios
Hi. Is there a way to have returned results from a query "flash" for a brief second similar to the flash that is created in ArcMap editing mode when clicking on the Attributes? They are hard to see at the US CONUS extent.

I want it so that visible layer 6 in my map service flashes the returned polygons.

I was looking for a workaround and thought of having a different symbology for small scales but that is not possible yet according to this arcgis idea: http://ideas.arcgis.com/ideaView?id=087300000008IPaAAM

Thank you.

        
   searchService.setLayerDefinitions(defintionExpression, true);
            searchService.setVisibleLayers(visible, true);

            var vL = searchService.visibleLayers;
            //If 1 and 2 are the only layers selected, make them non-transparent so they stand out (since they are points, not polygons) 
            if (vL == 1) {
                searchService.setOpacity(1.0);
            } else if (vL == 2) {
                searchService.setOpacity(1.0);
            } else {
                searchService.setOpacity(0.6);
            }

Outcomes