<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disable PopUps temporarily when specific widget is open in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394533#M11340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Here is the one area to update to make Dasa's suggestion work. Dasa's route takes a lot less re-writing of Andrews widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;viewer:WidgetTemplate open="{this.graphicsLayer.visible = true; map.infoWindowRenderersEnabled = false;}"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; closed="{this.graphicsLayer.visible = false; map.infoWindowRenderersEnabled = true;}" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id="wTemplate" width="400" height="235"&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2012 13:44:18 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2012-05-01T13:44:18Z</dc:date>
    <item>
      <title>Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394526#M11333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using a widget that uses a map click on the map as a part of its main function...but whenever the map is clicked the PopUp appears because a property layer is always visible.&amp;nbsp; My question: is it possible to disable PopUps while this widget is in use?&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 18:13:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394526#M11333</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-04-30T18:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394527#M11334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Philipp,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you get away from adding your own map click event listeners and use the Viewers setMapAction instead then this will not be an issue for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 18:24:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394527#M11334</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-30T18:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394528#M11335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also see:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#infoWindowRenderersEnabled"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#infoWindowRenderersEnabled&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2012 20:17:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394528#M11335</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2012-04-30T20:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394529#M11336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your replies.&amp;nbsp; Robert, I like the sounds of the setMapAction approach but I don't think I have the skill to rewrite the widget using this technique.&amp;nbsp; As a matter of fact, I wasn't even able to make Dasa's approach work for me...(I am not a trained programmer and therefore lack a lot of the essential knowledge...).&amp;nbsp; In case someone still wants to help I have pasted the code below which inadvertently triggers the popups....thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;private function onMapMouseClick(e:MouseEvent):void
&amp;nbsp;&amp;nbsp; { 
&amp;nbsp;&amp;nbsp;&amp;nbsp; btnCopy.enabled = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.mapPoint = this.map.toMapFromStage(e.stageX,e.stageY);
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtX.text = this.mapPoint.x.toFixed(helper.precision);
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtY.text = this.mapPoint.y.toFixed(helper.precision);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.graphicsLayer.clear()
&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic:Graphic = new Graphic(this.mapPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.graphicsLayer.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; glow.play([graphic]);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:04:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394529#M11336</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2021-12-11T18:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394530#M11337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Create a global variable that is basically a boolean, true when the widget is open and false when closed. Set it to true and false from the open and close event of the widget. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, just add an "if" statement in front of you popup function call, and if the widget is open and the boolean is true, then don't fire the pop-up, else, fire the pop-up since it's false and the widget's closed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 11:05:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394530#M11337</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2012-05-01T11:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394531#M11338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Philipp,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you post the rest of the widget?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 11:57:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394531#M11338</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-01T11:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394532#M11339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just realized that having posted a snippet of code earlier and not crediting the source might make it look like it was written by me....this is not the case....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The widget I am working with was made by 'cgishack' and can be downloaded here:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=edd4a2b7c722493a8b08f53eaa131e1e" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.arcgis.com/home/item.html?id=edd4a2b7c722493a8b08f53eaa131e1e&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert, if you are still willing to help modify someone else's code, here it is, thank you!:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;

&amp;lt;viewer:BaseWidget xmlns:fx="http://ns.adobe.com/mxml/2009"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:s="library://ns.adobe.com/flex/spark"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:mx="library://ns.adobe.com/flex/mx"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:viewer="com.esri.viewer.*"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x="150" y="150"&amp;nbsp; layout="absolute"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; widgetConfigLoaded="init()"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
 &amp;lt;fx:Declarations&amp;gt;
&amp;nbsp; 
&amp;nbsp; &amp;lt;mx:Glow id="glow" duration="1500" blurXTo="40" blurYTo="40" color="0xFF0000"/&amp;gt;
&amp;nbsp; 
 &amp;lt;/fx:Declarations&amp;gt;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fx:Script&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;![CDATA[
&amp;nbsp;&amp;nbsp; import com.esri.ags.Graphic;
&amp;nbsp;&amp;nbsp; import com.esri.ags.geometry.MapPoint;
&amp;nbsp;&amp;nbsp; import com.esri.ags.geometry.Polyline;
&amp;nbsp;&amp;nbsp; import com.esri.ags.layers.GraphicsLayer;
&amp;nbsp;&amp;nbsp; import com.esri.ags.symbols.MarkerSymbol;
&amp;nbsp;&amp;nbsp; import com.esri.ags.symbols.SimpleLineSymbol;
&amp;nbsp;&amp;nbsp; import com.esri.ags.symbols.SimpleMarkerSymbol;
&amp;nbsp;&amp;nbsp; import com.esri.ags.webmap.supportClasses.PopUpInfo;
&amp;nbsp;&amp;nbsp; import com.google.analytics.debug._Style;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; import widgets.CoordinateMenu.ExtentGrabber.ExtentGrabberDialog;
&amp;nbsp;&amp;nbsp; import widgets.CoordinateMenu.GoToCoordinate.GoToCoordinateDialog;
&amp;nbsp;&amp;nbsp; import widgets.CoordinateMenu.ProjectCoordinate.ProjectCoordinateDialog;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; private var graphicsLayer:GraphicsLayer = new GraphicsLayer();
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; private var mouseMoveMapPoint:MapPoint;
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; private var mapPoint:MapPoint;
&amp;nbsp;&amp;nbsp; [Bindable]
&amp;nbsp;&amp;nbsp; private var helper:CoordinateMenuWidgetHelper;
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private var project:ProjectCoordinateDialog = new ProjectCoordinateDialog();
&amp;nbsp;&amp;nbsp; private var goToCoordinate:GoToCoordinateDialog = new GoToCoordinateDialog();
&amp;nbsp;&amp;nbsp; private var extentGrabber:ExtentGrabberDialog = new ExtentGrabberDialog();
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function init():void
&amp;nbsp;&amp;nbsp; {
 //Set Helper
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.helper = new CoordinateMenuWidgetHelper(configXML,map);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //SET Mouse Event Handlers
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.map.addEventListener(MouseEvent.MOUSE_MOVE, onMapMouseMove);
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.map.addEventListener(MouseEvent.CLICK, onMapMouseClick);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; //Add GraphicsLayer to map
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.graphicsLayer.symbol =&amp;nbsp; new SimpleMarkerSymbol("circle",10,0xFF0000);;
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.map.addLayer(this.graphicsLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; // add additional contex menu for projected coords.
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (this.helper.coordinateSystems.length == 0)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btnProject.visible = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btnProject.includeInLayout = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function onMapMouseClick(e:MouseEvent):void
&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; btnCopy.enabled = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.mapPoint = this.map.toMapFromStage(e.stageX,e.stageY);
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtX.text = this.mapPoint.x.toFixed(helper.precision);
&amp;nbsp;&amp;nbsp;&amp;nbsp; txtY.text = this.mapPoint.y.toFixed(helper.precision);
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.graphicsLayer.clear()
&amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic:Graphic = new Graphic(this.mapPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.graphicsLayer.add(graphic);
&amp;nbsp;&amp;nbsp;&amp;nbsp; glow.play([graphic]);
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function onMapMouseMove(e:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; this.mouseMoveMapPoint = this.map.toMapFromStage(e.stageX,e.stageY);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function btnProject_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; project.show(mapPoint, configXML,map);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function btnGoToXY_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; goToCoordinate.show(configXML,map)
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; protected function btnGetExtent_clickHandler(event:MouseEvent):void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; extentGrabber.show(configXML,map);
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; private function copy():void
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; glow.play([bdrCoordinates]);
&amp;nbsp;&amp;nbsp;&amp;nbsp; var str:String = helper.format(this.mapPoint);
&amp;nbsp;&amp;nbsp;&amp;nbsp; System.setClipboard(str); // Flash system clipboard function
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; ]]&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/fx:Script&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;viewer:WidgetTemplate open="{this.graphicsLayer.visible = true; }" closed="{this.graphicsLayer.visible = false; }" id="wTemplate"&amp;nbsp; skinClass="com.esri.viewer.skins.WidgetTemplateSkinCOORD" width="380" height="235"&amp;gt;
&amp;nbsp; 
&amp;nbsp; 
&amp;nbsp; 
&amp;nbsp; &amp;lt;viewer:layout&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:VerticalLayout paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5"/&amp;gt;
&amp;nbsp; &amp;lt;/viewer:layout&amp;gt;
&amp;nbsp; &amp;lt;s:Label fontWeight="bold" text="Live Coordinates"/&amp;gt;
&amp;nbsp; &amp;lt;s:HGroup width="100%" color="#C4C4C4" fontSize="10"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label fontWeight="bold" text="X:"/&amp;gt;&amp;lt;mx:Label width="100%"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; text="{this.mouseMoveMapPoint.x.toFixed(helper.precision)}"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label fontWeight="bold" text="Y:"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label width="100%" text="{this.mouseMoveMapPoint.y.toFixed(helper.precision)}"/&amp;gt;
&amp;nbsp; &amp;lt;/s:HGroup&amp;gt;
&amp;nbsp; &amp;lt;s:Label fontWeight="bold" text="Selected Coordinates"/&amp;gt;
&amp;nbsp; &amp;lt;s:BorderContainer id="bdrCoordinates" width="100%" minWidth="0" minHeight="0" backgroundAlpha="0.0"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; borderAlpha="0.5" borderColor="#B9B9B9" contentBackgroundAlpha="0.0"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cornerRadius="3"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:layout&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:VerticalLayout gap="2" paddingBottom="5" paddingLeft="5" paddingRight="5"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; paddingTop="5"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/s:layout&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:HGroup width="100%"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label fontWeight="bold" text="X:"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label id="txtX" width="100%" selectable="true" text="( waiting...)"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label fontWeight="bold" text="Y:"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:Label id="txtY" width="100%" selectable="true" text="( waiting...)"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/s:HGroup&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:HGroup width="100%"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/s:HGroup&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;s:HGroup width="100%" horizontalAlign="right" verticalAlign="justify"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mx:Button enabled="false" click="copy()" id="btnCopy" x="116" width="100%" label="Copy Coordinate"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="@Embed('widgets/CoordinateMenu/images/copy.png')"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;/s:HGroup&amp;gt;
&amp;nbsp; &amp;lt;/s:BorderContainer&amp;gt;
&amp;nbsp; &amp;lt;s:Label fontWeight="bold" text="Other XY Tools"/&amp;gt;
&amp;nbsp; &amp;lt;mx:HRule width="100%" height="1"/&amp;gt;
&amp;nbsp; &amp;lt;s:HGroup width="100%"&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:Button enabled="{btnCopy.enabled}" id="btnProject" width="100%" label="Project"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="btnProject_clickHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="@Embed('widgets/CoordinateMenu/images/map_go.png')"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;mx:Button id="btnGoToXY" width="100%" label="Go To XY"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="btnGoToXY_clickHandler(event)"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="@Embed('widgets/CoordinateMenu/images/asterisk.png')"/&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;!--mx:Button id="btnGetExtent" width="100%" label="Get Extent"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; click="btnGetExtent_clickHandler(event)" visible="false"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icon="@Embed('widgets/CoordinateMenu/images/shape_square.png')"/--&amp;gt;
&amp;nbsp; &amp;lt;/s:HGroup&amp;gt;
&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/viewer:WidgetTemplate&amp;gt;

&amp;lt;/viewer:BaseWidget&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394532#M11339</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2021-12-11T18:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394533#M11340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Phillip,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Here is the one area to update to make Dasa's suggestion work. Dasa's route takes a lot less re-writing of Andrews widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;viewer:WidgetTemplate open="{this.graphicsLayer.visible = true; map.infoWindowRenderersEnabled = false;}"&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; closed="{this.graphicsLayer.visible = false; map.infoWindowRenderersEnabled = true;}" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; id="wTemplate" width="400" height="235"&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg"&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 13:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394533#M11340</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-05-01T13:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Disable PopUps temporarily when specific widget is open</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394534#M11341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Worked perfectly, thanks so much, Robert! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 14:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/disable-popups-temporarily-when-specific-widget-is/m-p/394534#M11341</guid>
      <dc:creator>philippschnetzer</dc:creator>
      <dc:date>2012-05-01T14:44:22Z</dc:date>
    </item>
  </channel>
</rss>

