-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure passing is aligned to bearing when calling map.fitBounds
* Allow a nonzero bearing in cameraForBounds() * Test bearing can be passed to cameraForBounds() * Ensure offset is a point * Rotate offset by bearing * Fix linting errors * Do not rotate the offset by the bearing Co-authored-by: Allison Strandberg <allison@mapdwell.com>
- Loading branch information
1 parent
acd86d4
commit 53b8a40
Showing
2 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters