API

google.maps.LatLng

You can either use native LatLng or one of the following formats:

  • [lat, lng] : array of 2 floats
  • {lat:float, lng:float} : object of 2 floats

google.maps.LatLngBounds

You can either use native LatLngBounds or one of the following formats:

  • [n, e, s, w] : array of 4 floats
  • {n:float, e:float, s:float, w:float} : object of 4 floats
  • [ne, sw] : array of 2 LatLng
  • {ne:LatLng, sw:LatLng} : object of 2 LatLng