Unverified Commit 85b59dfc authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Journey: add polyline accessor

parent db263b06
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -217,6 +217,15 @@ sub platform {
	return $self->{new_platform} // $self->{platform};
}

sub polyline {
	my ($self) = @_;

	if ( $self->{polyline} ) {
		return @{ $self->{polyline} };
	}
	return;
}

sub TO_JSON {
	my ($self) = @_;