<?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 Non interactive widget in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418364#M11930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone created a non interactive widget? I basically want to add a module that has access to the widget framework (config data, map etc etc) but doesn't have an icon or placement on any widget containers. I really want this to be completely independent of the Viewer core code so I don't have to worry about upgrades and customising the viewer code, but I want it to load automatically as any other widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone built something along these lines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jun 2013 04:03:34 GMT</pubDate>
    <dc:creator>FraserHand</dc:creator>
    <dc:date>2013-06-04T04:03:34Z</dc:date>
    <item>
      <title>Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418364#M11930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone created a non interactive widget? I basically want to add a module that has access to the widget framework (config data, map etc etc) but doesn't have an icon or placement on any widget containers. I really want this to be completely independent of the Viewer core code so I don't have to worry about upgrades and customising the viewer code, but I want it to load automatically as any other widget.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone built something along these lines?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 04:03:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418364#M11930</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2013-06-04T04:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418365#M11931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Duh. I moved the widget out of the container tray and set preload to true. Seems to achieve what I wanted. Just using the base widget with no widget template.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 04:07:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418365#M11931</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2013-06-04T04:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418366#M11932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you share what your widget does?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 11:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418366#M11932</guid>
      <dc:creator>GISDev1</dc:creator>
      <dc:date>2013-06-04T11:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418367#M11933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure. It performs some actions against the map on the fly. When the widget loads it wires up against map events and listens for them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One example is that we have a tiled imagery service cached down to certain scale. The customer doesn't want to cache below this scale due to the size requirements of the cache, nor do they want generate tile on demand. So one thing this widget will do is flick the tiled basemap over to a dynamic one. Any mapping validation tasks to change the viewer workflow or UI based on map state will go in here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 03:45:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418367#M11933</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2013-06-06T03:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418368#M11934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fraser,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a thought, if you don't want the extra load of the listners running, the tile map switch can be handled with the built in tools.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at the layer tag &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/"&gt;http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Layer_tag_overview/01m30000000p000000/&lt;/A&gt;&lt;SPAN&gt; and see for tiled layers, there is a displaylevels tag, and only the cache levels listed here will display for the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, there are max/min scale you can use for the layers themselves.&amp;nbsp; So, you can use the displaylevels or min/max scale to have it "turn off" the tiled layer and "turn on" the dynamic one at a particular LOD/scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 15:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418368#M11934</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-06-10T15:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418369#M11935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi There,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the idea. Just thinking about this - even if you have a cached layer turn on / off for a certain LOD - it will still show as a map layer right? So there would be 2 basemaps available rather than 1, even if one or the other doesn't display. One for the cached layer at n LODs and then the dynamic one. We are not after this behaviour, we only one service displayed in the basemaps. There is only 2 additional listeners on 1 layer so not really a major.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 21:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418369#M11935</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2013-06-10T21:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418370#M11936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fraser,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just played with this a little, if you only want the two basemaps, and no choice, this is what I did.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I set my first basemap to have maxscale="4000" and my second to have minscale="4000" and set both visible="true" in the main config. This way, it displays the one up until 1:4000, zoom in again and it switches to the other basemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, you still get the list of available basemaps to choose from, so, I went into (I'm using eMapSwitcherWidget, but MapSwitcher is similar) to the eMapSwitcherWidget.mxml, down near the bottom there is the basemapsButton id. I changed as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;s:Button id="basemapsButton"
&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; includeIn="thumbnailOptions"
&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; label="{basemapsLabel}"
&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; rollOut="startBasemapsHideTimer(event)"
&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; rollOver="basemapsButton_rollOverHandler(event)"
&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; skinClass="com.esri.viewer.skins.BasemapsButtonSkin"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible="false"/&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, you no longer get the basemap button or options, and it will always have a basemap loaded depending on what scale they are currently at.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R-&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418370#M11936</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2021-12-12T16:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418371#M11937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This still won't do it, as we have about 4 basemaps so still need the basemaps button and switching. Thanks for the ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 00:04:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418371#M11937</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2013-06-12T00:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418372#M11938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guess I misunderstood your last post when you said you only wanted one basemap in the Basemaps button, thought you were only dealing with the 2 basemaps, not 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In any case, you could do the same thing with 4 basemaps, or 40 for that matter as long as you have scale levels to switch with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now you got me curious.&amp;nbsp; Are your vanilla "listeners" actually adding/removing basemaps from the Basemaps button, or just changing the currently displayed basemap?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 00:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418372#M11938</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-06-12T00:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418373#M11939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once the widget loads it caches the current map layer state (ids, urls, indexes) then attaches to layer add / remove and zoom start on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's got a config that runs off map labels so for a given label it has a scale cut off and a url to a dynamic service (you used to be able to call new ArcGISDynamicLayer against a tiled service at 10 and earlier but not 10.1). when we hit the cutoff scale it swaps out the cached service for a dynamic one. Since they have the same label / id whatever the Viewer framework doesn't care, and flipping to another basemap and back is fine. When we start zooming out we pull out the dynamic and replace with cached in same spot. The customer has really high quality imagery and they can make out their features at big scales, scales which would be inconvenient to cache to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So will flip it over and the user never sees it happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fraser&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 02:40:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418373#M11939</guid>
      <dc:creator>FraserHand</dc:creator>
      <dc:date>2013-06-12T02:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Non interactive widget</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418374#M11940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Fraser,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the update.&amp;nbsp; I also have some high resolution imagery that i have turned into a basemap.&amp;nbsp; 3 inch resolution for 580 square miles that have been combined into a FGDB raster dataset that is now 897GB Uncompressed size, but is 327 GB on disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you say too inconvienient to cache, not sure if you mean that you don't have the storage for this, or the CPU time to spend on it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ended up caching my imagery dataset, though it took one of my "lesser" computers 6 days to do it.&amp;nbsp; I cached in the "old" Exploded format, and the total cache is only 84 GB, but what a huge increase in performance.&amp;nbsp; No longer have to load my "good" imagery as dynamic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R_&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 20:42:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/non-interactive-widget/m-p/418374#M11940</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2013-06-12T20:42:37Z</dc:date>
    </item>
  </channel>
</rss>

