AnsweredAssumed Answered

Right way to add new operational layer to map

Question asked by korkoran on Jul 23, 2018

Hello,

 

I'm developing an Android application using Esri Android API. I need to add new layer when user click on map. I'm doing it by adding a layer to operational layers list:


mapView.map.getOperationalLayers().add(layer)

 

It works but everytime I'm calling this command all layers are gone for half second before drawing my layer.
It gives "blink" efect of all layers. What is the right way to add new layer without redrawing others?

 

I'll be thankful for any help. I couldn't find anything in documentation unfortunately.

 

Best regards

Outcomes