[3.4.0-map-sdk] code tyle
This commit is contained in:
@@ -15,8 +15,6 @@ import java.util.List;
|
||||
*/
|
||||
public class MogoMapUtils {
|
||||
|
||||
private static final String TAG = "MogoMapUtils";
|
||||
|
||||
public static LatLngBounds getLatLngBounds(MogoLatLng carPosition, List< MogoLatLng > lonLats, boolean lockCarPosition ) throws Exception {
|
||||
|
||||
if ( lonLats == null || lonLats.isEmpty() ) {
|
||||
@@ -42,14 +40,14 @@ public class MogoMapUtils {
|
||||
return null;
|
||||
}
|
||||
|
||||
double south = 0.0;
|
||||
double west = 0.0;
|
||||
double south;
|
||||
double west;
|
||||
|
||||
double east = 0.0;
|
||||
double north = 0.0;
|
||||
double east;
|
||||
double north;
|
||||
|
||||
double dLat = 0.0;
|
||||
double dLon = 0.0;
|
||||
double dLat;
|
||||
double dLon;
|
||||
|
||||
if ( latLngBounds.getNortheast() == null ) {
|
||||
dLat = Math.abs( carPosition.lat - latLngBounds.getSouthwest().getLatitude() );
|
||||
|
||||
Reference in New Issue
Block a user