LatLng desLatLng123=new LatLng (120.115839, 30.338987);
LatLng start=new LatLng (Double the valueOf (desLatLng122. Longitude), Double. The valueOf (desLatLng122. Latitude));
LatLng end=new LatLng (Double the valueOf (desLatLng123. Longitude), Double. The valueOf (desLatLng123. Latitude));
Double distanse=DistanceUtil. GetDistance (start, end);
So by baidu map SDK program to calculate the distance will collapse directly, do you know
CodePudding user response:
I don't know?
CodePudding user response:
What is the collapse of the error message? Or do you try catch it and see what is wrong