Class PlusCode
Plus code (http://plus.codes) is a location reference with two formats: global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle, and compound code, replacing the prefix with a reference location.
Namespace: Google.Maps.AddressValidation.V1
Assembly: Google.Maps.AddressValidation.V1.dll
Syntax
public sealed class PlusCode : IMessage<PlusCode>, IEquatable<PlusCode>, IDeepCloneable<PlusCode>, IBufferMessage, IMessage
Constructors
PlusCode()
Declaration
public PlusCode()
PlusCode(PlusCode)
Declaration
public PlusCode(PlusCode other)
Parameters
Type | Name | Description |
---|---|---|
PlusCode | other |
Properties
CompoundCode
Place's compound code, such as "33GV+HQ, Ramberg, Norway", containing the suffix of the global code and replacing the prefix with a formatted name of a reference entity.
Declaration
public string CompoundCode { get; set; }
Property Value
Type | Description |
---|---|
string |
GlobalCode
Place's global (full) code, such as "9FWM33GV+HQ", representing an 1/8000 by 1/8000 degree area (~14 by 14 meters).
Declaration
public string GlobalCode { get; set; }
Property Value
Type | Description |
---|---|
string |