public sealed class LatLng : IMessage<LatLng>, IEquatable<LatLng>, IDeepCloneable<LatLng>, IBufferMessage, IMessage
An object that represents a latitude/longitude pair. This is expressed as a
pair of doubles to represent degrees latitude and degrees longitude. Unless
specified otherwise, this must conform to the
<a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
standard</a>. Values must be within normalized ranges.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLatLng\u003c/code\u003e class represents a latitude/longitude pair using double values for degrees, adhering to the WGS84 standard.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors to create \u003ccode\u003eLatLng\u003c/code\u003e objects, either empty or based on another \u003ccode\u003eLatLng\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLatLng\u003c/code\u003e has properties for \u003ccode\u003eLatitude\u003c/code\u003e and \u003ccode\u003eLongitude\u003c/code\u003e, which store the respective degree values within their normalized ranges of [-90.0, +90.0] and [-180.0, +180.0].\u003c/p\u003e\n"],["\u003cp\u003eThe class contains methods for object comparison, deep cloning, merging with other LatLng objects, and calculating the message size in protocol buffer format, and writing to a coded stream.\u003c/p\u003e\n"]]],[],null,[]]