<?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 the maxAllowableOffset parameter be changed for an existing layer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-maxallowableoffset-parameter-be-changed/m-p/557819#M52060</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A colleague found the answer for me - there is a method on the Layer class called setMaxAllowableOffset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling this from the onZoomEnd function did what I needed - hope this helps someone in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 21:47:15 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2011-02-23T21:47:15Z</dc:date>
    <item>
      <title>Can the maxAllowableOffset parameter be changed for an existing layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-maxallowableoffset-parameter-be-changed/m-p/557818#M52059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The documentation at &lt;/SPAN&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 the maxAllowableOffset property as an option under esri.layers.FeatureLayer(url, options?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In all the example, this property is set when the new object is created. My question is whether the maxAllowableOffset property can be changed after the featureLayer has been created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Specifically, I wish to recalculate the value when the zoom level changes - I'm having mixed results trying to do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any advice,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 04:13:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-maxallowableoffset-parameter-be-changed/m-p/557818#M52059</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-02-23T04:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can the maxAllowableOffset parameter be changed for an existing layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-maxallowableoffset-parameter-be-changed/m-p/557819#M52060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A colleague found the answer for me - there is a method on the Layer class called setMaxAllowableOffset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Calling this from the onZoomEnd function did what I needed - hope this helps someone in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 21:47:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-the-maxallowableoffset-parameter-be-changed/m-p/557819#M52060</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2011-02-23T21:47:15Z</dc:date>
    </item>
  </channel>
</rss>

