Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiqima committed Mar 15, 2024
1 parent b5e0c8a commit c4bfb00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c4bfb00

Please sign in to comment.