v1.0.2-opt branch: for opt

This commit is contained in:
wangcongtao
2020-03-05 11:24:41 +08:00
parent 8d1297540c
commit 640b519fd5
5 changed files with 39 additions and 0 deletions

View File

@@ -201,4 +201,12 @@ public class MogoMapUIController implements IMogoMapUIController {
mDelegate.forceRender();
}
}
@Override
public float calculateLineDistance( MogoLatLng p1, MogoLatLng p2 ) throws Exception {
if ( mDelegate != null ) {
return mDelegate.calculateLineDistance( p1, p2 );
}
return 0;
}
}