public SnappedPointResponse ToSnappedPointResponse() { var snappedPointResponse = new SnappedPointResponse(); snappedPointResponse.Location = new LocationWithElevation(Location); snappedPointResponse.originalIndex = originalIndex; snappedPointResponse.placeId = placeId; return(snappedPointResponse); }
public SnappedPointResponse ToSnappedPointResponse() { var snappedPointResponse = new SnappedPointResponse(); snappedPointResponse.Location = new LocationWithElevation { latitude = Location.latitude, longitude = Location.longitude, elevation = Elevation }; return(snappedPointResponse); }