Fix wrong decription of fitBounds() function. Need to pass bounds object, because {nw, se} are undefined (#188)

This commit is contained in:
Yuri Akimov 2016-07-04 09:54:07 +03:00 committed by Ivan Starkov
parent 5817480893
commit da0617307b

View File

@ -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)