Skip to content

add throttle on moved event function to prevent infinite loop in some special cases#155

Open
bastyen wants to merge 1 commit intoNorkart:masterfrom
makinacorpus:master
Open

add throttle on moved event function to prevent infinite loop in some special cases#155
bastyen wants to merge 1 commit intoNorkart:masterfrom
makinacorpus:master

Conversation

@bastyen
Copy link
Copy Markdown

@bastyen bastyen commented Jul 21, 2020

Example : When you reach the max bounds of the map, multiple 'moveend' event are called and can trigger an infinite loop between _onMainMapMoved and _onMiniMapMoved function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant