Rename packages. Add GPS arrow.

This commit is contained in:
Leith Bade
2015-02-16 16:46:15 -08:00
parent 5c79baedf9
commit 921309730b
31 changed files with 34 additions and 34 deletions

View File

@@ -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" />

View File

@@ -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

View File

@@ -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);

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
import android.os.Parcel;
import android.os.Parcelable;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
/**
* Implementation of iOS MKCoordinateRegion

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
/**
* Implementation of iOS MKCoordinateSpan

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
/**
* A Latitude, Longitude point.

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
public interface IProjectedMeters {
double getNorthing();

View File

@@ -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;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
import android.os.Parcel;
import android.os.Parcelable;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.lib.geometry;
package com.mapbox.mapboxgl.geometry;
import android.os.Parcel;
import android.os.Parcelable;

View File

@@ -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.

View File

@@ -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;