class Maps method .newDirectionFinder()

Maps is the Apps Script service.

.newDirectionFinder() is the method name you will see after a dot in your code.

What it does

Creates a directions helper to plan routes between places.

Why it's used

  • Estimate drive time between job sites or stores.
  • Build simple route summaries for a daily dispatch sheet.

Common errors

  • Forgetting parentheses on newDirectionFinder. Write Maps.newDirectionFinder(), not Maps.newDirectionFinder or newDirectionFinder by itself.
  • Skipping dots between chained calls. Each step needs a dot, like Maps.newDirectionFinder().
  • Adding spaces where they do not belong. Write Maps.newDirectionFinder(), not Maps .newDirectionFinder(), Maps.newDirectionFinder (), or Maps . newDirectionFinder().
  • Wrong capitalization. Use Maps and newDirectionFinder, not maps or newdirectionfinder.

Explore

Related methods

Better Sheets tutorials

No tagged tutorials yet. Fetch Apps Script from the harvest table and this page fills automatically.

Related blog posts

Written guides about Maps.newDirectionFinder().

Browse the blog