Class LatLng
Assembly: Google.Api.CommonProtos.dll
Syntax
public sealed class LatLng : IMessage<LatLng>, IEquatable<LatLng>, IDeepCloneable<LatLng>, IBufferMessage, IMessage
Constructors
LatLng()
Declaration
LatLng(LatLng)
Declaration
public LatLng(LatLng other)
Parameters
Type |
Name |
Description |
LatLng |
other |
|
Fields
LatitudeFieldNumber
Declaration
public const int LatitudeFieldNumber = 1
Field Value
LongitudeFieldNumber
Declaration
public const int LongitudeFieldNumber = 2
Field Value
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Latitude
Declaration
public double Latitude { get; set; }
Property Value
Longitude
Declaration
public double Longitude { get; set; }
Property Value
Parser
Declaration
public static MessageParser<LatLng> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Clone()
Declaration
Returns
Equals(LatLng)
Declaration
public bool Equals(LatLng other)
Parameters
Type |
Name |
Description |
LatLng |
other |
|
Returns
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
MergeFrom(LatLng)
Declaration
public void MergeFrom(LatLng other)
Parameters
Type |
Name |
Description |
LatLng |
other |
|
ToString()
Declaration
public override string ToString()
Returns
Overrides
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements