I want to get two lat/long points dynamically when i plot two markers(source & destination) on Google maps. Where i can use those lat/long points for my further implementation.

Please help me how do i get it.