-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the 3d map to better cooperate with the main map
- Fix bug where the 3d map wasn't rendering on changes to selection - Add move/moveend handlers so changing the 3d map will recenter the main map - Calc the zoom diff and bearing diff and apply them as the user moves the main map (this prevents the 3dmap from snapping away from what the user is doing) - Add some lodash throttle, to avoid updating maplibre on every move/draw
- Loading branch information
Showing
2 changed files
with
70 additions
and
23 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