-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid white space when resizing map on web (#474)
* Fixes null reference in fullmap example * Avoid white space when resizing map on web When resizing the browser screen Flutter fires several resize events. These events are properly propagated to the containing div, but not always by the map. It appears Mapbox misses the last resize event. Therefore, we fire a timer that will check for mismatching width/height between mapbox and it's container and trigger an additonal resizing.
- Loading branch information
Showing
2 changed files
with
20 additions
and
6 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