<?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 Refresh map after resetting maxAllowableOffset? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173377#M16060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to refresh the map after recalculating the maxAllowableOffset?&amp;nbsp; I'm using the renderer sample here - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/renderer_generate_renderer/index.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/samples/renderer_generate_renderer/index.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; which recalculates the maxOffset on ZoomEnd, but if you zoom in a lot, there are big gaps in polygons and the features don't redraw with the new offset until you change the selected attribute.&amp;nbsp; See the attached images:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19726[/ATTACH]&amp;nbsp; [ATTACH=CONFIG]19727[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to redraw the map so that the maxOffset is calculated and the map redraws?&amp;nbsp; I'm not seeing any methods, but I'm probably overlooking something. I'm just not sure why you would recalculate the offset if the map isn't using it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2012 17:44:47 GMT</pubDate>
    <dc:creator>AllisonAnderson</dc:creator>
    <dc:date>2012-12-05T17:44:47Z</dc:date>
    <item>
      <title>Refresh map after resetting maxAllowableOffset?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173377#M16060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to refresh the map after recalculating the maxAllowableOffset?&amp;nbsp; I'm using the renderer sample here - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/renderer_generate_renderer/index.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/samples/renderer_generate_renderer/index.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; which recalculates the maxOffset on ZoomEnd, but if you zoom in a lot, there are big gaps in polygons and the features don't redraw with the new offset until you change the selected attribute.&amp;nbsp; See the attached images:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]19726[/ATTACH]&amp;nbsp; [ATTACH=CONFIG]19727[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to redraw the map so that the maxOffset is calculated and the map redraws?&amp;nbsp; I'm not seeing any methods, but I'm probably overlooking something. I'm just not sure why you would recalculate the offset if the map isn't using it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 17:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173377#M16060</guid>
      <dc:creator>AllisonAnderson</dc:creator>
      <dc:date>2012-12-05T17:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map after resetting maxAllowableOffset?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173378#M16061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: mattlane86&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the problem with that sample is that the layer is added to the map as MODE_SNAPSHOT, so it's doesn't really change with the offset change. If it is loaded as MODE_ONDEMAND, then it should.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 17:54:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173378#M16061</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-12-05T17:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh map after resetting maxAllowableOffset?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173379#M16062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are correct!&amp;nbsp; That did the trick.&amp;nbsp; Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2012 18:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/refresh-map-after-resetting-maxallowableoffset/m-p/173379#M16062</guid>
      <dc:creator>AllisonAnderson</dc:creator>
      <dc:date>2012-12-05T18:04:46Z</dc:date>
    </item>
  </channel>
</rss>

