Rename packages. Add GPS arrow.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mapbox.mapboxgl.lib">
|
||||
package="com.mapbox.mapboxgl.views">
|
||||
|
||||
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.constants;
|
||||
package com.mapbox.mapboxgl.constants;
|
||||
|
||||
public class GeoConstants {
|
||||
// http://en.wikipedia.org/wiki/Earth_radius#Equatorial_radius
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.constants;
|
||||
package com.mapbox.mapboxgl.constants;
|
||||
|
||||
public class MathConstants {
|
||||
public static final double DEG2RAD = (Math.PI / 180.0);
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
/**
|
||||
* Implementation of iOS MKCoordinateRegion
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
/**
|
||||
* Implementation of iOS MKCoordinateSpan
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
/**
|
||||
* A Latitude, Longitude point.
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
public interface IProjectedMeters {
|
||||
double getNorthing();
|
||||
@@ -1,11 +1,11 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
import android.location.Location;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import com.mapbox.mapboxgl.lib.constants.GeoConstants;
|
||||
import com.mapbox.mapboxgl.lib.constants.MathConstants;
|
||||
import com.mapbox.mapboxgl.constants.GeoConstants;
|
||||
import com.mapbox.mapboxgl.constants.MathConstants;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib.geometry;
|
||||
package com.mapbox.mapboxgl.geometry;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mapbox.mapboxgl.lib;
|
||||
package com.mapbox.mapboxgl.views;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.BroadcastReceiver;
|
||||
@@ -29,8 +29,8 @@ import android.widget.ZoomButtonsController;
|
||||
|
||||
import com.almeros.android.multitouch.gesturedetectors.RotateGestureDetector;
|
||||
import com.almeros.android.multitouch.gesturedetectors.TwoFingerGestureDetector;
|
||||
import com.mapbox.mapboxgl.lib.geometry.LatLng;
|
||||
import com.mapbox.mapboxgl.lib.geometry.LatLngZoom;
|
||||
import com.mapbox.mapboxgl.geometry.LatLng;
|
||||
import com.mapbox.mapboxgl.geometry.LatLngZoom;
|
||||
|
||||
import org.apache.commons.validator.routines.UrlValidator;
|
||||
|
||||
@@ -777,7 +777,7 @@ public class MapView extends SurfaceView {
|
||||
}
|
||||
|
||||
// TODO complex decision between rotate or scale or both (see Google
|
||||
// Maps app)
|
||||
// Maps testapp)
|
||||
|
||||
// Cancel any animation
|
||||
mNativeMapView.cancelTransitions();
|
||||
@@ -842,7 +842,7 @@ public class MapView extends SurfaceView {
|
||||
}
|
||||
|
||||
// TODO complex decision between rotate or scale or both (see Google
|
||||
// Maps app). It seems if you start one or the other it takes more
|
||||
// Maps testapp). It seems if you start one or the other it takes more
|
||||
// to start the other too. Haven't figured out what it uses to
|
||||
// decide when to transition to both at the same time.
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package com.mapbox.mapboxgl.lib;
|
||||
package com.mapbox.mapboxgl.views;
|
||||
|
||||
import android.graphics.PointF;
|
||||
import android.view.Surface;
|
||||
|
||||
import com.mapbox.mapboxgl.lib.geometry.LatLng;
|
||||
import com.mapbox.mapboxgl.lib.geometry.LatLngZoom;
|
||||
import com.mapbox.mapboxgl.lib.geometry.ProjectedMeters;
|
||||
import com.mapbox.mapboxgl.geometry.LatLng;
|
||||
import com.mapbox.mapboxgl.geometry.LatLngZoom;
|
||||
import com.mapbox.mapboxgl.geometry.ProjectedMeters;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
Reference in New Issue
Block a user