An Android application to draw polyline on google maps with floating info window using route_key encoded string.
Youtube Link https://youtu.be/ld8XkVr78x8
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.gsanthosh91:Google-Map-Floating-Info-Window-Uber:version'
@Override
public void onMapReady(GoogleMap googleMap) {
DecodeRoute decodeRoute = new DecodeRoute(this, googleMap, "{punAgqyhNIgAWAeE[iBKLh@VdA\\z@t@rALr@SrDdC@BHj@lDPvB?t@Ax@DRBf@Df@f@lFdHcBp@QnDy@jBi@bCiA|E_CrDaBhAu@BIWQ_BmCQF_C~@");
decodeRoute.setSourceAddress(new DecodeAddress("Prestige palladium bayan", "4 mins"));
decodeRoute.setDestinationAddress(new DecodeAddress("Anna nagar west", null));
decodeRoute.start();
}