Skip to content

Commit

Permalink
🐛 Fix method call for zooming to initial extent in BaseIframeService (#…
Browse files Browse the repository at this point in the history
…726) (#727)

(cherry picked from commit b2159b9)

Co-authored-by: Francesco Boccacci <[email protected]>
  • Loading branch information
github-actions[bot] and volterra79 authored Feb 11, 2025
1 parent 9c74166 commit e305481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class BaseIframeService extends G3WObject {
}
// in case of no response zoom to an initial extent
if (!response.found) {
this.zoomToExtent(this.mapService.project.state.initextent)
this.mapService.zoomToExtent(this.mapService.project.state.initextent)
}
return response;
}
Expand Down

0 comments on commit e305481

Please sign in to comment.