|
@ -1367,6 +1367,27 @@ public class MainMapActivity extends Activity implements LocationSource, AMapLoc
|
1367
|
1367
|
}
|
1368
|
1368
|
MobclickAgent.onEvent(getApplicationContext(), "0999");
|
1369
|
1369
|
windowLayout.setVisibility(View.GONE);
|
|
1370
|
|
|
1371
|
|
|
1372
|
rl_control.setVisibility(View.VISIBLE);
|
|
1373
|
if (nMarker != null) {
|
|
1374
|
nMarker.hideInfoWindow();
|
|
1375
|
MarkerOptions markerOptionss = new MarkerOptions();
|
|
1376
|
if (current_chargePoint.getOwn_pay().equals("1")) {
|
|
1377
|
nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker1));
|
|
1378
|
} else {
|
|
1379
|
if (current_chargePoint.getSuit_car().equals("特斯拉")) {
|
|
1380
|
nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker3));
|
|
1381
|
} else {
|
|
1382
|
if (WelcomeActivity.canCost.contains(current_chargePoint.getSupplier())) {
|
|
1383
|
nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker2));
|
|
1384
|
} else {
|
|
1385
|
nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker3));
|
|
1386
|
}
|
|
1387
|
}
|
|
1388
|
}
|
|
1389
|
}
|
|
1390
|
|
1370
|
1391
|
}
|
1371
|
1392
|
});
|
1372
|
1393
|
|
|
@ -2888,6 +2909,7 @@ public class MainMapActivity extends Activity implements LocationSource, AMapLoc
|
2888
|
2909
|
windowLayout.setVisibility(View.GONE);
|
2889
|
2910
|
rl_control.setVisibility(View.VISIBLE);
|
2890
|
2911
|
if (nMarker != null) {
|
|
2912
|
nMarker.hideInfoWindow();
|
2891
|
2913
|
MarkerOptions markerOptionss = new MarkerOptions();
|
2892
|
2914
|
if (current_chargePoint.getOwn_pay().equals("1")) {
|
2893
|
2915
|
nMarker.setIcon(BitmapDescriptorFactory.fromResource(R.drawable.icon_newmarker1));
|