LngLatBoundsClass | MapGL | 2GIS Documentation
MapGL JS API

LngLatBoundsClass

A LngLatBoundsClass class represents a geographical bounding box (LngLatBounds), defined by its southwest and northeast points in longitude and latitude with some additional methods

new constructor(params)

Example:

const lngLatBounds = new mapgl.LngLatBoundsClass({
  southWest: [0, 0],
  northEast: [1, 1],
});
Parameters
params

southWest and northEast points

Returns
Methods