Listings with two locations (start and destination)

I saw in the code that there are two variables used for location.

How can someone create a listing that has a start location and destination location and appear on the map as such