|
@ -2251,6 +2251,10 @@ public class MainMapActivity extends Activity implements LocationSource, AMapLoc
|
2251
|
2251
|
switch (v.getId()) {
|
2252
|
2252
|
case R.id.iv_tuijian:
|
2253
|
2253
|
if (hasLocationPermission()) {
|
|
2254
|
if (center == null) {
|
|
2255
|
Toast.makeText(getApplication(), "没有定位到您的当前位置,请稍后重试", Toast.LENGTH_SHORT).show();
|
|
2256
|
return;
|
|
2257
|
}
|
2254
|
2258
|
MobclickAgent.onEvent(getApplicationContext(), "0111");
|
2255
|
2259
|
Intent i = new Intent(getApplicationContext(), RecommendZhanActivity.class);
|
2256
|
2260
|
i.putExtra("center_jing", String.valueOf(center.longitude));
|