Select to view content in your preferred language

Right way to add new operational layer to map

385
0
07-23-2018 01:40 AM
KamilChoromański
New Contributor

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

0 Kudos
0 Replies