Answers for "get direction routes in mapbox flutter"

1

get direction routes in mapbox flutter

// install https://github.com/JaffaKetchup/flutter_osrm

import 'package:flutter_osrm/flutter_osrm.dart';

// Get a 'nearby' point
OSRM(OSRMProfile.car).nearby(LatLng());

// Get a route between two points
OSRM(OSRMProfile.car).route([LatLng(), LatLng()]);
Posted by: Guest on September-20-2021

Code answers related to "get direction routes in mapbox flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language