This commit is contained in:
wangcongtao
2020-12-20 14:46:42 +08:00
parent 91b743ad6b
commit 81caafc863
15 changed files with 188 additions and 183 deletions

View File

@@ -96,6 +96,7 @@ class CustomMapApiBuilder implements IMogoMapApiBuilder {
.setCoordinateType( MapParams.COORDINATETYPE_GCJ02 )
.setPerspectiveMode( MapParams.MAP_PERSPECTIVE_2D )
.setZoom( 16 )
.setPointToCenter( 0.734375f, 0.5f )
.setStyleMode( MapParams.MAP_STYLE_NIGHT ), NavParams.Companion.init() );
MapAutoView mapAutoView = new MapAutoView( context );
IMogoMapView mapView = new AMapViewWrapper( mapAutoView );