1 // Copyright 2019 Google LLC
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
7 // https://www.apache.org/licenses/LICENSE-2.0
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 // Note: this file is purely for documentation. Any contents are not expected
16 // to be loaded as the JS file.
19 * An object representing a latitude/longitude pair. This is expressed as a pair
20 * of doubles representing degrees latitude and degrees longitude. Unless
21 * specified otherwise, this must conform to the
22 * <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
23 * standard</a>. Values must be within normalized ranges.
25 * @property {number} latitude
26 * The latitude in degrees. It must be in the range [-90.0, +90.0].
28 * @property {number} longitude
29 * The longitude in degrees. It must be in the range [-180.0, +180.0].
32 * @memberof google.type
33 * @see [google.type.LatLng definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/type/latlng.proto}
36 // This is for documentation. Actual contents will be loaded by gRPC.