Skip to content

Support the new Routes API #35

Description

@ollietreend

Google Maps has a new(ish) service called the Routes API:

Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API. It helps you find the ideal route from A to Z, calculates ETAs and distances for matrices of origin and destination locations, and also offers new features.

Google actively recommends that developers migrate to the new API:

Why migrate to Routes API?

The Routes API provides improved performance for calculating directions, distance, and travel time, making it worthwhile to replace apps that currently use Directions API and Distance Matrix API. Most of the functionality of Routes API is backward compatible with both Directions API and Distance Matrix API.

It would be great for this gem to add support for the new Routes API. It doesn't necessarily mean support needs to be dropped for the older APIs – as far as I can tell, Google has no plans to shut them down. But I think it would be great to have the flexibility to specify which API the gem uses. It sounds like there's good feature parity between the old and new APIs.

While the new Routes API is supposedly more performant, it's also worth bearing in mind that it's billed differently and needs to be enabled independently of the Directions and Distance Matrix APIs. So it seems reasonable for people to have a preference over which API is used.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions