Created
December 2, 2019 19:45
-
-
Save duanebester/16716434c79a4449260c93e8f3f7e15b to your computer and use it in GitHub Desktop.
App 3 Map listeners
This file contains hidden or 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
const moveEnd = map => { | |
const bbox = mapBoundsToBbox(map.getBounds()); | |
setBBox(bbox); | |
}; | |
const onLoad = () => { | |
setMapState({ zoom: [10], loaded: true }); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment