Skip to content

Distance Matrix Advanced used instead of standard Distance Matrix #54

@kieranzu

Description

@kieranzu

I have encountered an issue where trying to do a standard API call results in google thinking the call is for the advanced distance matrix and thus charging twice as much. Having spoken to google maps support and reviewed your package documentation I am unclear as to why this is. I wondered if you could shed some light on this. If there is no time or traffic condition stated does it use a default value. If so is this causing the issue? Below is an example of the code that will cause the issue to arise.

PostCodes <- c("HG14TB", "HG29DH", "HG33BS", "HG42RN")
Results<- gmapsdistance(origin = PostCodes,
              destination = "LS97TF",
              mode = "driving",
              key = "YOURAPIKEY")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions