diff --git a/README.md b/README.md index 7962a7f..4ceb172 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,7 @@ const size = { height: 380, // Map height in pixels }; -const {center, zoom} = fitBounds({nw, se}, size); +const {center, zoom} = fitBounds(bounds, size); ``` #### tile2LatLng (func)