MapView markers get directions to Address

354 views Asked by At

I have a MapView that has a marker in my Android app. I set the location using

MarkerOptions marker = new MarkerOptions().position(
            new LatLng(latitude, longitude)).title(mName);

and it shows up as this in the MapView, which is expected. enter image description here

However, when I click the buttons on the bottom right, which are supposed to give me directions to the marker's location. I get the following:

enter image description here

Does anyone know how to make it so that when I get the directions to the marker, it shows up as the actual name of the address as opposed to a set of lat and long coordinates? Any help would be appreciated, thanks!

0

There are 0 answers