Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent HTTP request loop when using panoramic map control #597

Merged
merged 12 commits into from
Mar 18, 2024
Merged

Conversation

volterra79
Copy link
Member

@volterra79 volterra79 commented Mar 13, 2024

Closes: #596

Screenshot from 2024-03-13 11-48-50

@volterra79 volterra79 added bug Something isn't working backport to v3.9.x labels Mar 13, 2024
@volterra79 volterra79 added this to the v3.10 milestone Mar 13, 2024
@volterra79 volterra79 requested a review from Raruto March 13, 2024 08:10
@volterra79 volterra79 self-assigned this Mar 13, 2024
@volterra79 volterra79 changed the title Panorami group of same project cause get map image loop Panoramic map of same project cause get map image loop Mar 13, 2024
@volterra79 volterra79 marked this pull request as ready for review March 13, 2024 10:19
@volterra79 volterra79 requested a review from wlorenzetti March 13, 2024 10:20
@Raruto Raruto changed the title Panoramic map of same project cause get map image loop Prevent HTTP request loop for panoramic map control Mar 13, 2024
@Raruto Raruto changed the title Prevent HTTP request loop for panoramic map control Prevent HTTP request loop when using panoramic map control Mar 13, 2024
@Raruto
Copy link
Collaborator

Raruto commented Mar 13, 2024

@volterra79 however, I see a lot of requests while panning (perhaps should be throttled/debounced?):

Recording 2024-03-13 at 13 12 19

@volterra79
Copy link
Member Author

volterra79 commented Mar 13, 2024

@volterra79 however, I see a lot of requests while panning (perhaps should be throttled/debounced?):

Recording 2024-03-13 at 13 12 19

@Rauto I'll check

@volterra79
Copy link
Member Author

volterra79 commented Mar 13, 2024

@Raruto it seems that it's no possible to throttled/debounced request image because its handled by internal OL code

@volterra79 volterra79 requested a review from Raruto March 15, 2024 09:49
@volterra79 volterra79 merged commit 8a415c0 into dev Mar 18, 2024
@volterra79 volterra79 deleted the issue_596 branch March 18, 2024 09:14
github-actions bot pushed a commit that referenced this pull request Mar 18, 2024
* Comment

* Clen code and fix ol.Observable OL object

* Clean code

* Clean code

* Clean code

* Clean code

* Clean code

* Fix overview map layers. In case of zoomhistory control, add left class to overview ol control to move it on left

* remove lodash: `_.isNil`

* reduce nested conditions

* wrong context

* If overview control is set, check map-control-lef-bottom and change style

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
(cherry picked from commit 8a415c0)
volterra79 added a commit that referenced this pull request Mar 18, 2024
* Comment

* Clen code and fix ol.Observable OL object

* Clean code

* Clean code

* Clean code

* Clean code

* Clean code

* Fix overview map layers. In case of zoomhistory control, add left class to overview ol control to move it on left

* remove lodash: `_.isNil`

* reduce nested conditions

* wrong context

* If overview control is set, check map-control-lef-bottom and change style

---------

Co-authored-by: Raruto <Raruto@users.noreply.github.com>
(cherry picked from commit 8a415c0)

Co-authored-by: Francesco Boccacci <boccacci.francesco@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport to v3.9.x bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panoramic map of same project, loop get images
3 participants