Feature Layer Editing Sample

1847
1
06-13-2011 05:08 AM
MiriEshel
New Contributor III
Hi,

I use the Feature Layer Editing Sample and it is very impressive.
I downloaded it to my iPhone and my Mac.
When I open the application, both in iPhone and iPhone simulator and add an incident in the iPhone, I cannot see it in the iPhone simulator (unless I close and reopen the iPhone simulator).
I added this layer as dynamic MapServer and then I was able to see the incident (after pan or so) but could not click on it to see the details.
Is there a way to show the details in the iPhone simulator without reopen the iPhone simulator?

Thanks a lot. I need to demonstrate it on Wednesday.

Miri
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
Miri,

The feature layer works with different modes and the sample uses OnDemand mode. The default bufferFactor is 2. It means that new features won't be retrieved until you pan/zoom 2 times of the current extent.

Based on  your requirement, change bufferFactor to 0 and do little pan/zoom and you'll be able to see the newly added feature.

Hope this helps!

Regards,
Nimesh
0 Kudos