drawRoadManually method
Implementation
Future<String> drawRoadManually(
String roadKey,
List<GeoPoint> path,
RoadOption roadOption,
) async {
final routeJs = path.toListGeoPointJs();
interop.drawRoad(
mapIdMixin.toJS,
roadKey.toJS,
routeJs.toJS,
<GeoPointJs>[].toJS,
roadOption.toRoadOptionJS,
);
roadsWebCache[roadKey] = RoadInfo(route: path).copyWith(
roadKey: roadKey,
);
return roadKey;
}