defaultBuild static method

Uri defaultBuild(
  1. OsrmRequest options
)

defaultBuilder server for development

Implementation

static Uri defaultBuild(OsrmRequest options) {
  /// randomly choice ProjectOsrmServerBuilder().build(options) or OpenstreetmapServerBuilder().build(options)
  return Random().nextBool()
      ? ProjectOsrmServerBuilder().build(options)
      : OpenstreetmapServerBuilder().build(options);
}