Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9112285
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:41:59+00:00 2026-06-17T03:41:59+00:00

I am working on a quote calculator that will generate a quote based on

  • 0

I am working on a quote calculator that will generate a quote based on mileage between various locations (amongst other conditionals). Up until two days ago, I had planned to use Google’s Distance Matrix service until I discovered:

Display of a Google Map

Use of the Distance Matrix service must relate to the display of information on a Google Map; for example, to determine origin-destination pairs that fall within a specific driving time from one another, before requesting and displaying those destinations on a map. Use of the service in an application that doesn’t display a Google map is prohibited.

I had hoped to use only the services that I require:

– Distance by Road Measurement between up to three different locations

– Address Autocomplete Service usable on an input box

– Accurate, reliable service that can provide multiple different routes to create an average distance

I know there are other methods available for this, but I doubt many can be as accurate and reliable as Google, I’ve found it challenging to find anything comparable to Google Maps for the purposes I require.

So, unless you guys can point me to something that I can use, my only option is to use a Google Map where I don’t need it, adding additional loading time and altering the UX design I had planned.

Are there any free services available for what I require (preferably with a JS API)?

On a slightly different note

If I do use a Google map, would it have to be displayed immediately, or could I hide it and add an option to ‘Show On Map’, and have it .slideToggle revealed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:42:01+00:00Added an answer on June 17, 2026 at 3:42 am

    Unfortunately for the Distance Matrix API, Google strictly says you NEED to display the map in your application:

    Use of the Distance Matrix API must relate to the display of information on a Google Map; for example, to determine origin-destination pairs that fall within a specific driving time from one another, before requesting and displaying those destinations on a map. Use of the service in an application that doesn’t display a Google map is prohibited.
    http://developers.google.com/maps/documentation/distancematrix/#Limits

    However, what I think is more useful for your need is Google Directions API. The directions API allows you to cover your requirements.

    The total distance is returned in the JSON object from the request.

    You can select upto as many different locations to find distances between using the Waypoints in your search request. The distances between these locations are then returned in each “leg“.

    You can obtain the average distance from multiple different routes to your destination by specifying the alternatives parameter in your search request to true. See: http://developers.google.com/maps/documentation/directions/#RequestParameters

    Best of all, there is no requirement from Google to display the Google Map in your application when using this service.

    I should also mention the drawbacks to this service, if you choose to use it.

    1. The request time it takes to process your request will be slightly longer than if you were to use the Distance Matrix API.
    2. You’ll have a lot of unneeded data in the return object, for instance the individual “steps” of the route in the returned json object is not necessary based on your application requirements.

    Given the drawbacks, I’d still highly recommend looking into the Directions API for your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a little programme that will serve as a chemistry calculator
I am working on a program that extracts real time quote for 900+ stocks
I'm working with arrays and methods. I'm working on writing a code that will
I'm working on the comments section for a site, where users can quote something
I am working on quite a large DB based project and I like the
I'm working on an application that requires a text field to fade in with
I am trying to write a class that will calculate checksums using multiple processes,
I started working on a concept that requires me to find a way to
I'm working on tracking objects based on color and I was using EmguCV library
I'm working on an application which shows a random movie quote once in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.