Skip to content

Commit

Permalink
HMW-674 Fixed issue of map not zooming back out to continental US.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwinderg committed Jan 31, 2024
1 parent f4c0b47 commit df1cf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/contexts/locationSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class LocationSearchProvider extends Component<Props, State> {

// reset the zoom and home widget to the initial extent
if (useDefaultZoom && mapView) {
mapView.extent = initialExtent();
mapView.goTo(initialExtent());

if (homeWidget) {
homeWidget.viewpoint = initialViewpoint();
Expand Down

0 comments on commit df1cf40

Please sign in to comment.