Class OSRMOfflineRoutingService

java.lang.Object
com.massifmaps.routing.RoutingService
com.massifmaps.routing.OSRMOfflineRoutingService

public class OSRMOfflineRoutingService extends RoutingService
An offline routing service that uses Massif-specific routing
database file created from OSRM prepared routing files.
Note: this class is experimental and may change or even be removed in future SDK versions.
  • Constructor Details

    • OSRMOfflineRoutingService

      public OSRMOfflineRoutingService(String path) throws IOException
      Constructs a new OSRMOfflineRoutingService instance given database file.
      Parameters:
      path - The full path to the database file.
      Throws:
      Exception - If the database file could not be opened or read.
      IOException
  • Method Details