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

boxZoomBounds no longer available in boxzoomend event #7739

Closed
itsmequinn opened this issue Jan 3, 2019 · 1 comment
Closed

boxZoomBounds no longer available in boxzoomend event #7739

itsmequinn opened this issue Jan 3, 2019 · 1 comment

Comments

@itsmequinn
Copy link

itsmequinn commented Jan 3, 2019

Release v0.49.0 removed the boxZoomBounds from booxzoomend events but the documentation for boxzoomend still says that a boxZoomBounds should be available as part of that event's data.

mapbox-gl-js version: v0.49.0 and later

browser: Chrome Version 71.0.3578.98 (Official Build) (64-bit)

Steps to Trigger Behavior

  1. Load a mapbox gl js map
  2. Shift and click+drag to trigger a boxzoomend event
  3. Observe the event's data and see that it only contains originalEvent, target and type properties

Expected Behavior

bozZoomBounds should contain the bounds of the map after zooming

Actual Behavior

boxZoomBounds does not exist

@ryanhamley
Copy link
Contributor

Closed by #7741

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

No branches or pull requests

3 participants