Show / Hide Table of Contents

Class Polyline

A route polyline. Only supports an encoded polyline, which can be passed as a string and includes compression with minimal lossiness. This is the Routes API default output.

Inheritance
object
Polyline
Implements
IMessage<Polyline>
IEquatable<Polyline>
IDeepCloneable<Polyline>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class Polyline : IMessage<Polyline>, IEquatable<Polyline>, IDeepCloneable<Polyline>, IBufferMessage, IMessage

Constructors

Polyline()

Declaration
public Polyline()

Polyline(Polyline)

Declaration
public Polyline(Polyline other)
Parameters
Type Name Description
Polyline other

Properties

EncodedPolyline

An encoded polyline, as returned by the Routes API by default. See the encoder and decoder tools.

Declaration
public string EncodedPolyline { get; set; }
Property Value
Type Description
string

HasEncodedPolyline

Gets whether the "encoded_polyline" field is set

Declaration
public bool HasEncodedPolyline { get; }
Property Value
Type Description
bool

PolylineTypeCase

Declaration
public Polyline.PolylineTypeOneofCase PolylineTypeCase { get; }
Property Value
Type Description
Polyline.PolylineTypeOneofCase
In this article
Back to top Generated by DocFX