update user list dist

This commit is contained in:
wangmi 2016-12-26 22:39:09 +08:00
parent 85ee867eb8
commit 46122af132
6 changed files with 11 additions and 21 deletions

View File

@ -1,9 +0,0 @@
<component name="libraryTable">
<library name="utdid4all-1.0.4">
<CLASSES>
<root url="jar://$PROJECT_DIR$/qy/libs/utdid4all-1.0.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -161,7 +161,7 @@
<meta-data
android:name="UMENG_CHANNEL"
android:value="pp" >
android:value="i7lv" >
</meta-data>
<activity android:name="com.umeng.socialize.view.ShareActivity"

View File

@ -1,7 +1,5 @@
package com.baidu.mapapi.overlayutil;
import android.util.Log;
import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.BaiduMap.OnPolylineClickListener;
import com.baidu.mapapi.map.MapStatusUpdateFactory;
@ -82,13 +80,13 @@ public abstract class OverlayManager implements OnMarkerClickListener, OnPolylin
try{
mOverlayList.add(mBaiduMap.addOverlay(option));
}catch(Exception e){
Log.e("com.qiyou", e.getStackTrace().toString());
// Log.e("com.qiyou", e.getStackTrace().toString());
}
}
}catch(ConcurrentModificationException e){
Log.e("com.qiyou", e.getMessage());
// Log.e("com.qiyou", e.getMessage());
}catch(Exception e){
Log.e("com.qiyou", e.getMessage());
// Log.e("com.qiyou", e.getMessage());
}
// addLines();
}

View File

@ -9,13 +9,13 @@ public class QiYouConstant {
//public final static String GG_API_KEY ="AIzaSyAnkLsprzJIbz_9EVOMcXvlPlxYtIfc0yg"; --office AIzaSyBygKp-tvHCRJFt19NJ2oyq0N6aCUCbKjU
public final static String GG_API_KEY ="AIzaSyBAey0WNbuvc2WeEbCOsGEpp2WW0iw77u0";
//public final static String BASE_URL ="https://www.i7lv.net/";// "http://office:8080/qiyouji/"; //http://121.42.55.18:8080/qiyouji/
public final static String BASE_URL ="https://www.i7lv.com/";//new website
public final static String BASE_URL ="https://www.i7lv.net/";// "http://office:8080/qiyouji/"; //http://121.42.55.18:8080/qiyouji/
//public final static String BASE_URL ="https://www.i7lv.com/";//new website
public final static String BASE_MD_URL = BASE_URL;//+"upload/";
public final static String BASE_STATIC_URL = BASE_URL +"staticmap/";
public final static String TENCENT_APP_ID = "1104563148";
// TODO Turn off when deploying.
public static boolean DEVELOPER_MODE = false;
public static boolean DEVELOPER_MODE = true;
public static boolean PLAYBACK_CAN_RECORD = false /*DEVELOPER_MODE*/ ;

View File

@ -239,7 +239,7 @@ public class MainActivity extends Activity_qiyouBase {
com.umeng.socialize.utils.Log.LOG = QiYouConstant.DEVELOPER_MODE;
String key ="550aa4e4fd98c5a25c000284" ; //old "4eaee02c527015373b000003"
if (!QiYouConstant.DEVELOPER_MODE){
UMAnalyticsConfig config = new UMAnalyticsConfig(this,key , "pp");
UMAnalyticsConfig config = new UMAnalyticsConfig(this,key , "i7lv");
MobclickAgent. startWithConfigure(config);
MobclickAgent.openActivityDurationTrack(false);
}

View File

@ -2054,8 +2054,9 @@ public class WebList_fragment extends TrackMap_fragment/* TrackList_fragment *//
* strUrls=ab.getQqAbulmUrl(); }
*/
t.put("urls", strUrls);
String dist = ab.getLat() > 0 && QiYouConstant.PV_LAST_LAT > 0 ? Utils.getDistanceRange(0,ab.getLat(), ab.getLon()) : "--" ;
String d = String.format("%.0f", Utils.getDistanceFromXtoY(ab.getLat(), ab.getLon(), QiYouConstant.PV_LAST_LAT, QiYouConstant.PV_LAST_LON)/1000);
String dist = ab.getLat() > 0 && QiYouConstant.PV_LAST_LAT > 0 ? d /*Utils.getDistanceRange(0,ab.getLat(), ab.getLon())*/ : "--" ;
t.put("distrange",dist ) ;
// t.put("distrange",