Commit 4eba6fce936af7fbb238eb40db61d87c4752c2ee
1 parent
f77fa77d
1 修改serviceid
Showing
3 changed files
with
7 additions
and
3 deletions
config.gradle
moudle_pedometer/src/main/java/com/cnlive/moudle/collectionTrace/frame/view/CollRunRaceDetailFragmentView.java
| ... | ... | @@ -679,6 +679,10 @@ public class CollRunRaceDetailFragmentView implements MvpView, SensorEventListen |
| 679 | 679 | location.getLongitude()); |
| 680 | 680 | baiduMap.setMyLocationData(followMyLocation); |
| 681 | 681 | |
| 682 | + if ((null == queryResultPoints||queryResultPoints.size()<1) && null != firstLatLng) { | |
| 683 | + builder.target(firstLatLng).zoom(DEFULT_ZOOM); | |
| 684 | + baiduMap.animateMapStatus(MapStatusUpdateFactory.newMapStatus(builder.build())); | |
| 685 | + } | |
| 682 | 686 | //根据几个关键点进行步行路径规划 |
| 683 | 687 | // if (importLatLngs != null) { |
| 684 | 688 | // if (importLatLngs.size() >= 1) { | ... | ... |
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/model/Constant.java
| 1 | 1 | package com.cnlive.moudle.pedometer.model; |
| 2 | 2 | |
| 3 | 3 | public class Constant { |
| 4 | - // public static final long SERVICE_ID = 213511;//公司账号 | |
| 5 | - public static final long SERVICE_ID = 213553; | |
| 4 | + public static final long SERVICE_ID = 213511;//公司账号 | |
| 5 | +// public static final long SERVICE_ID = 213553; | |
| 6 | 6 | |
| 7 | 7 | public static final int TAG = 1; |
| 8 | 8 | public static final int GATHER_INTERVAL = 2;//位置采集周期 | ... | ... |