changeMapRouteNaviWithInfo method
Implementation
Future changeMapRouteNaviWithInfo(AMapNavOptions navOptions) {
final _navInfoJson = jsonEncode(navOptions?.toJson());
final _startLocation = jsonEncode(navOptions.startLocation.toJson());
final _endLocation = jsonEncode(navOptions.endLocation.toJson());
final _navType = navOptions.navType;
final _bottomContentH = navOptions.bottomContentH;
L.p('方法changeMapRouteNaviWithInfo dart端参数: navInfoJson -> $_navInfoJson');
return _navChannel.invokeMethod(
'nav#changeMapRouteNaviWithInfo',
{
'startLocation': _startLocation,
'endLocation': _endLocation,
'navType': _navType,
'bottomContentH': _bottomContentH,
},
);
}