From c4bfb000a9fb9e270a4cd57e36014783f9737b9b Mon Sep 17 00:00:00 2001 From: Ruiqi Ma Date: Fri, 15 Mar 2024 10:34:42 -0700 Subject: [PATCH] resolve comments --- .../sample/queryfeaturetable/components/MapViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query-feature-table/src/main/java/com/esri/arcgismaps/sample/queryfeaturetable/components/MapViewModel.kt b/query-feature-table/src/main/java/com/esri/arcgismaps/sample/queryfeaturetable/components/MapViewModel.kt index c37ba2be1..0fdb5e26e 100644 --- a/query-feature-table/src/main/java/com/esri/arcgismaps/sample/queryfeaturetable/components/MapViewModel.kt +++ b/query-feature-table/src/main/java/com/esri/arcgismaps/sample/queryfeaturetable/components/MapViewModel.kt @@ -125,7 +125,7 @@ class MapViewModel( // get the extent of the first feature in the result to zoom to val envelope = feature.geometry?.extent ?: return@launch messageDialogVM.showMessageDialog("Error retrieving geometry extent") - // update the viewpoint to the bounding geometry of the returned feature + // update the map's viewpoint to the feature's geometry mapViewProxy.setViewpointGeometry(envelope) } else { messageDialogVM.showMessageDialog("No states found with name: $searchQuery")