Select to view content in your preferred language

Multiple Feature Layers Display

744
1
03-28-2014 04:30 PM
JosephSaltenberger
Deactivated User
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
Deactivated User

Try setting setAutoGeneralize() to false:

featurelayer-amd | API Reference | ArcGIS API for JavaScript

0 Kudos