-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
resetNorth does not fire rotate events #6460
Comments
Clicking on the Reset North button emits the |
Here is your JSBin demonstrating the issue ... Steps to Reproduce
|
@cephirothdy2j thank you for reporting this issue. It has been fixed in #6218 and will be available in the next release. |
Thanks, @asheemmamoowala. Running the master branch locally I am able to confirm that the issue is resolved. FYI though |
#6471 tracks the documentation issue. |
Sorry, not sure if this a bug report or a feature request ... If there is a workaround to tell when the user clicks the "On Reset North" button in the Navigation Control, I'd love to hear it.
Expected Behavior
Given that the "Zoom In" and "Zoom Out" buttons in the navigation control fire the
zoomIn()
andzoomOut()
methods (and thus thezoom*
events), I would expect that clicking the "Reset North" button would either fire therotate*
events or a newonResetNorth
event when it callsresetNorth()
.Actual Behavior
Clicking the "Reset North" button only fires the
move*
events.The text was updated successfully, but these errors were encountered: