Multiple Feature Layers Display

543
1
03-28-2014 04:30 PM
JosephSaltenberger
New Contributor III
I have three map objects in a single application. To each of the three maps I add a polygon Feature Layer. The issue is the layers are displaying slightly differently on two of the maps. In the attached image, the middle map shows the correct topology. All three Feature Layers are referencing the same Map Service, so I would expect them to display the same.

This does not always happen. Occasionally, all three layers will display correctly if the page is refreshed.

[ATTACH=CONFIG]32617[/ATTACH]
0 Kudos
1 Reply
deleted-user-ATjHIWsdQYmT
Occasional Contributor III

Try setting setAutoGeneralize() to false:

featurelayer-amd | API Reference | ArcGIS API for JavaScript

0 Kudos