Select to view content in your preferred language

Reason for layers to fail to load in java

622
1
Jump to solution
10-28-2021 12:13 AM
AhsanApp
Occasional Contributor
featureLayer.addLoadStatusChangedListener(new LoadStatusChangedListener() {
@Override
public void loadStatusChanged(LoadStatusChangedEvent loadStatusChangedEvent) {
loadStatusChangedEvent.getNewLoadStatus();
}
});

I am using this piece of code to know that my layer is failed to load but where can I know the reason of failure, does such a function exist to state it? 

Tags (4)
0 Kudos
1 Solution

Accepted Solutions
AhsanApp
Occasional Contributor
featureLayer.getLoadStatus() helped me.

View solution in original post

0 Kudos
1 Reply
AhsanApp
Occasional Contributor
featureLayer.getLoadStatus() helped me.
0 Kudos