This commit is contained in:
lixiaopeng
2020-02-25 19:45:23 +08:00
parent a912c00350
commit 526241a1ca
3 changed files with 5 additions and 3 deletions

View File

@@ -906,7 +906,7 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
@Override
public void onPoiSearched(MogoPoiResult p0, int p1) {
if (p1 == 1000) {
if (p0.getPois() != null && p0.getPois().size() != 0) {
if (p0.getPois() != null && p0.getPois().size() > 0) {
MogoPoiItem poi = p0.getPois().get(0);
MogoLatLng latLon = poi.getPoint();
Double longit; //经度