AnsweredAssumed Answered

Refresh map after resetting maxAllowableOffset?

Question asked by allisonlbanderson on Dec 5, 2012
Latest reply on Dec 5, 2012 by allisonlbanderson
Is there a way to refresh the map after recalculating the maxAllowableOffset?  I'm using the renderer sample here - http://help.arcgis.com/en/webapi/javascript/arcgis/samples/renderer_generate_renderer/index.html  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.  See the attached images:
[ATTACH=CONFIG]19726[/ATTACH]  [ATTACH=CONFIG]19727[/ATTACH]

Is there a way to redraw the map so that the maxOffset is calculated and the map redraws?  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.

Attachments

Outcomes