Class: LatLngBounds

LatLngBounds

WPGMZA.LatLngBounds

new LatLngBounds()

This class represents latitude and longitude bounds as a rectangular area. NB: This class is not fully implemented

Methods


extend(latLng)

Extends this bounds object to encompass the given latitude and longitude coordinates
Parameters:
Name Type Description
latLng object | WPGMZA.LatLng either a LatLng literal or an instance of WPGMZA.LatLng

isInInitialState()

Returns true if this object is in it's initial state (eg no points specified to gather bounds from)
Returns:
True if the object is in it's initial state
Type
bool