{"templateId":"markdown","versions":[{"version":"v1.0","label":"v1.0","link":"/guides/route/v1.0","default":false,"active":false,"folderId":"cbfd067c"},{"version":"latest","label":"Latest","link":"/guides/route","default":true,"active":true,"folderId":"cbfd067c"}],"sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Compute Routes Overview","description":"Digime Map is the groundbreaking API that allows you to search places, navigate between points, highlight street attributes and raster tile.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"compute-routes-overview","__idx":0},"children":["Compute Routes Overview"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"introduction","__idx":1},"children":["Introduction"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Compute Routes is a method in the Routes API service that accepts an HTTPS request and returns the ideal route between two locations. Provide directions with real-time traffic for car, motorcycle, bicycle, or foot between multiple locations."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"why-use-compute-routes","__idx":2},"children":["Why use Compute Routes"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["With Compute Routes, with a wide range of route details you can route your vehicles or packages according to your preferences while optimizing for cost and quality."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"what-you-can-do-with-compute-routes","__idx":3},"children":["What you can do with Compute Routes?"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["With the Routes API ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Compute Routes"]}," method, you can do the following things:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get directions for different ways to travel"]},", and for a single or multiple destinations."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"how-compute-routes-works","__idx":4},"children":["How Compute Routes works"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Routes API ComputeRoutes method accepts an HTTP GET request with query parameters that contains the request details."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"curl -X GET \\\n-H 'Content-Type: application/json' \\\n'https://dplace-api.themap.world/maps/api/directions/json?origin=21.02593%2C105.846535&destination=21.021002%2C105.85399&waypoints=21.023544%2C105.848985&alternatives=true&mode=driving&key=YOUR_API_KEY'\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The service then calculates the requested route, and returns the fields you've requested."]}]},"headings":[{"value":"Compute Routes Overview","id":"compute-routes-overview","depth":2},{"value":"Introduction","id":"introduction","depth":3},{"value":"Why use Compute Routes","id":"why-use-compute-routes","depth":3},{"value":"What you can do with Compute Routes?","id":"what-you-can-do-with-compute-routes","depth":3},{"value":"How Compute Routes works","id":"how-compute-routes-works","depth":3}],"frontmatter":{"seo":{"title":"Compute Routes Overview"}},"lastModified":"2026-09-14T08:05:52.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/route","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}