Home > Net >  What does mean by bounds in react google maps?
What does mean by bounds in react google maps?

Time:01-01

Im working on react google maps but I don't know what does it mean by bounds. Does bounds mention a certain area marked by some points or does it means co ordinates of a location?

CodePudding user response:

If you are referring to react-google-maps library it uses Google Maps JavaScript API, where bounds refers to the google.maps.LatLngBounds class which represents a rectangle in geographical coordinates, including one that crosses the 180 degrees longitudinal meridian. You can refer to the link to see the constructor and methods of this LatLngBounds Class.

  • Related