Skip to content

Commit 24fe7e5

Browse files
authored
Merge pull request #123 from Esri/tyle8552/feature-layer-geodatabase-load
fixed crash by calling loadAsync on GeodatabaseFeatureTable
2 parents 02372e6 + 827bafc commit 24fe7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/esri/samples/featurelayers/feature_layer_geodatabase/FeatureLayerGeodatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void start(Stage stage) throws Exception {
6161
geodatabase.addDoneLoadingListener(() -> {
6262
// access the geodatabase's feature table Trailheads
6363
GeodatabaseFeatureTable geodatabaseFeatureTable = geodatabase.getGeodatabaseFeatureTable("Trailheads");
64-
64+
geodatabaseFeatureTable.loadAsync();
6565
// create a layer from the geodatabase feature table above and add to map
6666
FeatureLayer featureLayer = new FeatureLayer(geodatabaseFeatureTable);
6767
featureLayer.addDoneLoadingListener(() -> {

0 commit comments

Comments
 (0)