diff --git a/LocationLib/bin/locationlib.jar b/LocationLib/bin/locationlib.jar index c0fe828..cf4031b 100644 Binary files a/LocationLib/bin/locationlib.jar and b/LocationLib/bin/locationlib.jar differ diff --git a/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java b/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java index e20ac41..1d46356 100644 --- a/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java +++ b/LocationLib/src/com/TwentyCodes/android/location/UserOverlayBase.java @@ -43,7 +43,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio private boolean isAborted; - public synchronized void abort(){ + public void abort(){ isAborted = true; } @@ -107,7 +107,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio private final String TAG = "UserOverlayBase"; private boolean isEnabled; - private volatile int mUserArrow = R.drawable.user_arrow_animation_1; + private int mUserArrow = R.drawable.user_arrow_animation_1; private AnimationThread mAnimationThread; private float mBearing = 0; private int mAccuracy; @@ -507,14 +507,7 @@ public abstract class UserOverlayBase extends Overlay implements GeoPointLocatio if(mCompass != null) mCompass.setDestination(destination); } - -// /** -// * Sets whether or not the users location is enabled -// * @param isEnabled -// * @author ricky barrette -// */ -// public abstract void setMyLocationEnabled(boolean isEnabled); - + /** * UnResgisters the listener. after this call you will no longer get location updates * @author Ricky Barrette