location

An object, a string, or an array specifying the current location.

You can specify the location value in one of the following formats.

  • { lat: 40.749825, lng: -73.987963}
  • "40.749825, -73.987963"
  • [40.749825, -73.987963]
  • 'Brooklyn Bridge,New York,NY'

lat

The current latitude location.

Type: Number
Default Value: 0

lng

The current longitude location.

Type: Object
Default Value: 0