<?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: Can MaxAllowableOffset use a factor, rather than a number? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348571#M32237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Brian, glad you like it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2011 21:14:12 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2011-07-14T21:14:12Z</dc:date>
    <item>
      <title>Can MaxAllowableOffset use a factor, rather than a number?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348567#M32233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/featurelayer.htm"&gt;http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/featurelayer.htm&lt;/A&gt;&lt;SPAN&gt; shows that a featureLayer can have a MaxAllowableOffset value, which can be useful in quickly drawing a complex layer (simplying it on-the-fly rather than trying to draw every vertex exactly).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that the applicable offset value will usually change depending on the current map scale. Eg, at a state level an applicable offset might be 100 meters, while at street level it will be 1 meter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to accommodate this using the MaxAllowableOffset parameter? Because the MaxAllowableOffset parameter is found under the New keyword, can it be changed as the scale changes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideally this parameter should be configurable as a factor, eg 1/1000 of the current map width or similar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jan 2011 01:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348567#M32233</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-01-17T01:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can MaxAllowableOffset use a factor, rather than a number?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348568#M32234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case anyone else needs to know, the answer is to use layer.setMaxAllowableOffset to change the value of an existing layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you change this on the onZoomEnd event, you can set it to the appropriate value for any scale.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2011 23:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348568#M32234</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-03-15T23:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can MaxAllowableOffset use a factor, rather than a number?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348569#M32235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FYI, we've just published a new version of our site, which now uses setMaxAllowableOffset to change the layer simplification on-the-fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://atlas.nsw.gov.au/public/nsw/home/map/population.html"&gt;http://atlas.nsw.gov.au/public/nsw/home/map/population.html&lt;/A&gt;&lt;SPAN&gt; for an example - there shouldn't be any visible gaps between the polygons, but they are simplified to reduce the download size.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 05:12:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348569#M32235</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-06-01T05:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can MaxAllowableOffset use a factor, rather than a number?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348570#M32236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just a comment on your map, it is very well done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;brian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 18:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348570#M32236</guid>
      <dc:creator>bbieb</dc:creator>
      <dc:date>2011-07-14T18:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can MaxAllowableOffset use a factor, rather than a number?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348571#M32237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Brian, glad you like it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2011 21:14:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-maxallowableoffset-use-a-factor-rather-than-a/m-p/348571#M32237</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-07-14T21:14:12Z</dc:date>
    </item>
  </channel>
</rss>

