vikrant327

Layer refresh

Discussion created by vikrant327 on Aug 22, 2013
Latest reply on Aug 26, 2013 by vikrant327
I have a feature table in mapservice which I am editing in the application. There are four other layers which are related to this table based on some attribute. Symbology of each layer changes when value in the table changes. In my didFeatureEditsWithResults method when table gets updated, I am calling refresh for all fours layers. Problem is that layer color change is completely random. Sometimes it will update layers right away, sometimes I have zoom in-out and pan around , and sometimes it doesn't at all. I have tried using NSTimer function to refresh all four layer after few seconds of table updated response, but no luck. [dataChanged] method used to work well in old sdk, but now I am using 10.1.1.

Is there any way to work this out.

Thanks,
Vik

Outcomes