How can I display distance between two markers in miles and km?


#1

Hello guys,

How can I display distance between two markers in miles and km on Ionic native google maps?
I want to display the numbers on right top of the map using h3 tags.

and Is there a way to display estimate travel time? I need estimate time for walking and driving.

Any sample code would be appreciated.

Thanks,