Options
All
  • Public
  • Public/Protected
  • All
Menu

Object literals are accepted in place of LatLngAltitude objects, as a convenience, in many places. These are converted to LatLngAltitude objects when the Maps API encounters them.

Hierarchy

Implemented by

Index

Properties

Properties

altitude: number

Distance (in meters) above the ground surface. Negative value means underneath the ground surface.

defaultvalue

0

lat: number

Latitude in degrees. Values will be clamped to the range [-90, 90]. This means that if the value specified is less than -90, it will be set to -90. And if the value is greater than 90, it will be set to 90.

lng: number

Longitude in degrees. Values outside the range [-180, 180] will be wrapped so that they fall within the range. For example, a value of -190 will be converted to 170. A value of 190 will be converted to -170. This reflects the fact that longitudes wrap around the globe.

Generated using TypeDoc