Set map bounds #29
Closed
marcinkieruzel
started this conversation in
General
Replies: 1 comment 1 reply
-
It's simply an internal state. The example is to suggest how to use bounds with the useSupercluster hook. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
the documentations indicates function "setMapBounds({ ...mapBounds, bounds: [sw.lng(), sw.lat(), ne.lng(), ne.lat()], zoom })"
Where does it come from? Is it any custom function or it comes from the library itself?
Beta Was this translation helpful? Give feedback.
All reactions