stevel

Can the maxAllowableOffset parameter be changed for an existing layer?

Discussion created by stevel on Feb 22, 2011
Latest reply on Feb 23, 2011 by stevel
The documentation at http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm#jsapi/featurelayer.htm shows the maxAllowableOffset property as an option under esri.layers.FeatureLayer(url, options?)

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.

Specifically, I wish to recalculate the value when the zoom level changes - I'm having mixed results trying to do so.

Thanks for any advice,
Steve

Outcomes