2019.8.29 curriculum design case

A day to complete the task

   Today finally improve navigation, now you can navigate the country can, even voice.

 

 

 

 

   Code:

aMapCarInfo.setCarType ( "0"); // set the vehicle type, 0 car, a truck 
aMapCarInfo.setCarNumber ( "Shanghai DFZ239"); // set the vehicle license plate number.
Poi new new End = Poi ( "Beijing Station", new of LatLng (39.904556, 116.427231), "B000A83M61");
AmapNaviParams naviParams = new new AmapNaviParams (null, null, End, AmapNaviType.DRIVER);
naviParams.setCarInfo (aMapCarInfo);

AmapNaviPage.getInstance () showRouteActivity (getApplicationContext (.), naviParams, new MyINaviInfoCallback ());
Copy the code

 

Second, the next day's program

   Preparing presentations, preparing to merge with the previous complete navigation code

Third, Daily Summary

1. Handling a day of navigation can finally use.

2. What tutorials do not like the comment on behalf of the source code to learn their own convenience.

Guess you like

Origin www.cnblogs.com/hj609/p/11431872.html