open_route_service 1.1.0 icon indicating copy to clipboard operation
open_route_service: ^1.1.0 copied to clipboard

An encapsulation made around openrouteservice APIs, for Dart and Flutter projects, to easily generate Routes and their data.

Releases #

[1.1.0] - 14th November, 2021 #

  • BREAKING: Renamed OpenRouteService methods with even stricter naming convention: {API endpoint name} + {functionality name} + Post / Get (Based on type of Request)
  • BREAKING: Coordinate Model renamed to ORSCoordinate to avoid ambiguity with other location based packages.
  • ORSCoordinate.fromJSON() fixes for errors with altitude: potential null error and wrong key fixed.

[1.0.1] - 31st October, 2021 #

  • Restriction applied to request parameter of ORSPois.poisDataPostGet with ArgumentError if restriction not followed, as per API convention. request can now only be 'pois', 'stats' or 'list' as per openrouteservice API.
  • Linted Code. :)

[1.0.0] - 30th October, 2021 #

  • First Stable Release (unless there is some breaking bug that slipped by).

  • Addition of GeoCoding API.

  • Metadata models.

  • BREAKING: GeoJsonFeatureProperties Data Model removed and replaced with unparsed Map<String, dynamic> as it doesn't have any static structure across various endpoints.

  • BREAKING: Every method in the package has been renamed for consistency and to easily find needed methods. New method naming convention:

    {API endpoint name} + {functionality name} + (if functionality uses a POST endpoint) Post + Get

    Eg. getRouteCoordinates -> directionsRouteCoordsGet, getElevationDataPost -> elevationDataPostGet and so on.

[0.7.0] - 27th September, 2021 #

  • BREAKING: Matrix* -> TimeDistanceMatrix*
  • Adjust cgiar attribution link from http to https
  • Coordinate model toList and fromList methods added for convenience (with null safety).
  • Documentation updates.
  • Encapsulated Optimization API.

[0.6.0] - 26th September, 2021 #

  • BREAKING: Naming conventions changed: OpenRouteService* -> ORS*.
  • Encapsulated Matrix API.
  • Encapsulated POIs API.

[0.5.2] - 26th September, 2021 #

  • Reworked the entire Directions API system to enable usage of both the normal POST endpoint as getMultiRouteDirectionsData and the geojson POST endpoint getMultiRouteDirectionsGeoJson.
  • Common GeoJsonFeatureCollection Data Model created to be used with both the Directions API and the Isochrones API, whenever geojson is involved.

[0.5.1] - 26th September, 2021 #

  • Dart SDK version change to pass static analysis on
  • Ran dart format on all Dart files to be in compliance with Dart's style guide.

[0.5.0] - 26th September, 2021 #

pub points

An encapsulation made around openrouteservice APIs, for Dart and Flutter projects, to easily generate Routes and their data.

Repository (GitHub)
View/report issues


API reference






Packages that depend on open_route_service