English

FAQ: What result will I get if I call Map.displayFeatures() method twice on 2 different layers from the same map?

Question

What result will I get if I call Map.displayFeatures() method twice on 2 different layers from the same map?

Answer

The first layer that this method is called has the selected features highlighted correctly, but the unselected features in the layer are not displayed. The second layer is displayed correctly.

Calling on this method twice for a single layer does not cause an issue.