<?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: Search and Enhanced Search Widget Not Zooming in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500582#M14063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are your ObjectID or geometry (shape) fields hidden? Post a screenshot of your REST pages for the services that it won't zoom to.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 13:38:26 GMT</pubDate>
    <dc:creator>MLowry</dc:creator>
    <dc:date>2012-06-01T13:38:26Z</dc:date>
    <item>
      <title>Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500581#M14062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Both the Search Widget and Enhanced Search Widget will not zoom to the results of my dynamic map services.&amp;nbsp; I am using the compiled versions.&amp;nbsp; If I leave the Louisville sample data active in the configuration file it will zoom to those results when searched, but still not zoom to my services results.&amp;nbsp; Individual service capabilities include Mapping (Map Data Query checked on), Feature Access (Query Editing checked on) and KML and all combinations of turning those on and off.&amp;nbsp; zoomscale set to 5000 (tried dif numbers here too).&amp;nbsp; I'm stumped.&amp;nbsp; Never messed with the .swf file.&amp;nbsp; Even tried reloading a fress copy of the widget from the install files. Also tried in multiple flexviewer iterations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 13:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500581#M14062</guid>
      <dc:creator>ToddLaQuay</dc:creator>
      <dc:date>2012-06-01T13:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500582#M14063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are your ObjectID or geometry (shape) fields hidden? Post a screenshot of your REST pages for the services that it won't zoom to.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 13:38:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500582#M14063</guid>
      <dc:creator>MLowry</dc:creator>
      <dc:date>2012-06-01T13:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500583#M14064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Both my ObjectID and Shape fields were hidden.&amp;nbsp; Turned them on and republished etc and now they zoom.&amp;nbsp; Thank you for the quick response!&amp;nbsp; Sure wish i would have found it noted somewhere that those were required to be visible.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 13:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500583#M14064</guid>
      <dc:creator>ToddLaQuay</dc:creator>
      <dc:date>2012-06-01T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500584#M14065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My problem is the zoomscale does not seem to work &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;zoomscale&amp;gt;5000&amp;lt;/zoomscale&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;forcescale&amp;gt;true&amp;lt;/forcescale&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using a Query Widget&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the Zoon always takes you in tight to the polygon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 19:08:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500584#M14065</guid>
      <dc:creator>DaveKirkley</dc:creator>
      <dc:date>2012-06-19T19:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500585#M14066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dave,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; The zoomScale will only take you to the closest LOD (Level of Display) if you are use cached basemaps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget 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;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Promote.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 12:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500585#M14066</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-25T12:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500586#M14067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Robert. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the great widget. I have installed your latest 3.0 eSearch widget, but I noticed that segment layers get clipped to result extent (or display extent) when any type of search is applied and zoomed. It only seem to happen to only segment layers and not to point nor polygon layers. When I have multiple segment layers in the operational layers, they all get clipped and it won't get redrawn. Actually data does not get clipped, it just become invisible - therefore I can still query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you seen this effect before? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shingo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 14:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500586#M14067</guid>
      <dc:creator>Shingo-Ikeda</dc:creator>
      <dc:date>2012-06-25T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500587#M14068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shingo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I have not seen that before. I am using polylines in my live sample site and do not see that behavior either.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 16:25:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500587#M14068</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-25T16:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500588#M14069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply. For some reasons, it was clipping the feature geometries by the intersected resulting geometry and not refreshed. I had to go through layers and refresh layers as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;MapUtil.forEachMapLayer(map, function(layer:Layer):void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; layer.refresh();
})&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added above refresh function to clear() as well as new widgetclosehandler (dispatched when widget gets removed) in a mean time to fix the issue I was experiencing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shingo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:59:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500588#M14069</guid>
      <dc:creator>Shingo-Ikeda</dc:creator>
      <dc:date>2021-12-11T21:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500589#M14070</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;Using a Dynamic Basemap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Zoom works on your enhanced search (great work by the way!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the Query I've set up... no luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 14:40:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500589#M14070</guid>
      <dc:creator>DaveKirkley</dc:creator>
      <dc:date>2012-06-27T14:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500590#M14071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dave,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; If you still need help with the query than post what you are trying to use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 20:26:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500590#M14071</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-06-27T20:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500591#M14072</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;Here's my code..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 13:41:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500591#M14072</guid>
      <dc:creator>DaveKirkley</dc:creator>
      <dc:date>2012-06-28T13:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search and Enhanced Search Widget Not Zooming</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500592#M14073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The work around solution perhaps: got it from this thread...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/23142-Zoom-to-selected?p=214055#post214055"&gt;http://forums.arcgis.com/threads/23142-Zoom-to-selected?p=214055#post214055&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;private function clickQueryResult(event:Event):void&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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; var queryResult:QueryResult = ItemRenderer(event.target).data as QueryResult;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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; if (queryResult.geometry is Polygon){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var pPoly:Polygon = queryResult.geometry as Polygon;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.extent = pPoly.extent.expand(1.75);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }else &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&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; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank-you yet again Robert !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2012 18:52:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/search-and-enhanced-search-widget-not-zooming/m-p/500592#M14073</guid>
      <dc:creator>DaveKirkley</dc:creator>
      <dc:date>2012-07-10T18:52:50Z</dc:date>
    </item>
  </channel>
</rss>

