Hello, I created test project https://github.com/powerscin/ArcGisTest
And I try make drag and drop pins in polygones.
And if i add 5-8 pins, and try drag pin with intercept lines - polygon blink.
Maybe it's problem with performance?
Try setting the `renderingMode` on graphics layer to `Dynamic` and it should be fine. As shown below:
self.graphicsLayer = [[AGSGraphicsLayer alloc]initWithFullEnvelope:nil renderingMode:AGSGraphicsLayerRenderingModeDynamic];
The feature was introduced in version 10.2.
AGSGraphicsLayer now supports 2 rendering modes - dynamic and static. In dynamic mode, graphics update dynamically as you interact with the map, always appearing clean and crisp, constantly repositioned and reoriented to be face-up as you rotate the map. In static, graphics are first rasterized and then rendered on the map. This can lead to some brief pixelation of the symbols as you navigate the map. Static mode provides a significant performance improvement, allowing you to display many more graphics at the same time. The default is static mode, and is the traditional way graphics have been drawn in past releases. Dynamic mode is new at this release and is best suited for cases when you have a small number of graphics (vertices) that need to be updated frequently.
AGSGraphicsLayer
Thanks a lot! It's a good solution
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.