Skip to content

Commit 05e60fd

Browse files
committed
Update AddEncExchangeSetSample.java
1 parent d4a6299 commit 05e60fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/com/esri/samples/hydrography/add_enc_exchange_set/AddEncExchangeSetSample.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ public void start(Stage stage) {
7373

7474
// hide progress indicator when map is done drawing
7575
mapView.addDrawStatusChangedListener(e -> {
76-
if (e.getDrawStatus() == DrawStatus.COMPLETED) {
76+
if (e.getDrawStatus() == DrawStatus.IN_PROGRESS) {
77+
progressIndicator.setVisible(true);
78+
} else if (e.getDrawStatus() == DrawStatus.COMPLETED) {
7779
progressIndicator.setVisible(false);
7880
}
7981
});

0 commit comments

Comments
 (0)