Table of Contents

Class NearestRoadsResponse

Namespace
GoogleMapsApi.Entities.Roads.Response
Assembly
GoogleMapsApi.dll

Response from the Roads API Nearest Roads endpoint.

public sealed class NearestRoadsResponse : IResponseFor<NearestRoadsRequest>
Inheritance
NearestRoadsResponse
Implements
Inherited Members

Properties

SnappedPoints

The nearest road segment for each input point. Each OriginalIndex maps back to the input point; a single input point may yield multiple snapped points.

[JsonPropertyName("snappedPoints")]
public IReadOnlyList<SnappedPoint>? SnappedPoints { get; set; }

Property Value

IReadOnlyList<SnappedPoint>